#define COLORSELECTOR_PADDING_COLOR_INC 68 68 68 255
#define COLORSELECTOR_BAR_COLOR_INC 0 0 0 255
-#define COLORPALETTE_PADDING_UP_INC 24
-#define COLORPALETTE_PADDING_DOWN_INC 24
-#define COLORPALETTE_HEIGHT_INC 246
-#define COLORPALETTE_WIDTH_INC 704
-#define COLORPALETTE_WIDTH_LANDSCAPE_INC 1264
-#define COLORPALETTE_HEIGHT_LANDSCAPE_INC 134
-#define COLORPALETTE_PADDING_UP_LANDSCAPE_INC 24
-#define COLORPALETTE_PADDING_DOWN_LANDSCAPE_INC 24
-#define COLORPALETTE_COLORBG_MIN_WIDTH_INC 86
-#define COLORPALETTE_COLORBG_MIN_HEIGHT_INC 86
-#define COLORPALETTE_COLORBG_FOCUS_MIN_WIDTH_INC 84
-#define COLORPALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC 84
-#define COLORPALETTE_BASE_COLOR_INC 0 0 0 255
-#define COLORPALETTE_BASE_WIDTH_INC 630
-#define COLORPALETTE_BASE_WIDTH_LANDSCAPE_INC 1152
+#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 "26"
+#define COLORSELECTOR_LANDSCAPE_HOR_PAD_INC "36"
+#define COLORSELECTOR_LANDSCAPE_VER_PAD_INC "0"
+#define COLORSELECTOR_PALETTE_BORDER_INC 14 14 14 14
#define CALENDAR_DAY_FONT_SIZE_INC 24
#define CALENDAR_DATE_FONT_SIZE_INC 32
#define COLORSELECTOR_PADDING_COLOR_INC 68 68 68 255
#define COLORSELECTOR_BAR_COLOR_INC 0 0 0 255
-#define COLORPALETTE_PADDING_UP_INC 15
-#define COLORPALETTE_PADDING_DOWN_INC 15
-#define COLORPALETTE_HEIGHT_INC 154
-#define COLORPALETTE_HEIGHT_LANDSCAPE_INC 86
-#define COLORPALETTE_PADDING_UP_LANDSCAPE_INC 17
-#define COLORPALETTE_PADDING_DOWN_LANDSCAPE_INC 17
-#define COLORPALETTE_COLORBG_MIN_WIDTH_INC 54
-#define COLORPALETTE_COLORBG_MIN_HEIGHT_INC 54
-#define COLORPALETTE_COLORBG_FOCUS_MIN_WIDTH_INC 52
-#define COLORPALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC 52
-#define COLORPALETTE_BASE_COLOR_INC 0 0 0 255
-#define COLORPALETTE_BASE_WIDTH_INC 422
-#define COLORPALETTE_BASE_WIDTH_LANDSCAPE_INC 760
+#define COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC 54
+#define COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC 54
+#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_WIDTH_INC 52
+#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC 52
+#define COLORSELECTOR_PORTRAIT_HOR_PAD_INC "33"
+#define COLORSELECTOR_PORTRAIT_VER_PAD_INC "17"
+#define COLORSELECTOR_LANDSCAPE_HOR_PAD_INC "24"
+#define COLORSELECTOR_LANDSCAPE_VER_PAD_INC "0"
+#define COLORSELECTOR_PALETTE_BORDER_INC 10 10 10 10
#define CALENDAR_DAY_FONT_SIZE_INC 15
#define CALENDAR_DATE_FONT_SIZE_INC 20
#define COLORSELECTOR_PADDING_COLOR_INC 199 199 199 255
#define COLORSELECTOR_BAR_COLOR_INC 249 249 249 255
-#define COLORPALETTE_PADDING_UP_INC 24
-#define COLORPALETTE_PADDING_DOWN_INC 24
-#define COLORPALETTE_HEIGHT_INC 246
-#define COLORPALETTE_HEIGHT_LANDSCAPE_INC 134
-#define COLORPALETTE_PADDING_UP_LANDSCAPE_INC 24
-#define COLORPALETTE_PADDING_DOWN_LANDSCAPE_INC 24
-#define COLORPALETTE_COLORBG_MIN_WIDTH_INC 86
-#define COLORPALETTE_COLORBG_MIN_HEIGHT_INC 86
-#define COLORPALETTE_COLORBG_FOCUS_MIN_WIDTH_INC 84
-#define COLORPALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC 84
-#define COLORPALETTE_BASE_COLOR_INC 249 249 249 255
-#define COLORPALETTE_BASE_WIDTH_INC 630
-#define COLORPALETTE_BASE_WIDTH_LANDSCAPE_INC 1152
+#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 "26"
+#define COLORSELECTOR_LANDSCAPE_HOR_PAD_INC "36"
+#define COLORSELECTOR_LANDSCAPE_VER_PAD_INC "0"
+#define COLORSELECTOR_PALETTE_BORDER_INC 14 14 14 14
#define CALENDAR_DAY_FONT_SIZE_INC 24
#define CALENDAR_DATE_FONT_SIZE_INC 32
#define COLORSELECTOR_PADDING_COLOR_INC 199 199 199 255
#define COLORSELECTOR_BAR_COLOR_INC 249 249 249 255
-#define COLORPALETTE_PADDING_UP_INC 15
-#define COLORPALETTE_PADDING_DOWN_INC 15
-#define COLORPALETTE_HEIGHT_INC 154
-#define COLORPALETTE_HEIGHT_LANDSCAPE_INC 86
-#define COLORPALETTE_PADDING_UP_LANDSCAPE_INC 17
-#define COLORPALETTE_PADDING_DOWN_LANDSCAPE_INC 17
-#define COLORPALETTE_COLORBG_MIN_WIDTH_INC 54
-#define COLORPALETTE_COLORBG_MIN_HEIGHT_INC 54
-#define COLORPALETTE_COLORBG_FOCUS_MIN_WIDTH_INC 52
-#define COLORPALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC 52
-#define COLORPALETTE_BASE_COLOR_INC 249 249 249 255
-#define COLORPALETTE_BASE_WIDTH_INC 422
-#define COLORPALETTE_BASE_WIDTH_LANDSCAPE_INC 760
+#define COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC 54
+#define COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC 54
+#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_WIDTH_INC 52
+#define COLORSELECTOR_PALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC 52
+#define COLORSELECTOR_PORTRAIT_HOR_PAD_INC "33"
+#define COLORSELECTOR_PORTRAIT_VER_PAD_INC "17"
+#define COLORSELECTOR_LANDSCAPE_HOR_PAD_INC "24"
+#define COLORSELECTOR_LANDSCAPE_VER_PAD_INC "0"
+#define COLORSELECTOR_PALETTE_BORDER_INC 10 10 10 10
#define CALENDAR_DAY_FONT_SIZE_INC 15
#define CALENDAR_DATE_FONT_SIZE_INC 20
#include "widgets/button.edc"
#include "widgets/calendar.edc"
#include "widgets/check.edc"
-#include "widgets/colorpalette.edc"
#include "widgets/colorselector.edc"
#include "widgets/conformant.edc"
#include "widgets/controlbar.edc"
#include "widgets/progressbar.edc"
#include "widgets/radio.edc"
#include "widgets/scroller.edc"
-#include "widgets/searchbar.edc"
#include "widgets/segmentedcontrol.edc"
#include "widgets/selectioninfo.edc"
#include "widgets/slider.edc"
+++ /dev/null
-/*
- * 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/colorpalette/base/default";
- alias: "elm/colorpalette/base/no_bgimg";
- data.item: "color_num" "10";
- data.item: "row" "2";
- data.item: "col" "5";
- data.item: "colors" "#375A12 #FFD500 #92FF0B #09BA0A #56C9F2 #125380 #8C35EE #FF9191 #FF3B77 #856445";
- parts {
- part {
- name: "bg_rect";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description {
- visible: 0;
- state: "default" 0.0;
- min: COLORPALETTE_BASE_WIDTH_INC COLORPALETTE_HEIGHT_INC;
- }
- }
- part {
- name: "padding_rect_u";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 COLORPALETTE_PADDING_UP_INC;
- fixed: 0 1;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- part {
- name: "padding_rect_d";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 COLORPALETTE_PADDING_DOWN_INC;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- align: 0.5 1.0;
- }
- }
- part {
- name: "bg";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: COLORPALETTE_BASE_WIDTH_INC 0;
- max: COLORPALETTE_BASE_WIDTH_INC 9999;
- fixed: 1 0;
- visible:0;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.5;
- rel1.to_x: bg_rect;
- rel1.to_y: padding_rect_u;
- rel2.to_x: bg_rect;
- rel2.to_y: padding_rect_d;
- }
- }
- part {
- name: "palette";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- }
- }
- }
-
- group {
- name: "elm/colorpalette/base/landscape";
- alias: "elm/colorpalette/base/landscape_no_bgimg";
- data.item: "color_num" "10";
- data.item: "row" "1";
- data.item: "col" "10";
- data.item: "colors" "#375A12 #FFD500 #92FF0B #09BA0A #56C9F2 #125380 #8C35EE #FF9191 #FF3B77 #856445";
- parts {
- part {
- name: "bg_rect";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description {
- visible: 0;
- state: "default" 0.0;
- min: COLORPALETTE_BASE_WIDTH_LANDSCAPE_INC COLORPALETTE_HEIGHT_LANDSCAPE_INC;
- }
- }
- part {
- name: "padding_rect_u";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 COLORPALETTE_PADDING_UP_LANDSCAPE_INC;
- fixed: 0 1;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- part {
- name: "padding_rect_d";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 COLORPALETTE_PADDING_DOWN_LANDSCAPE_INC;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- align: 0.5 1.0;
- }
- }
- part {
- name: "bg";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: COLORPALETTE_BASE_WIDTH_LANDSCAPE_INC 0;
- max: COLORPALETTE_BASE_WIDTH_LANDSCAPE_INC 9999;
- fixed: 1 0;
- visible:0;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.5;
- rel1.to_x: bg_rect;
- rel1.to_y: padding_rect_u;
- rel2.to_x: bg_rect;
- rel2.to_y: padding_rect_d;
- }
- }
- part {
- name: "palette";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- }
- }
- }
-
- group {
- name: "elm/colorpalette/base/bg";
- images {
- image: "00_color_picker_palette_bg.png" COMP;
- image: "00_color_picker_palette_focus.png" COMP;
- }
- parts {
- part {
- name: "bg";
- mouse_events:1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: COLORPALETTE_COLORBG_MIN_WIDTH_INC COLORPALETTE_COLORBG_MIN_HEIGHT_INC;
- image.normal: "00_color_picker_palette_bg.png";
- image.border: 10 10 10 10;
- image.border_scale: 1;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_color_picker_palette_focus.png";
- }
- }
- part {
- name: "color_rect";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- }
- }
- part {
- name: "focus_image";
- mouse_events:1;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: COLORPALETTE_COLORBG_FOCUS_MIN_WIDTH_INC COLORPALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC;
- image.normal: "00_color_picker_palette_focus.png";
- image.border: 14 14 14 14;
- image.border_scale: 1;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "focus_visible";
- source: "elm";
- signal: "focus_visible";
- action: STATE_SET "focused" 0.0;
- target: "focus_image";
- }
- program {
- name: "focus_invisible";
- source: "elm";
- signal: "focus_invisible";
- action: STATE_SET "default" 0.0;
- target: "focus_image";
- }
- }
- }
-
- group {
- name: "elm/colorpalette/base/color";
- images {
- image: "00_color_picker_palette.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.png";
- image.border: 14 14 14 14;
- image.border_scale: 1;
- }
- }
- }
- }
-
group {
name: "elm/colorselector/palette/default";
- data.item: "horizontal_pad" "50";
- data.item: "vertical_pad" "26";
+ data.item: "horizontal_pad" COLORSELECTOR_PORTRAIT_HOR_PAD_INC;
+ data.item: "vertical_pad" COLORSELECTOR_PORTRAIT_VER_PAD_INC;
parts {
part { name: "base";
type: RECT;
group {
name: "elm/colorselector/palette/landscape";
- data.item: "horizontal_pad" "36";
- data.item: "vertical_pad" "0";
+ 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;
description {
state: "default" 0.0;
- min: COLORPALETTE_COLORBG_MIN_WIDTH_INC COLORPALETTE_COLORBG_MIN_HEIGHT_INC;
+ min: COLORSELECTOR_PALETTE_COLORBG_MIN_WIDTH_INC COLORSELECTOR_PALETTE_COLORBG_MIN_HEIGHT_INC;
image.normal: "00_color_picker_palette_bg.png";
- image.border: 10 10 10 10;
+ image.border: COLORSELECTOR_PALETTE_BORDER_INC;
image.border_scale: 1;
}
}
description {
state: "default" 0.0;
visible: 0;
- min: COLORPALETTE_COLORBG_FOCUS_MIN_WIDTH_INC COLORPALETTE_COLORBG_FOCUS_MIN_HEIGHT_INC;
+ 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: 14 14 14 14;
+ image.border: COLORSELECTOR_PALETTE_BORDER_INC;
image.border_scale: 1;
rel1.to: "color_bg";
rel2.to: "color_bg";
description{
state: "default" 0.0;
image.normal: "00_color_picker_palette.png";
- image.border: 14 14 14 14;
+ image.border: COLORSELECTOR_PALETTE_BORDER_INC;
image.border_scale: 1;
}
}
+++ /dev/null
-/*
- * 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/searchbar/base/default";
- images {
- image: "00_search_input_field_bg.png" COMP;
- image: "00_search_icon.png" COMP;
- }
- parts {
- part { name: "top_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 1;
- state: "default" 0.0;
- min: 0 SEARCHBAR_TOP_PADDING_INC;
- fixed: 0 1;
- align: 0 0;
- color: SEARCHBAR_BACKGROUND_COLOR_INC;
- rel2.relative: 1.0 0.0;
- }
- description{
- state: "default_without_bd" 0.0;
- inherit: "default" 0.0;
- min: 0 0;
- visible: 0;
- }
- }
- part { name: "bottom_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 1;
- state: "default" 0.0;
- min: 0 SEARCHBAR_BOTTOM_PADDING_INC;
- fixed: 0 1;
- align: 0 1;
- color: SEARCHBAR_BACKGROUND_COLOR_INC;
- rel1.relative: 0.0 1.0;
- }
- description{
- state: "default_without_bd" 0.0;
- inherit: "default" 0.0;
- min: 0 0;
- visible: 0;
- }
- }
- part { name: "base_bg";
- type: RECT;
- scale: 1;
- description {
- visible:1;
- min: 0 SEARCHBAR_HEIGHT_INC;
- align: 0 0.5;
- fixed: 0 1;
- state: "default" 0.0;
- rel1 {
- relative: 0.0 10/12;
- to: "top_padding_rect";
- }
- rel2 {
- relative: 1.0 1/6;
- to: "bottom_padding_rect";
- }
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 1;
- min: SEARCHBAR_LEFT_PADDING_INC 0;
- fixed: 1 0;
- align: 0 0;
- rel2.relative: 0.0 1.0;
- color: SEARCHBAR_BACKGROUND_COLOR_INC;
- }
- description{
- state: "default_without_bd" 0.0;
- inherit: "default" 0.0;
- min: 0 0;
- visible: 0;
- }
- }
- part { name: "right_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 1;
- min: SEARCHBAR_RIGHT_PADDING_INC 0;
- fixed: 1 0;
- align: 1 0;
- rel1.relative: 1.0 0.0;
- color: SEARCHBAR_BACKGROUND_COLOR_INC;
- }
- description{
- state: "default_without_bd" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "right_field_and_btn_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 1;
- min: SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 0;
- fixed: 1 0;
- align: 1 0;
- rel1.relative: 1.0 0.0;
- color: SEARCHBAR_BACKGROUND_COLOR_INC;
- }
- description{
- state: "default_without_bd" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "right_btn_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 1;
- min: SEARCHBAR_CANCEL_BUTTON_WITH_PADDING_W_INC 0;
- fixed: 1 0;
- align: 1 0;
- rel1.relative: 1.0 0.0;
- color: SEARCHBAR_BACKGROUND_COLOR_INC;
- }
- description{
- state: "default_without_bd" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "inputfield_rect";
- type: IMAGE;
- scale: 1;
- description {
- visible:1;
- state: "default" 0.0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "left_padding_rect";
- to_y: "base_bg";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "right_padding_rect";
- to_y: "base_bg";
- }
- image {
- normal: "00_search_input_field_bg.png";
- border: SEARCHBAR_INPUTFIELD_BORDER_INC;
- }
- }
- description {
- state: "in" 0.0;
- inherit: "default" 0.0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "left_padding_rect";
- to_y: "base_bg";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "right_field_and_btn_padding_rect";
- to_y: "base_bg";
- }
- }
- }
- part { name: "left_icon_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 0;
- min: SEARCHBAR_LEFT_ICON_PADDING_INC 0;
- fixed: 1 0;
- align: 0 0;
- rel1 {
- to: "inputfield_rect";
- };
- rel2 {
- relative: 0.0 1.0;
- to: "inputfield_rect";
- };
- }
- }
- part { name: "search_icon";
- type: IMAGE;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- visible:1;
- min: SEARCHBAR_ICON_MIN_W_INC SEARCHBAR_ICON_MIN_H_INC;
- fixed: 1 1;
- align: 0 0.5;
- state: "default" 0.0;
- rel1 {
- relative: 1.0 0.5;
- to_x: "left_icon_padding_rect";
- }
- rel2 {
- relative: 1.0 0.5;
- to_x: "left_icon_padding_rect";
- }
- image {
- normal: "00_search_icon.png";
- }
- }
- }
- part { name: "left_padding_search_textfield";
- type: RECT;
- scale: 1;
- description{
- visible: 0;
- min: SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "search_icon";
- to_y: "inputfield_rect";
- };
- rel2 {
- relative: 1.0 1.0;
- to_x: "search_icon";
- to_y: "inputfield_rect";
- };
- }
- }
- part { name: "right_padding_search_textfield";
- type: RECT;
- scale: 1;
- description{
- visible: 0;
- min: SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 0;
- fixed: 1 0;
- align: 1.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to: "inputfield_rect";
- };
- rel2 {
- relative: 1.0 1.0;
- to: "inputfield_rect";
- };
- }
- }
- part { name: "search_textfield";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- visible:1;
- state: "default" 0.0;
- min: 0 SEARCHBAR_SEARCH_TEXTFIELD_H_INC;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to: "left_padding_search_textfield";
- };
- rel2 {
- relative: 0.0 1.0;
- to: "right_padding_search_textfield";
- };
- }
- description {
- visible:1;
- state: "in" 0.0;
- min: 0 SEARCHBAR_SEARCH_TEXTFIELD_H_INC;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to: "left_padding_search_textfield";
- };
- rel2 {
- relative: 0.0 1.0;
- to: "right_padding_search_textfield";
- };
- }
- description {
- state: "down" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "button_cancel";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- visible: 0;
- fixed: 1 1;
- min: SEARCHBAR_CANCEL_BUTTON_W_INC 0;
- align: 0.0 0.5;
- state: "default" 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "base_bg";
- to_y: "top_padding_rect";
- };
- rel2 {
- relative: 1.0 0.0;
- to_x: "base_bg";
- to_y: "bottom_padding_rect";
- };
- }
- description {
- visible:1;
- state: "in" 0.0;
- min: SEARCHBAR_CANCEL_BUTTON_W_INC 0;
- align: 1.0 0.5;
- rel1 {
- relative: 0.0 1.0;
- to_x: "right_btn_padding_rect";
- to_y: "top_padding_rect";
- };
- rel2 {
- relative: 0.0 0.0;
- to_x: "right_padding_rect";
- to_y: "bottom_padding_rect";
- };
- }
- }
- }
- programs {
- program { name: "cancel_in";
- signal: "CANCELIN";
- source: "PROG";
- action: STATE_SET "in" 0.0;
- target: "button_cancel";
- target: "inputfield_rect";
- target: "search_textfield";
- transition: ACCELERATE 0.4;
- }
- program { name: "cancel_out";
- signal: "CANCELOUT";
- source: "PROG";
- action: STATE_SET "default" 0.0;
- target: "button_cancel";
- target: "inputfield_rect";
- target: "search_textfield";
- transition: ACCELERATE 0.4;
- }
- program { name: "cancel_show";
- signal: "CANCELSHOW";
- source: "PROG";
- action: STATE_SET "in" 0.0;
- target: "button_cancel";
- target: "inputfield_rect";
- target: "search_textfield";
- }
- program { name: "cancel_hide";
- signal: "CANCELHIDE";
- source: "PROG";
- action: STATE_SET "default" 0.0;
- target: "button_cancel";
- target: "inputfield_rect";
- target: "search_textfield";
- }
- program { name: "bd_show";
- signal: "BDSHOW";
- source: "PROG";
- action: STATE_SET "default" 0.0;
- target: "top_padding_rect";
- target: "bottom_padding_rect";
- target: "right_padding_rect";
- target: "left_padding_rect";
- target: "right_field_and_btn_padding_rect";
- target: "right_btn_padding_rect";
- }
- program { name: "bd_hide";
- signal: "BDHIDE";
- source: "PROG";
- action: STATE_SET "default_without_bd" 0.0;
- target: "top_padding_rect";
- target: "bottom_padding_rect";
- target: "right_padding_rect";
- target: "left_padding_rect";
- target: "right_field_and_btn_padding_rect";
- target: "right_btn_padding_rect";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "search_icon";
- }
- program {
- name: "mouse_click";
- signal: "mouse,clicked,1";
- source: "search_icon";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
-
- } // end program
-} // end group