+++ /dev/null
-usr/share/elementary/themes/nbeat-black.edj
+++ /dev/null
-usr/share/elementary/themes/nbeat-blue.edj
+++ /dev/null
-usr/share/elementary/themes/nbeat-green.edj
+++ /dev/null
-usr/share/elementary/themes/nbeat-purple.edj
+++ /dev/null
-usr/share/elementary/themes/nbeat.edj
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
- /********************/
- /* elm_actionslider */
- /********************/
- #define ACTIONSLIDER_BG_H 96
- #define ACTIONSLIDER_BG_LEFT_W 6
- #define ACTIONSLIDER_BG_RIGHT_W 6
-
- // button type
- #define ACTIONSLIDER_BUTTON_W 64
- #define ACTIONSLIDER_BUTTON_H 88
- #define ACTIONSLIDER_BUTTON_TOP_PADDING_H 4
- #define ACTIONSLIDER_BUTTON_BOTTOM_PADDING_H 4
- #define ACTIONSLIDER_BUTTON_TEXT_PADDING_LEFT 12
- #define ACTIONSLIDER_BUTTON_TEXT_PADDING_RIGHT 12
-
- // bar type
- #define ACTIONSLIDER_BAR_W 32
- #define ACTIONSLIDER_BAR_H 86
- #define ACTIONSLIDER_BAR_TOP_PADDING_H 5
- #define ACTIONSLIDER_BAR_BOTTOM_PADDING_H 5
- #define ACTIONSLIDER_BAR_TEXT_PADDING_LEFT 10
- #define ACTIONSLIDER_BAR_TEXT_PADDING_RIGHT 10
-
- // elm_actionslider default(button) style
- group {
- name: "elm/actionslider/base/default";
- alias: "elm/actionslider/base/button";
-
- images {
- image: "01_action_slider_bg_left.png" COMP;
- image: "01_action_slider_bg_center.png" COMP;
- image: "01_action_slider_bg_right.png" COMP;
- }
-
- parts {
- part {
- name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 ACTIONSLIDER_BG_H;
- fixed: 0 1;
- align: 0.5 0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "image.bg.left";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BG_LEFT_W 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 0.0 1.0; to: "bg"; }
- image.normal: "01_action_slider_bg_left.png";
- }
- }
- part {
- name: "image.bg.right";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BG_RIGHT_W 0;
- fixed: 1 0;
- align: 1.0 0.5;
- rel1 { relative: 1.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- image.normal: "01_action_slider_bg_right.png";
- }
- }
- part {
- name: "image.bg.center";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "image.bg.left"; }
- rel2 { relative: 0.0 1.0; to: "image.bg.right"; }
- image.normal: "01_action_slider_bg_center.png";
- }
- }
- part {
- name: "padding.top";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 ACTIONSLIDER_BUTTON_TOP_PADDING_H;
- fixed: 0 1;
- align: 0.5 0.0;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 0.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "padding.bottom";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 ACTIONSLIDER_BUTTON_BOTTOM_PADDING_H;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1 { relative: 0.0 1.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "icon.dragable.area";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
- rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "text.padding.left";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BUTTON_TEXT_PADDING_LEFT 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 0.0 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
- rel2 { relative: 0.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "text.padding.right";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BUTTON_TEXT_PADDING_RIGHT 0;
- fixed: 1 0;
- align: 1 0.5;
- rel1 { relative: 1.0 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
- rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.text.left";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
- rel2 { relative: 0.5 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
- color: 0 162 255 255;
- text {
- font: "SLP:style=Roman";
- size: 32;
- align: 0 0.5;
- }
- }
- }
- part {
- name: "elm.text.right";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
- rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
- color: 230 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 32;
- align: 1 0.5;
- }
- }
- }
- part {
- name: "elm.text.center";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- effect: SHADOW;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
- rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
- color: 230 0 0 255;
- color2: 0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 42;
- align: 0.5 0.5;
- }
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BUTTON_W ACTIONSLIDER_BUTTON_H;
- fixed: 1 1;
- align: 0 0.5;
- rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
- rel2 { relative: 0.0 1.0; to: "icon.dragable.area"; }
- }
- dragable {
- confine: "icon.dragable.area";
- x: 1 1 1530;
- y: 0 0 0;
- }
- }
- } // end of parts
- programs {
- } // end of programs
- } // end of group "elm/actionslider/base/default" and "elm/actionslider/base/button"
-
- group {
- name: "elm/actionslider/icon/default";
- alias: "elm/actionslider/icon/button";
-
- images {
- image: "01_action_slider_button.png" COMP;
- }
- parts {
- part {
- name: "image.button";
- type: IMAGE;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- image.normal: "01_action_slider_button.png";
- }
- }
- } // end of parts
- } // end of group "elm/actionslider/icon/default"
-
- // elm_actionslider bar_green style
- group {
- name: "elm/actionslider/base/bar_green";
-
- images {
- image: "01_action_slider_bg_left.png" COMP;
- image: "01_action_slider_bg_center.png" COMP;
- image: "01_action_slider_bg_right.png" COMP;
- image: "01_action_slider_bar_green_left.png" COMP;
- image: "01_action_slider_bar_green_center.png" COMP;
- }
-
- parts {
- part {
- name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 ACTIONSLIDER_BG_H;
- fixed: 0 1;
- align: 0.5 0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "image.bg.left";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BG_LEFT_W 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 0.0 1.0; to: "bg"; }
- image.normal: "01_action_slider_bg_left.png";
- }
- }
- part {
- name: "image.bg.right";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BG_RIGHT_W 0;
- fixed: 1 0;
- align: 1.0 0.5;
- rel1 { relative: 1.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- image.normal: "01_action_slider_bg_right.png";
- }
- }
- part {
- name: "image.bg.center";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "image.bg.left"; }
- rel2 { relative: 0.0 1.0; to: "image.bg.right"; }
- image.normal: "01_action_slider_bg_center.png";
- }
- }
- part {
- name: "padding.top";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 ACTIONSLIDER_BAR_TOP_PADDING_H;
- fixed: 0 1;
- align: 0.5 0.0;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 0.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "padding.bottom";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 ACTIONSLIDER_BAR_BOTTOM_PADDING_H;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1 { relative: 0.0 1.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "text.padding.left";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BAR_TEXT_PADDING_LEFT 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 0.0 0.0; to: "image.bg.center"; }
- rel2 { relative: 0.0 1.0; to: "image.bg.center"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "text.padding.right";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BAR_TEXT_PADDING_RIGHT 0;
- fixed: 1 0;
- align: 1 0.5;
- rel1 { relative: 1.0 0.0; to: "image.bg.center"; }
- rel2 { relative: 1.0 1.0; to: "image.bg.center"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.text.right";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
- rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
- color: 255 255 255 255;
- text {
- font: "SLP:style=Roman";
- size: 42;
- align: 1 0.5;
- }
- }
- }
- part {
- name: "bar.padding.left";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 3 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 0.0 1.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "image.bar.left";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- min: 6 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 1.0 1.0; to_x: "bar.padding.left"; to_y: "padding.top"; }
- rel2 { relative: 1.0 0.0; to_x: "bar.padding.left"; to_y: "padding.bottom"; }
- image.normal: "01_action_slider_bar_green_left.png";
- }
- }
- part {
- name: "bar.padding.center";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 11 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 1.0 1.0; to_x: "image.bar.left"; to_y: "padding.top"; }
- rel2 { relative: 1.0 0.0; to_x: "image.bar.left"; to_y: "padding.bottom"; }
- }
- }
- part {
- name: "image.bar.center";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
- rel2 { relative: 0.0 0.0; to_x: "elm.swallow.icon"; to_y: "padding.bottom"; }
- image.normal: "01_action_slider_bar_green_center.png";
- }
- }
- part {
- name: "icon.dragable.area";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 1.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
- rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BAR_W ACTIONSLIDER_BAR_H;
- fixed: 1 1;
- align: 0 0.5;
- rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
- rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
- }
- dragable {
- confine: "icon.dragable.area";
- x: 1 1 1530;
- y: 0 0 0;
- }
- }
- part {
- name: "elm.text.center";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- effect: SHADOW;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
- rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
- color: 255 255 255 255;
- color2: 0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 42;
- align: 0.5 0.5;
- }
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- } // end of parts
- programs {
- program {
- name: "show_text_center";
- signal: "elm,show,text,center";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.center";
- }
- program {
- name: "hide_text_center";
- signal: "elm,hide,text,center";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.text.center";
- }
- } // end of programs
- } // end of group "elm/actionslider/base/bar_green"
-
- group {
- name: "elm/actionslider/icon/bar_green";
-
- images {
- image: "01_action_slider_bar_green_right.png" COMP;
- }
- parts {
- part {
- name: "image.button";
- type: IMAGE;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- image.normal: "01_action_slider_bar_green_right.png";
- }
- }
- } // end of parts
- } // end of group "elm/actionslider/icon/bar_green"
-
- // elm_actionslider bar_red style
- group {
- name: "elm/actionslider/base/bar_red";
-
- images {
- image: "01_action_slider_bg_left.png" COMP;
- image: "01_action_slider_bg_center.png" COMP;
- image: "01_action_slider_bg_right.png" COMP;
- image: "01_action_slider_bar_red_left.png" COMP;
- image: "01_action_slider_bar_red_center.png" COMP;
- }
-
- parts {
- part {
- name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 ACTIONSLIDER_BG_H;
- fixed: 0 1;
- align: 0.5 0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "image.bg.left";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BG_LEFT_W 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 0.0 1.0; to: "bg"; }
- image.normal: "01_action_slider_bg_left.png";
- }
- }
- part {
- name: "image.bg.right";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BG_RIGHT_W 0;
- fixed: 1 0;
- align: 1.0 0.5;
- rel1 { relative: 1.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- image.normal: "01_action_slider_bg_right.png";
- }
- }
- part {
- name: "image.bg.center";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "image.bg.left"; }
- rel2 { relative: 0.0 1.0; to: "image.bg.right"; }
- image.normal: "01_action_slider_bg_center.png";
- }
- }
- part {
- name: "padding.top";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 ACTIONSLIDER_BAR_TOP_PADDING_H;
- fixed: 0 1;
- align: 0.5 0.0;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 0.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "padding.bottom";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 ACTIONSLIDER_BAR_BOTTOM_PADDING_H;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1 { relative: 0.0 1.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "text.padding.left";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BAR_TEXT_PADDING_LEFT 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 0.0 0.0; to: "image.bg.center"; }
- rel2 { relative: 0.0 1.0; to: "image.bg.center"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "text.padding.right";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BAR_TEXT_PADDING_RIGHT 0;
- fixed: 1 0;
- align: 1 0.5;
- rel1 { relative: 1.0 0.0; to: "image.bg.center"; }
- rel2 { relative: 1.0 1.0; to: "image.bg.center"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.text.right";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.5 1.0; to_x: "image.bg.center"; to_y: "padding.top"; }
- rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
- color: 255 255 255 255;
- text {
- font: "SLP:style=Roman";
- size: 42;
- align: 1 0.5;
- }
- }
- }
- part {
- name: "bar.padding.left";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 3 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 0.0 1.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "image.bar.left";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- min: 6 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 1.0 1.0; to_x: "bar.padding.left"; to_y: "padding.top"; }
- rel2 { relative: 1.0 0.0; to_x: "bar.padding.left"; to_y: "padding.bottom"; }
- image.normal: "01_action_slider_bar_red_left.png";
- }
- }
- part {
- name: "bar.padding.center";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 11 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 1.0 1.0; to_x: "image.bar.left"; to_y: "padding.top"; }
- rel2 { relative: 1.0 0.0; to_x: "image.bar.left"; to_y: "padding.bottom"; }
- }
- }
- part {
- name: "image.bar.center";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
- rel2 { relative: 0.0 0.0; to_x: "elm.swallow.icon"; to_y: "padding.bottom"; }
- image.normal: "01_action_slider_bar_red_center.png";
- }
- }
- part {
- name: "icon.dragable.area";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 1.0 1.0; to_x: "bar.padding.center"; to_y: "padding.top"; }
- rel2 { relative: 1.0 0.0; to_x: "image.bg.center"; to_y: "padding.bottom"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ACTIONSLIDER_BAR_W ACTIONSLIDER_BAR_H;
- fixed: 1 1;
- align: 0 0.5;
- rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
- rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
- }
- dragable {
- confine: "icon.dragable.area";
- x: 1 1 1530;
- y: 0 0 0;
- }
- }
- part {
- name: "elm.text.center";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- effect: SHADOW;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
- rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
- color: 255 255 255 255;
- color2: 0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 42;
- align: 0.5 0.5;
- }
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- } // end of parts
- programs {
- program {
- name: "show_text_center";
- signal: "elm,show,text,center";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.center";
- }
- program {
- name: "hide_text_center";
- signal: "elm,hide,text,center";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.text.center";
- }
- } // end of programs
- } // end of group "elm/actionslider/base/bar_red"
-
- group {
- name: "elm/actionslider/icon/bar_red";
-
- images {
- image: "01_action_slider_bar_red_right.png" COMP;
- }
- parts {
- part {
- name: "image.button";
- type: IMAGE;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- image.normal: "01_action_slider_bar_red_right.png";
- }
- }
- } // end of parts
- } // end of group "elm/actionslider/icon/bar_red"
-
-
- // elm_actionslider callslider style
- group {
- name: "elm/actionslider/base/callslider";
-
- images {
- image: "08_voicecall_multi_tasking_bg.png" COMP;
- image: "08_voicecall_multi_tasking_arrow_left.png" COMP;
- image: "08_voicecall_multi_tasking_arrow_right.png" COMP;
- }
-
- parts {
- part {
- name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 480 42;
- fixed: 1 0;
- align: 0 0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "image.bg";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to:"bg";}
- rel2 { relative: 1.0 1.0; to:"bg";}
- image.normal: "08_voicecall_multi_tasking_bg.png";
- }
- }
- part {
- name: "padding.top";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 3;
- fixed: 0 1;
- align: 0.5 0.0;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 0.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "padding.bottom";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 3;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1 { relative: 0.0 1.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "text.padding.left";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 0.0 1.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "text.padding.right";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- align: 1 0.5;
- rel1 { relative: 1.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.text.left";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 1.0 1.0; to_x: "text.padding.left"; to_y: "padding.top"; }
- rel2 { relative: 0.5 0.0; to_x: "bg"; to_y: "padding.bottom"; }
- color: 230 228 229 255;
- text {
- font: "SLP:style=Roman";
- size: 22;
- align: 0 0.5;
- }
- }
- }
- part {
- name: "elm.text.right";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.5 1.0; to_x: "bg"; to_y: "padding.top"; }
- rel2 { relative: 0.0 0.0; to_x: "text.padding.right"; to_y: "padding.bottom"; }
- color: 230 228 229 255;
- text {
- font: "SLP:style=Roman";
- size: 22;
- align: 1 0.5;
- }
- }
- }
- part {
- name: "drag.padding.left";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 0.0 1.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "drag.padding.right";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- fixed: 1 0;
- align: 1 0.5;
- rel1 { relative: 1.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "icon.dragable.area";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 1.0 1.0; to_x: "drag.padding.left"; to_y: "padding.top"; }
- rel2 { relative: 0.0 0.0; to_x: "drag.padding.right"; to_y: "padding.bottom"; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.space";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 40 36;
- fixed: 1 0;
- 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"; }
- color: 0 0 0 0;
- visible: 0;
- }
- }
- part {
- name: "image.button.left";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 16 15;
- fixed: 1 1;
- align: 1 0.5;
- rel1 { relative: 0.0 0.5; to:"elm.swallow.space";}
- rel2 { relative: 0.0 0.5; to:"elm.swallow.space";}
- //rel1 { relative: 0.0 0.5; to:"elm.swallow.icon";}
- //rel2 { relative: 0.0 0.5; to:"elm.swallow.icon";}
- image.normal: "08_voicecall_multi_tasking_arrow_left.png";
- }
- }
- part {
- name: "image.button.right";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 16 15;
- fixed: 1 1;
- align: 0 0.5;
- rel1 { relative: 1.0 0.5; to:"elm.swallow.space";}
- rel2 { relative: 1.0 0.5; to:"elm.swallow.space";}
- //rel1 { relative: 1.0 0.5; to:"elm.swallow.icon";}
- //rel2 { relative: 1.0 0.5; to:"elm.swallow.icon";}
- image.normal: "08_voicecall_multi_tasking_arrow_right.png";
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 40 36;
- fixed: 0 0;
- align: 0 0.5;
- rel1 { relative: 0.0 0.0; to: "icon.dragable.area"; }
- rel2 { relative: 1.0 1.0; to: "icon.dragable.area"; }
- color: 0 0 0 0;
- }
- dragable {
- confine: "icon.dragable.area";
- x: 1 1 1530;
- y: 0 0 0;
- }
- }
- } // end of parts
- } // end of group "elm/actionslider/base/callslider"
-
- group {
- name: "elm/actionslider/icon/callslider";
-
- data {
- /* Set padding value */
- item: "left" "19";
- item: "right" "19";
- }
-
- images {
- image: "08_voicecall_multi_tasking_button.png" COMP;
- }
- parts {
- part {
- name: "image.button";
- type: IMAGE;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 0;
- align: 0.5 0.5;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- image.normal: "08_voicecall_multi_tasking_button.png";
- //image.border: 19 19 0 0;
- image.border: 19 19 18 18;
- image.border_scale: 1;
- }
- }
- part {
- name: "elm.text.button";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0; to: "image.button"; }
- rel2 { relative: 1.0 1.0; to: "image.button"; }
- color: 53 45 39 255;
- text {
- font: "SLP:style=Roman";
- size: 22;
- align: 0.5 0.5;
- text: "";
- }
- }
- }
- } // end of parts
- } // end of group "elm/actionslider/icon/callslider"
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
- group { name: "elm/animatedicon/base/default";
- parts {
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- }
- }
- }
- }
+++ /dev/null
-#define MAIN_LIST_HEIGHT 90
-#define MAIN_LIST_WIDTH 480
-
-
-///////////////////////////////////////////////////////////////////////////////
-
- images {
- image: "calllog/ilist_item_shadow.png" COMP;
- image: "calllog/tw3_list_select.png" COMP;
- image: "calllog/01_list_lighting.png" COMP;
- image: "calllog/calllog_call.png" COMP;
- image: "calllog/calllog_message.png" COMP;
- image: "calllog/effect_right.png" COMP;
- image: "calllog/effect_right1.png" COMP;
- image: "calllog/effect_right2.png" COMP;
- image: "calllog/effect_right3.png" COMP;
- image: "calllog/effect_right4.png" COMP;
- image: "calllog/effect_right5.png" COMP;
- image: "calllog/effect_right6.png" COMP;
- image: "calllog/effect_left.png" COMP;
- image: "calllog/effect_left1.png" COMP;
- image: "calllog/effect_left2.png" COMP;
- image: "calllog/effect_left3.png" COMP;
- image: "calllog/effect_left4.png" COMP;
- image: "calllog/effect_left5.png" COMP;
- image: "calllog/effect_left6.png" COMP;
- }
-
-
-///////////////////////////////////////////////////////////////////////////////////////////////////////
-///// BeatUX theme for Logs-list's genlist //////
-///////////////////////////////////////////////////////////////////////////////////////////////////////
-
-// Edc with sweep style and buttons implementation
-
-
- group {
- name: "elm/genlist/item/2line_icontext_icon_sweep/logfavor/calllog/default";
- alias: "elm/genlist/item_odd/2line_icontext_icon_sweep/logfavor/calllog/default";
- alias: "elm/genlist/item_compress/2line_icontext_icon_sweep/logfavor/calllog/default";
- alias: "elm/genlist/item_compress_odd/2line_icontext_icon_sweep/logfavor/calllog/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub elm.sub.text.time elm.sweep.text";
- data.item: "icons" "elm.thumbnail elm.log.type elm.log.action call_button_bg msg_button_bg videocall_button_bg delete_button_bg";
- data.item: "treesize" "20";
- data.item: "allow_slide" "1";
- images {
- image: "calllog/00_list_bar_press_1x80.png" COMP;
- image: "calllog/00_list_thumbnail_bg.png" COMP;
- //image: "calllog/btn_normal.png" COMP;
- //image: "calllog/btn_selected.png" COMP;
- image: "calllog/00_list_photo_bg.png" COMP;
- image: "calllog/caller_ID_default_70x70_box.png" COMP;
- image: "calllog/logs_sweep_btn_bg_normal.png" COMP;
- image: "calllog/logs_sweep_btn_bg_press.png" COMP;
- image: "calllog/logs_sweep_icon_call.png" COMP;
- image: "calllog/logs_sweep_icon_call_press.png" COMP;
- image: "calllog/logs_sweep_icon_msg.png" COMP;
- image: "calllog/logs_sweep_icon_msg_press.png" COMP;
- image: "calllog/logs_sweep_icon_vtcall.png" COMP;
- image: "calllog/logs_sweep_icon_vtcall_press.png" COMP;
- image: "calllog/logs_sweep_icon_delete.png" COMP;
- image: "calllog/logs_sweep_icon_delete_press.png" COMP;
- }
-
- parts {
- part {
- name: "base";
- type: RECT;
- repeat_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 90;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- }
-
- part {
- name: "call_button_bg";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 15.0/480.0 35.0/90.0; offset:0 0; to:base;}
- rel2 { relative: 115.0/480.0 85.0/90.0; offset:-1 -1; to:base;}
- }
- description {
- state: "display" 0.0;
- inherit: "default" 0.0;
- //visible: 1;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
-
- }
-
-
-
- part {
- name: "msg_button_bg";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 130.0/480.0 35.0/90.0; offset:0 0; to:base;}
- rel2 { relative: 230.0/480.0 85.0/90.0; offset:-1 -1; to:base;}
- }
- description {
- state: "display" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
-
- }
-
-
- part {
- name: "videocall_button_bg";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 245.0/480.0 35.0/90.0; offset:0 0; to:base;}
- rel2 { relative: 345.0/480.0 85.0/90.0; offset:-1 -1; to:base;}
- }
- description {
- state: "display" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
-
- }
-
- part {
- name: "delete_button_bg";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 360.0/480.0 35.0/90.0; offset:0 0; to:base;}
- rel2 { relative: 460.0/480.0 85.0/90.0; offset:-1 -1; to:base;}
- }
- description {
- state: "display" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
-
- }
-
- part {
- name: "elm.sweep.text";
- //clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 25;
- fixed: 0 1;
- align: 0 0;
- visible: 1;
- //rel1 { relative: 1.0 1.0; to_x: "elm.padding.left.sweep"; to_y: "elm.padding.sweep.text.top"; }
- //rel2 { relative: 0.0 1.0; offset: 0 0; to_x: "elm.padding.right.sweep"; to_y: "elm.padding.sweep.text.top"; }
- rel1 { relative: 15.0/480.0 5.0/90.0; offset:0 0;}
- rel2 { relative: 400.0/480.0 30.0/90.0; offset:-1 -1;}
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 24;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- /*description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- description {
- state: "display" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }*/
- }
-
- part {
- name: "bg";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- 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; }
- }
- }
-
- part {
- name: "bg_image";
- clip_to: "disclip";
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- visible: 0;
- image.normal: "calllog/00_list_bar_press_1x80.png";
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "bottom_line";
- type: RECT;
- //clip_to: "disclip";
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- min: 0 1;
- fixed: 0 1;
- visible: 1;
- color: GENLIST_PART_BOTTOM_LINE_INC;
- rel1 { relative: 0.0 1.0; offset: 0 -1; }
- }
- }
-
-#if 1
- part {
- name: "elm.padding.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.text.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel1.relative: 0.0 1.0;
- align: 0.0 1.0;
- }
- }
-
- part {
- name: "elm.padding.left";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 70 70;
- max: 70 70;
- fixed: 1 1;
- visible: 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
- rel2 { relative: 1.0 0.0; offset: -1 -1; to_x: "elm.padding.left"; to_y: "elm.padding.bottom"; }
- image {
- normal: "calllog/caller_ID_default_70x70_box.png";
- //border: 7 7 7 7;
- }
- }
- }
-
- part {
- name: "elm.thumbnail";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
-
- part {
- name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.thumbnail"; }
- rel2.to_x: "elm.thumbnail";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.text.right.end";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 47 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 { relative: 1.0 1.0; to_x: "elm.padding.thumbnail.right"; to_y: "elm.padding.text.top"; }
- rel2 { relative: 0.0 1.0; offset: -1 -1; to_x: "elm.text.right.end"; to_y: "elm.padding.text.top"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "elm.padding.log.type.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 14;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.log.type.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 44;
- fixed: 0 1;
- visible: 0;
- rel1.relative: 0.0 1.0;
- align: 0.0 1.0;
- }
- }
-
- part {
- name: "elm.log.type.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 32 32;
- max: 32 32;
- fixed: 1 1;
- visible: 0;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 0; to_x: "elm.text"; to_y: "elm.padding.log.type.top"; }
- rel2 { relative: 1.0 0.0; offset: -1 -1; to_x: "elm.text"; to_y: "elm.padding.log.type.bottom"; }
- image {
- normal: "calllog/caller_ID_default_70x70_box.png";
- border: 1 1 1 1;
- }
- }
- }
-
- part {
- name: "elm.log.type";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.log.type.bg";
- rel2.to: "elm.log.type.bg";
- }
- }
-
- part {
- name: "elm.padding.log.action.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 4;
- fixed: 0 1;
- visible: 0;
- align: 0.0 1.0;
- rel1 { relative: 1.0 0.0; offset: 0 0; to_x: "elm.padding.thumbnail.right"; to_y: "elm.padding.bottom"; }
- rel2 { relative: 0.0 0.0; offset: 0 0; to_x: "elm.text.right.end"; to_y: "elm.padding.bottom"; }
- }
- }
-
- part {
- name: "elm.log.action.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 25 25;
- max: 25 25;
- fixed: 1 1;
- visible: 0;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 1; to_x: "elm.padding.thumbnail.right"; to_y: "elm.text"; }
- rel2 { relative: 1.0 0.0; offset: -1 -1; to_x: "elm.padding.thumbnail.right"; to_y: "elm.padding.log.action.bottom"; }
- image {
- normal: "calllog/00_list_thumbnail_bg.png";
- border: 1 1 1 1;
- }
- }
- }
-
- part {
- name: "elm.log.action";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.log.action.bg";
- rel2.to: "elm.log.action.bg";
- }
- }
-
- part {
- name: "elm.padding.log.action.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 14 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.log.action"; }
- rel2.to_x: "elm.log.action";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.sub.text.right.end";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 150 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.text.sub";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; to_x: "elm.padding.log.action.right"; to_y: "elm.text"; }
- rel2 { relative: 0.0 1.0; offset: -1 -1; to_x: "elm.padding.sub.text.right.end"; to_y: "elm.text"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "elm.padding.sub.text.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.text.sub"; }
- rel2.to_x: "elm.text.sub";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.sub.text.time";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.sub.text.right";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -1 -1;
- to_x: "elm.padding.right";
- to_y: "elm.text";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 0 1;
- align: 1.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
-#else // caller ID location change layout
-
- part {
- name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 { relative: 15.0/MAIN_LIST_WIDTH 10.0/MAIN_LIST_HEIGHT; to:base; }
- rel2 { relative: 380.0/MAIN_LIST_WIDTH 50.0/MAIN_LIST_HEIGHT; to:base; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "elm.log.action.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 25 25;
- max: 25 25;
- fixed: 1 1;
- visible: 0;
- align: 0.0 0.0;
- rel1 { relative: 15.0/MAIN_LIST_WIDTH 51.0/MAIN_LIST_HEIGHT; to:base; }
- rel2 { relative: 40.0/MAIN_LIST_WIDTH 76.0/MAIN_LIST_HEIGHT; to:base; }
- image {
- normal: "calllog/00_list_thumbnail_bg.png";
- border: 1 1 1 1;
- }
- }
- }
-
- part {
- name: "elm.log.action";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.log.action.bg";
- rel2.to: "elm.log.action.bg";
- }
- }
-
- part {
- name: "elm.sub.text.time";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 50.0/MAIN_LIST_WIDTH 51.0/MAIN_LIST_HEIGHT; to:base;}
- rel2 { relative: 380.0/MAIN_LIST_WIDTH 80.0/MAIN_LIST_HEIGHT; to:base;}
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 70 70;
- max: 70 70;
- fixed: 1 1;
- visible: 1;
- align: 0.0 0.0;
- rel1 { relative: 395.0/MAIN_LIST_WIDTH 10.0/MAIN_LIST_HEIGHT; to:base; }
- rel2 { relative: 465.0/MAIN_LIST_WIDTH 80.0/MAIN_LIST_HEIGHT; to:base; }
- }
- }
-
- part {
- name: "elm.thumbnail";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
-#endif
-
- part {
- name: "disclip";
- type: RECT;
-
- 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 {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- //target: "bg_image";
- target: "bg";
- target: "elm.text";
- //target: "elm.text.sub";
- target: "elm.sub.text.time";
- target: "bg_image";
- }
-
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text";
- //target: "elm.text.sub";
- target: "elm.sub.text.time";
- 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";
- }
-
- // For sweep effect
- program {
- name: "go_slide_left";
- signal: "elm,state,slide,right";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "bg";
- after: "hide_step1";
- }
-
- program {
- name: "go_slide_right";
- signal: "elm,state,slide,left";
- source: "elm";
- action: STATE_SET "hide" 0.3;
- target: "bg";
- after: "show_step1";
- }
-
- program {
- name: hide_step1;
- action: STATE_SET "hide" 0.1;
- target: "bg";
- transition: LINEAR 0.3;
- after: hide_step2;
- }
-
- program {
- name: hide_step2;
- action: STATE_SET "hide" 0.2;
- target: "bg";
- transition: LINEAR 0.3;
- after: hide_step3;
- }
-
- program {
- name: hide_step3;
- action: STATE_SET "hide" 0.3;
- target: "bg";
- transition: LINEAR 0.3;
- }
-
- program {
- name: show_step1;
- action: STATE_SET "hide" 0.2;
- target: "bg";
- transition: LINEAR 0.3;
- after: show_step2;
- }
-
- program {
- name: show_step2;
- action: STATE_SET "hide" 0.1;
- target: "bg";
- transition: LINEAR 0.3;
- after: show_step3;
- }
-
- program {
- name: show_step3;
- action: STATE_SET "hide" 0.0;
- target: "bg";
- transition: LINEAR 0.3;
- after: show_step4;
- }
-
- program {
- name: show_step4;
- action: STATE_SET "default" 0.0;
- target: "bg";
- transition: LINEAR 0.3;
- }
-
- }
- }
-
-
- group{
- name: "elm/genlist/item/favorite_list/logfavor/calllog/default";
- alias: "elm/genlist/item_odd/favoirte_list/logfavor/calllog/default";
- alias: "elm/genlist/item_compress/favoirte_list/logfavor/calllog/default";
- alias: "elm/genlist/item_compress_odd/favoirte_list/logfavor/calllog/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub elm.sub.text.time elm.sweep.text";
- data.item: "icons" "elm.thumbnail elm.log.type elm.log.action call_button_bg msg_button_bg videocall_button_bg delete_button_bg";
- data.item: "treesize" "20";
- data.item: "allow_slide" "1";
- images {
- image: "calllog/00_list_bar_press_1x80.png" COMP;
- image: "calllog/00_list_thumbnail_bg.png" COMP;
- //image: "calllog/btn_normal.png" COMP;
- //image: "calllog/btn_selected.png" COMP;
- image: "calllog/00_list_photo_bg.png" COMP;
- image: "calllog/caller_ID_default_70x70_box.png" COMP;
- image: "calllog/logs_sweep_btn_bg_normal.png" COMP;
- image: "calllog/logs_sweep_btn_bg_press.png" COMP;
- image: "calllog/logs_sweep_icon_call.png" COMP;
- image: "calllog/logs_sweep_icon_call_press.png" COMP;
- image: "calllog/logs_sweep_icon_msg.png" COMP;
- image: "calllog/logs_sweep_icon_msg_press.png" COMP;
- image: "calllog/logs_sweep_icon_vtcall.png" COMP;
- image: "calllog/logs_sweep_icon_vtcall_press.png" COMP;
- image: "calllog/logs_sweep_icon_delete.png" COMP;
- image: "calllog/logs_sweep_icon_delete_press.png" COMP;
- }
-
- parts {
- part {
- name: "base";
- type: RECT;
- repeat_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 90;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- }
-
- part {
- name: "call_button_bg";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 15.0/480.0 35.0/90.0; offset:0 0; to:base;}
- rel2 { relative: 115.0/480.0 85.0/90.0; offset:-1 -1; to:base;}
- }
- description {
- state: "display" 0.0;
- inherit: "default" 0.0;
- //visible: 1;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
-
- }
-
-
-
- part {
- name: "msg_button_bg";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 130.0/480.0 35.0/90.0; offset:0 0; to:base;}
- rel2 { relative: 230.0/480.0 85.0/90.0; offset:-1 -1; to:base;}
- }
- description {
- state: "display" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
-
- }
-
-
- part {
- name: "videocall_button_bg";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 245.0/480.0 35.0/90.0; offset:0 0; to:base;}
- rel2 { relative: 345.0/480.0 85.0/90.0; offset:-1 -1; to:base;}
- }
- description {
- state: "display" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
-
- }
-
- part {
- name: "delete_button_bg";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 { relative: 360.0/480.0 35.0/90.0; offset:0 0; to:base;}
- rel2 { relative: 460.0/480.0 85.0/90.0; offset:-1 -1; to:base;}
- }
- description {
- state: "display" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
-
- }
-
- part {
- name: "elm.sweep.text";
- //clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 25;
- fixed: 0 1;
- align: 0 0;
- visible: 1;
- //rel1 { relative: 1.0 1.0; to_x: "elm.padding.left.sweep"; to_y: "elm.padding.sweep.text.top"; }
- //rel2 { relative: 0.0 1.0; offset: 0 0; to_x: "elm.padding.right.sweep"; to_y: "elm.padding.sweep.text.top"; }
- rel1 { relative: 15.0/480.0 5.0/90.0; offset:0 0;}
- rel2 { relative: 400.0/480.0 30.0/90.0; offset:-1 -1;}
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 24;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- /*description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- description {
- state: "display" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }*/
- }
-
- part {
- name: "bg";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- 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; }
- }
- }
-
- part {
- name: "bg_image";
- clip_to: "disclip";
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- visible: 0;
- image.normal: "calllog/00_list_bar_press_1x80.png";
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "bottom_line";
- type: RECT;
- //clip_to: "disclip";
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- min: 0 1;
- fixed: 0 1;
- visible: 1;
- color: GENLIST_PART_BOTTOM_LINE_INC;
- rel1 { relative: 0.0 1.0; offset: 0 -1; }
- }
- }
-
-#if 1
- part {
- name: "elm.padding.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.text.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel1.relative: 0.0 1.0;
- align: 0.0 1.0;
- }
- }
-
- part {
- name: "elm.padding.left";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 70 70;
- max: 70 70;
- fixed: 1 1;
- visible: 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
- rel2 { relative: 1.0 0.0; offset: -1 -1; to_x: "elm.padding.left"; to_y: "elm.padding.bottom"; }
- image {
- normal: "calllog/caller_ID_default_70x70_box.png";
- //border: 7 7 7 7;
- }
- }
- }
-
- part {
- name: "elm.thumbnail";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
-
- part {
- name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.thumbnail"; }
- rel2.to_x: "elm.thumbnail";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.text.right.end";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 47 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 { relative: 1.0 1.0; to_x: "elm.padding.thumbnail.right"; to_y: "elm.padding.text.top"; }
- rel2 { relative: 0.0 1.0; offset: -1 -1; to_x: "elm.text.right.end"; to_y: "elm.padding.text.top"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "elm.padding.log.type.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 14;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.log.type.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 44;
- fixed: 0 1;
- visible: 0;
- rel1.relative: 0.0 1.0;
- align: 0.0 1.0;
- }
- }
-
- part {
- name: "elm.log.type.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 32 32;
- max: 32 32;
- fixed: 1 1;
- visible: 0;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 0; to_x: "elm.text"; to_y: "elm.padding.log.type.top"; }
- rel2 { relative: 1.0 0.0; offset: -1 -1; to_x: "elm.text"; to_y: "elm.padding.log.type.bottom"; }
- image {
- normal: "calllog/caller_ID_default_70x70_box.png";
- border: 1 1 1 1;
- }
- }
- }
-
- part {
- name: "elm.log.type";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.log.type.bg";
- rel2.to: "elm.log.type.bg";
- }
- }
-
- part {
- name: "elm.padding.log.action.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 4;
- fixed: 0 1;
- visible: 0;
- align: 0.0 1.0;
- rel1 { relative: 1.0 0.0; offset: 0 0; to_x: "elm.padding.thumbnail.right"; to_y: "elm.padding.bottom"; }
- rel2 { relative: 0.0 0.0; offset: 0 0; to_x: "elm.text.right.end"; to_y: "elm.padding.bottom"; }
- }
- }
-
- part {
- name: "elm.log.action.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 25 25;
- max: 25 25;
- fixed: 1 1;
- visible: 0;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 1; to_x: "elm.padding.thumbnail.right"; to_y: "elm.text"; }
- rel2 { relative: 1.0 0.0; offset: -1 -1; to_x: "elm.padding.thumbnail.right"; to_y: "elm.padding.log.action.bottom"; }
- image {
- normal: "calllog/00_list_thumbnail_bg.png";
- border: 1 1 1 1;
- }
- }
- }
-
- part {
- name: "elm.log.action";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.log.action.bg";
- rel2.to: "elm.log.action.bg";
- }
- }
-
- part {
- name: "elm.padding.log.action.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 14 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.log.action"; }
- rel2.to_x: "elm.log.action";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.sub.text.right.end";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 150 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.text.sub";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; to_x: "elm.padding.log.action.right"; to_y: "elm.text"; }
- rel2 { relative: 0.0 1.0; offset: -1 -1; to_x: "elm.padding.sub.text.right.end"; to_y: "elm.text"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "elm.padding.sub.text.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.text.sub"; }
- rel2.to_x: "elm.text.sub";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.sub.text.time";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.sub.text.right";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -1 -1;
- to_x: "elm.padding.right";
- to_y: "elm.text";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 0 1;
- align: 1.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
-#else // caller ID location change layout
-
- part {
- name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 { relative: 15.0/MAIN_LIST_WIDTH 10.0/MAIN_LIST_HEIGHT; to:base; }
- rel2 { relative: 380.0/MAIN_LIST_WIDTH 50.0/MAIN_LIST_HEIGHT; to:base; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "elm.log.action.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 25 25;
- max: 25 25;
- fixed: 1 1;
- visible: 0;
- align: 0.0 0.0;
- rel1 { relative: 15.0/MAIN_LIST_WIDTH 51.0/MAIN_LIST_HEIGHT; to:base; }
- rel2 { relative: 40.0/MAIN_LIST_WIDTH 76.0/MAIN_LIST_HEIGHT; to:base; }
- image {
- normal: "calllog/00_list_thumbnail_bg.png";
- border: 1 1 1 1;
- }
- }
- }
-
- part {
- name: "elm.log.action";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.log.action.bg";
- rel2.to: "elm.log.action.bg";
- }
- }
-
- part {
- name: "elm.sub.text.time";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 50.0/MAIN_LIST_WIDTH 51.0/MAIN_LIST_HEIGHT; to:base;}
- rel2 { relative: 380.0/MAIN_LIST_WIDTH 80.0/MAIN_LIST_HEIGHT; to:base;}
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 70 70;
- max: 70 70;
- fixed: 1 1;
- visible: 1;
- align: 0.0 0.0;
- rel1 { relative: 395.0/MAIN_LIST_WIDTH 10.0/MAIN_LIST_HEIGHT; to:base; }
- rel2 { relative: 465.0/MAIN_LIST_WIDTH 80.0/MAIN_LIST_HEIGHT; to:base; }
- }
- }
-
- part {
- name: "elm.thumbnail";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
-#endif
-
- part {
- name: "disclip";
- type: RECT;
-
- 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 {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- //target: "bg_image";
- target: "bg";
- target: "elm.text";
- //target: "elm.text.sub";
- target: "elm.sub.text.time";
- target: "bg_image";
- }
-
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text";
- //target: "elm.text.sub";
- target: "elm.sub.text.time";
- 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";
- }
-
- // For sweep effect
- program {
- name: "go_slide_left";
- signal: "elm,state,slide,right";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "bg";
- after: "hide_step1";
- }
-
- program {
- name: "go_slide_right";
- signal: "elm,state,slide,left";
- source: "elm";
- action: STATE_SET "hide" 0.3;
- target: "bg";
- after: "show_step1";
- }
-
- program {
- name: hide_step1;
- action: STATE_SET "hide" 0.1;
- target: "bg";
- transition: LINEAR 0.3;
- after: hide_step2;
- }
-
- program {
- name: hide_step2;
- action: STATE_SET "hide" 0.2;
- target: "bg";
- transition: LINEAR 0.3;
- after: hide_step3;
- }
-
- program {
- name: hide_step3;
- action: STATE_SET "hide" 0.3;
- target: "bg";
- transition: LINEAR 0.3;
- }
-
- program {
- name: show_step1;
- action: STATE_SET "hide" 0.2;
- target: "bg";
- transition: LINEAR 0.3;
- after: show_step2;
- }
-
- program {
- name: show_step2;
- action: STATE_SET "hide" 0.1;
- target: "bg";
- transition: LINEAR 0.3;
- after: show_step3;
- }
-
- program {
- name: show_step3;
- action: STATE_SET "hide" 0.0;
- target: "bg";
- transition: LINEAR 0.3;
- after: show_step4;
- }
-
- program {
- name: show_step4;
- action: STATE_SET "default" 0.0;
- target: "bg";
- transition: LINEAR 0.3;
- }
-
- }
- }
-
-// check ug genlist theme
- group{
- name: "elm/genlist/item/check_genlist/logfavor/calllog/default";
- alias: "elm/genlist/item_odd/check_genlist/logfavor/calllog/default";
- alias: "elm/genlist/item_compress/check_genlist/logfavor/calllog/default";
- alias: "elm/genlist/item_compress_odd/check_genlist/logfavor/calllog/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub elm.sub.text.time";
- data.item: "icons" "elm.thumbnail elm.log.type elm.log.action";
- data.item: "treesize" "20";
- images {
- image: "calllog/00_list_bar_press_1x80.png" COMP;
- image: "calllog/00_list_thumbnail_bg.png" COMP;
- image: "calllog/caller_ID_default_70x70_box.png" COMP;
- }
-
- parts {
- part {
- name: "base";
- type: RECT;
- repeat_events: 1;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 90;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- }
-
- part {
- name: "bg";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- color: GENLIST_PART_BG_COLOR_INC;
- }
-
- }
-
- part {
- name: "bg_image";
- clip_to: "disclip";
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- visible: 0;
- image.normal: "calllog/00_list_bar_press_1x80.png";
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "bottom_line";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- min: 0 1;
- fixed: 0 1;
- visible: 1;
- color: GENLIST_PART_BOTTOM_LINE_INC;
- rel1 { relative: 0.0 1.0; offset: 0 -1; }
- }
- }
-
-
-
- part {
- name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.text.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel1.relative: 0.0 1.0;
- align: 0.0 1.0;
- }
- }
-
- part {
- name: "elm.padding.left";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 70 70;
- max: 70 70;
- fixed: 1 1;
- visible: 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
- rel2 { relative: 1.0 0.0; offset: 0 0; to_x: "elm.padding.left"; to_y: "elm.padding.bottom"; }
- image {
- normal: "calllog/caller_ID_default_70x70_box.png";
- //border: 1 1 1 1;
- }
- }
- }
-
- part {
- name: "elm.thumbnail";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
-
- part {
- name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.thumbnail"; }
- rel2.to_x: "elm.thumbnail";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.text.right.end";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 47 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 { relative: 1.0 1.0; to_x: "elm.padding.thumbnail.right"; to_y: "elm.padding.text.top"; }
- rel2 { relative: 0.0 1.0; offset: 0 0; to_x: "elm.text.right.end"; to_y: "elm.padding.text.top"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "elm.padding.log.type.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 14;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.log.type.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 44;
- fixed: 0 1;
- visible: 0;
- rel1.relative: 0.0 1.0;
- align: 0.0 1.0;
- }
- }
-
- part {
- name: "elm.log.type.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 32 32;
- max: 32 32;
- fixed: 1 1;
- visible: 0;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 0; to_x: "elm.text"; to_y: "elm.padding.log.type.top"; }
- rel2 { relative: 1.0 0.0; offset: 0 0; to_x: "elm.text"; to_y: "elm.padding.log.type.bottom"; }
- image {
- normal: "calllog/00_list_thumbnail_bg.png";
- border: 1 1 1 1;
- }
- }
- }
-
- part {
- name: "elm.log.type";
- clip_to: "disclip";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.to: "elm.log.type.bg";
- rel2.to: "elm.log.type.bg";
- }
- }
-
- part {
- name: "elm.padding.log.action.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 4;
- fixed: 0 1;
- visible: 0;
- align: 0.0 1.0;
- rel1 { relative: 1.0 0.0; offset: 0 0; to_x: "elm.padding.thumbnail.right"; to_y: "elm.padding.bottom"; }
- rel2 { relative: 0.0 0.0; offset: 0 0; to_x: "elm.text.right.end"; to_y: "elm.padding.bottom"; }
- }
- }
-
- part {
- name: "elm.log.action.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 25 25;
- max: 25 25;
- fixed: 1 1;
- visible: 0;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 1; to_x: "elm.padding.thumbnail.right"; to_y: "elm.text"; }
- rel2 { relative: 1.0 0.0; offset: 0 0; to_x: "elm.padding.thumbnail.right"; to_y: "elm.padding.log.action.bottom"; }
- image {
- normal: "calllog/00_list_thumbnail_bg.png";
- border: 1 1 1 1;
- }
- }
- }
-
- part {
- name: "elm.log.action";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.log.action.bg";
- rel2.to: "elm.log.action.bg";
- }
- }
-
- part {
- name: "elm.padding.log.action.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 14 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.log.action"; }
- rel2.to_x: "elm.log.action";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.sub.text.right.end";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 130 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.text.sub";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; to_x: "elm.padding.log.action.right"; to_y: "elm.text"; }
- rel2 { relative: 0.0 1.0; offset: 0 0; to_x: "elm.padding.sub.text.right.end"; to_y: "elm.text"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "elm.padding.sub.text.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.text.sub"; }
- rel2.to_x: "elm.text.sub";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.sub.text.time";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; to_x: "elm.padding.sub.text.right"; to_y: "elm.text"; }
- rel2 { relative: 0.0 1.0; offset: 0 0; to_x: "elm.padding.right"; to_y: "elm.text"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "disclip";
- type: RECT;
-
- 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 {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- target: "elm.sub.text.time";
- }
-
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- target: "elm.sub.text.time";
- 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/genlist/item/empty/logfavor/calllog/default";
- alias: "elm/genlist/item_odd/empty/logfavor/calllog/default";
- alias: "elm/genlist/item_compress/empty/logfavor/calllog/default";
- alias: "elm/genlist/item_compress_odd/empty/logfavor/calllog/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "treesize" "20";
-
- parts {
- part {
- name: "base";
- type: RECT;
- repeat_events: 1;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 90;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 { relative: 0.5 0.5; to_x: "base"; to_y: "base"; }
- rel2 { relative: 0.5 0.5; to_x: "base"; to_y: "base"; }
- color: 100 100 100 255;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- }
-}
-
-////////////////////////////////////////////////////////////////
-group {
- name: "elm/genlist/item/large_empty/logfavor/calllog/default";
- alias: "elm/genlist/item_odd/large_empty/logfavor/calllog/default";
- alias: "elm/genlist/item_compress/large_empty/logfavor/calllog/default";
- alias: "elm/genlist/item_compress_odd/large_empty/logfavor/calllog/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "treesize" "20";
-
- styles {
- style {
- name: "dialer_textblock_style";
- base: "font=SLP:style=Roman font_size=32 align=center color=#ffffff wrap=word";
- tag: "gray" "+ color=#808080";
- tag: "right" "+ align=right";
- }
- }
-
- parts {
- part {
- name: "base";
- type: RECT;
- mouse_events: 1;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 100;
- color: GENLIST_PART_BG_COLOR_INC;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
-
- part {
- name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- //min: 0 150;
- //fixed: 1 1;
- //align: 0.5 0.5;
- //rel1 { relative: 0.5 0.5; to_x: "base"; to_y: "base"; }
- //rel2 { relative: 0.5 0.5; to_x: "base"; to_y: "base"; }
- rel1 { relative: 0.0 0.0; to_x: "base"; to_y: "base"; }
- rel2 { relative: 1.0 1.0; to_x: "base"; to_y: "base"; }
- color: 100 100 100 255;
- text { style: "dialer_textblock_style"; }
- //text {
- // font: "SLP:style=Roman";
- // size: 32;
- // min: 1 1;
- // align: 0.5 0.5;
- // wrap: word;
- //}
- }
- }
- }
-}
-
-
-////////////////////////////////////////////////////////////////
-group {
- name: "elm/genlist/item/example_item/logfavor/calllog/default";
- alias: "elm/genlist/item_odd/example_item/logfavor/calllog/default";
- alias: "elm/genlist/item_compress/example_item/logfavor/calllog/default";
- alias: "elm/genlist/item_compress_odd/example_item/logfavor/calllog/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub elm.sub.text.time ";
- data.item: "icons" "elm.thumbnail elm.log.type elm.log.action";
- data.item: "treesize" "20";
- images {
- image: "calllog/00_list_bar_press_1x80.png" COMP;
- image: "calllog/00_list_thumbnail_bg.png" COMP;
- image: "calllog/00_list_photo_bg.png" COMP;
- image: "calllog/caller_ID_default_70x70_box.png" COMP;
- }
- parts {
- part {
- name: "base";
- type: RECT;
- repeat_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 90;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- }
- part {
- name: "bg";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- 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; }
- }
- }
-
- part {
- name: "elm.padding.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.text.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel1.relative: 0.0 1.0;
- align: 0.0 1.0;
- }
- }
-
- part {
- name: "elm.padding.left";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 70 70;
- max: 70 70;
- fixed: 1 1;
- visible: 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
- rel2 { relative: 1.0 0.0; offset: -1 -1; to_x: "elm.padding.left"; to_y: "elm.padding.bottom"; }
- image {
- normal: "calllog/caller_ID_default_70x70_box.png";
- //border: 7 7 7 7;
- }
- }
- }
-
- part {
- name: "elm.thumbnail";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
- part {
- name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.thumbnail"; }
- rel2.to_x: "elm.thumbnail";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.text.right.end";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 47 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 { relative: 1.0 1.0; to_x: "elm.padding.thumbnail.right"; to_y: "elm.padding.text.top"; }
- rel2 { relative: 0.0 1.0; offset: -1 -1; to_x: "elm.text.right.end"; to_y: "elm.padding.text.top"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "elm.padding.log.type.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 14;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.log.type.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 44;
- fixed: 0 1;
- visible: 0;
- rel1.relative: 0.0 1.0;
- align: 0.0 1.0;
- }
- }
-
- part {
- name: "elm.log.type.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 32 32;
- max: 32 32;
- fixed: 1 1;
- visible: 0;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 0; to_x: "elm.text"; to_y: "elm.padding.log.type.top"; }
- rel2 { relative: 1.0 0.0; offset: -1 -1; to_x: "elm.text"; to_y: "elm.padding.log.type.bottom"; }
- image {
- normal: "calllog/caller_ID_default_70x70_box.png";
- border: 1 1 1 1;
- }
- }
- }
-
- part {
- name: "elm.log.type";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.log.type.bg";
- rel2.to: "elm.log.type.bg";
- }
- }
-
- part {
- name: "elm.padding.log.action.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 4;
- fixed: 0 1;
- visible: 0;
- align: 0.0 1.0;
- rel1 { relative: 1.0 0.0; offset: 0 0; to_x: "elm.padding.thumbnail.right"; to_y: "elm.padding.bottom"; }
- rel2 { relative: 0.0 0.0; offset: 0 0; to_x: "elm.text.right.end"; to_y: "elm.padding.bottom"; }
- }
- }
-
- part {
- name: "elm.log.action.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 25 25;
- max: 25 25;
- fixed: 1 1;
- visible: 0;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 1; to_x: "elm.padding.thumbnail.right"; to_y: "elm.text"; }
- rel2 { relative: 1.0 0.0; offset: -1 -1; to_x: "elm.padding.thumbnail.right"; to_y: "elm.padding.log.action.bottom"; }
- image {
- normal: "calllog/00_list_thumbnail_bg.png";
- border: 1 1 1 1;
- }
- }
- }
-
- part {
- name: "elm.log.action";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.log.action.bg";
- rel2.to: "elm.log.action.bg";
- }
- }
-
- part {
- name: "elm.padding.log.action.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 14 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.log.action"; }
- rel2.to_x: "elm.log.action";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.sub.text.right.end";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 150 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.text.sub";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; to_x: "elm.padding.log.action.right"; to_y: "elm.text"; }
- rel2 { relative: 0.0 1.0; offset: -1 -1; to_x: "elm.padding.sub.text.right.end"; to_y: "elm.text"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "elm.padding.sub.text.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.text.sub"; }
- rel2.to_x: "elm.text.sub";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.sub.text.time";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.sub.text.right";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -1 -1;
- to_x: "elm.padding.right";
- to_y: "elm.text";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 0 1;
- align: 1.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- part {
- name: "disclip";
- type: RECT;
-
- 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;
- }
- }
- }
-}
-
-// For speed dial screen
-
- group {
- name: "elm/genlist/item/2line_text_icon_text/logfavor/calllog/default";
- alias: "elm/genlist/item_odd/2line_text_icon_text/logfavor/calllog/default";
- alias: "elm/genlist/item_compress/2line_text_icon_text/logfavor/calllog/default";
- alias: "elm/genlist/item_compress_odd/2line_text_icon_text/logfavor/calllog/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub elm.sub.text.time elm.text.sl.no";
- data.item: "icons" "elm.thumbnail elm.log.type elm.close.icon";
- data.item: "treesize" "20";
- images {
- image: "calllog/00_list_bar_press_1x80.png" COMP;
- image: "calllog/00_list_thumbnail_bg.png" COMP;
- image: "calllog/caller_ID_default_70x70_box.png" COMP;
- }
-
- parts {
- part {
- name: "base";
- type: RECT;
- repeat_events: 1;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 90;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- }
-
- part {
- name: "bg";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: -0.025 0.0; }
- rel2 { relative: 0.975 1.0; }
- }
- }
-
- part {
- name: "bg_image";
- clip_to: "disclip";
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- visible: 0;
- image.normal: "calllog/00_list_bar_press_1x80.png";
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "bottom_line";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- min: 0 1;
- fixed: 0 1;
- visible: 1;
- color: GENLIST_PART_BOTTOM_LINE_INC;
- rel1 { relative: 0.0 1.0; offset: 0 -1; }
- }
- }
-
- part {
- name: "elm.padding.left.sl.no";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- visible: 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.text.sl.no";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 { relative: 0.02 0.0; }
- rel2 { relative: 1.0 1.0; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
-
- part {
- name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.text.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel1.relative: 0.0 1.0;
- align: 0.0 1.0;
- }
- }
-
- part {
- name: "elm.padding.left";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 57 0;
- fixed: 1 0;
- visible: 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.close.icon";
- type: SWALLOW;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 60 60;
- max: 60 60;
- fixed: 1 1;
- visible: 1;
- align: 0.0 0.5;
- rel1 { relative: 0.0 1.0; offset: -60 0; to_x: "elm.padding.right"; to_y: "elm.padding.top"; }
- rel2 { relative: 0.0 0.0; offset: -60 0; to_x: "elm.padding.right"; to_y: "elm.padding.bottom"; }
- }
- }
-
- part {
- name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 70 70;
- max: 70 70;
- fixed: 1 1;
- visible: 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
- rel2 { relative: 1.0 0.0; offset: 0 0; to_x: "elm.padding.left"; to_y: "elm.padding.bottom"; }
- image {
- normal: "calllog/caller_ID_default_70x70_box.png";
- //border: 1 1 1 1;
- }
- }
- }
-
- part {
- name: "elm.thumbnail";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
-
- part {
- name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.thumbnail"; }
- rel2.to_x: "elm.thumbnail";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.text.right.end";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 47 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 { relative: 1.0 1.0; to_x: "elm.padding.thumbnail.right"; to_y: "elm.padding.text.top"; }
- rel2 { relative: 0.0 1.0; offset: 0 0; to_x: "elm.text.right.end"; to_y: "elm.padding.text.top"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "elm.padding.log.type.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 14;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.log.type.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 44;
- fixed: 0 1;
- visible: 0;
- rel1.relative: 0.0 1.0;
- align: 0.0 1.0;
- }
- }
-
- part {
- name: "elm.log.type.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 32 32;
- max: 32 32;
- fixed: 1 1;
- visible: 0;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 0; to_x: "elm.text"; to_y: "elm.padding.log.type.top"; }
- rel2 { relative: 1.0 0.0; offset: 0 0; to_x: "elm.text"; to_y: "elm.padding.log.type.bottom"; }
- image {
- normal: "calllog/00_list_thumbnail_bg.png";
- border: 1 1 1 1;
- }
- }
- }
-
- part {
- name: "elm.log.type";
- clip_to: "disclip";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.to: "elm.log.type.bg";
- rel2.to: "elm.log.type.bg";
- }
- }
-
-
- part {
- name: "elm.padding.sub.text.right.end";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 150 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
- part {
- name: "elm.text.sub";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; to_x: "elm.padding.thumbnail.right"; to_y: "elm.text"; }
- rel2 { relative: 0.0 1.0; offset: 0 0; to_x: "elm.padding.sub.text.right.end"; to_y: "elm.text"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "elm.padding.sub.text.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.text.sub"; }
- rel2.to_x: "elm.text.sub";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.sub.text.time";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; to_x: "elm.padding.sub.text.right"; to_y: "elm.text"; }
- rel2 { relative: 0.0 1.0; offset: 0 0; to_x: "elm.padding.right"; to_y: "elm.text"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "disclip";
- type: RECT;
-
- 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 {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- target: "elm.sub.text.time";
- target: "elm.text.sl.no";
- }
-
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- target: "elm.sub.text.time";
- target: "elm.text.sl.no";
- 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";
- }
- }
- }
-
-
-//Empty Speed dial
-
- group {
- name: "elm/genlist/item/1line_text_icon_text/logfavor/calllog/default";
- alias: "elm/genlist/item_odd/1line_text_icon_text/logfavor/calllog/default";
- alias: "elm/genlist/item_compress/1line_text_icon_text/logfavor/calllog/default";
- alias: "elm/genlist/item_compress_odd/1line_text_icon_text/logfavor/calllog/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sl.no";
- data.item: "icons" "elm.thumbnail";
- data.item: "treesize" "20";
- images {
- image: "calllog/00_list_bar_press_1x80.png" COMP;
- image: "calllog/00_list_thumbnail_bg.png" COMP;
- image: "calllog/caller_ID_default_70x70_box.png" COMP;
-
- }
-
- parts {
- part {
- name: "base";
- type: RECT;
- repeat_events: 1;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 90;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- }
-
- part {
- name: "bg";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: -0.025 0.0; }
- rel2 { relative: 0.975 1.0; }
- }
- }
-
- part {
- name: "bg_image";
- clip_to: "disclip";
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- visible: 0;
- image.normal: "calllog/00_list_bar_press_1x80.png";
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "bottom_line";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- min: 0 1;
- fixed: 0 1;
- visible: 1;
- color: GENLIST_PART_BOTTOM_LINE_INC;
- rel1 { relative: 0.0 1.0; offset: 0 -1; }
- }
- }
-
- part {
- name: "elm.padding.left.sl.no";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- visible: 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.text.sl.no";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 { relative: 0.02 0.0; }
- rel2 { relative: 1.0 1.0; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
-
- part {
- name: "elm.padding.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.text.top";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 25;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.bottom";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- visible: 0;
- rel1.relative: 0.0 1.0;
- align: 0.0 1.0;
- }
- }
-
- part {
- name: "elm.padding.left";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 57 0;
- fixed: 1 0;
- visible: 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.padding.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.0;
- }
- }
-
-
-
-
-
-
- part {
- name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 70 70;
- max: 70 70;
- fixed: 1 1;
- visible: 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; offset: 0 0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
- rel2 { relative: 1.0 0.0; offset: 0 0; to_x: "elm.padding.left"; to_y: "elm.padding.bottom"; }
- image {
- normal: "calllog/caller_ID_default_70x70_box.png";
- //border: 1 1 1 1;
- }
- }
- }
-
- part {
- name: "elm.thumbnail";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
-
- part {
- name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x: "elm.thumbnail"; }
- rel2.to_x: "elm.thumbnail";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part {
- name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 { relative: 1.0 1.0; to_x: "elm.padding.thumbnail.right"; to_y: "elm.padding.text.top"; }
- rel2 { relative: 0.0 1.0; offset: 0 0; to_x: "elm.padding.right"; to_y: "elm.padding.text.top"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
-
- part {
- name: "disclip";
- type: RECT;
-
- 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 {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sl.no";
- }
-
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sl.no";
- 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";
- }
- }
- }
-
-
-
-///////////////////////////////////////////////////////////////////////////////////////////////////////
-
-// detail view with BeatUX
-
-#define D_GENLIST_HEIGHT 90.0
-#define D_GENLIST_WIDTH 450.0
-
- group {
- name: "elm/genlist/item/detail_2line_genlist/logfavor/calllog/default";
- alias: "elm/genlist/item_odd/detail_2line_genlist/logfavor/calllog/default";
- alias: "elm/genlist/item_compress/detail_2line_genlist/logfavor/calllog/default";
- alias: "elm/genlist/item_compress_odd/detail_2line_genlist/logfavor/calllog/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "detail_glist_time detail_glist_data";
- data.item: "icons" "detail_glist_typeicon detail_glist_actionicon";
- data.item: "treesize" "20";
- images {
- image: "calllog/00_list_bar_press_1x80.png" COMP;
- image: "calllog/00_list_thumbnail_bg.png" COMP;
- }
-
- parts {
- part {
- name: "detail_base";
- type: RECT;
- repeat_events: 1;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 D_GENLIST_HEIGHT;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- }
-
- part {
- name: "detail_glist_bg";
- type: RECT;
- clip_to:"disclip";
- mouse_events: 0;
-
- description {
- state: "default" 0.0;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- }
-
- part {
- name: "detail_glist_bottom_line";
- type: RECT;
- clip_to:"disclip";
- mouse_events: 0;
- //scale: 1;
-
- description {
- state: "default" 0.0;
- min: 0 5;
- fixed: 0 1;
- visible: 1;
- color: GENLIST_PART_BOTTOM_LINE_INC;
- rel1{ relative: 0.0 1.0; to:"detail_glist_bg"; }
- rel2{ relative: 1.0 1.0; to:"detail_glist_bg"; }
- }
- }
-
- part {
- name: "detail_glist_time";
- clip_to:"disclip";
- type: TEXT;
- scale: 1;
- effect: SHADOW;
-
- description {
- state: "default" 0.0;
- rel1{ relative: 15.0/D_GENLIST_WIDTH 14.0/D_GENLIST_HEIGHT; to:"detail_base"; }
- rel2{ relative: (450.0 -15.0)/D_GENLIST_WIDTH 51.0/D_GENLIST_HEIGHT; to:"detail_base"; }
- color: 40 40 40 255;
- visible: 1;
- text {
- font: "SLP:style=Roman";
- size: 32;
- text: "";
- align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: "detail_glist_typeicon_bg";
- clip_to:"disclip";
- type: IMAGE;
- scale: 1;
-
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- visible: 0;
- min: 32 32;
- max: 32 32;
- rel1{ relative: (450.0 -37.0)/D_GENLIST_WIDTH 14.0/D_GENLIST_HEIGHT; to:"detail_base"; }
- rel2{ relative: (450.0 -15.0)/D_GENLIST_WIDTH 51.0/D_GENLIST_HEIGHT; to:"detail_base"; }
-
- image{
- normal: "calllog/00_list_thumbnail_bg.png";
- //border: 1 1 1 1;
- }
-
- }
- }
-
- part {
- name: "detail_glist_typeicon";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "detail_glist_typeicon_bg";
- rel2.to: "detail_glist_typeicon_bg";
- }
- }
-
- part {
- name: "detail_glist_actionicon_bg";
- clip_to:"disclip";
- type: IMAGE;
- scale: 1;
-
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- visible: 0;
- min: 25 25;
- max: 25 25;
- rel1{ relative: 15.0/D_GENLIST_WIDTH 51.0/D_GENLIST_HEIGHT; to:"detail_base"; }
- rel2{ relative: (15.0 + 25.0)/D_GENLIST_WIDTH (51.0 + 25.0)/D_GENLIST_HEIGHT; to:"detail_base"; }
-
- image{
- normal: "calllog/00_list_thumbnail_bg.png";
- //border: 1 1 1 1;
- }
-
- }
- }
-
- part {
- name: "detail_glist_actionicon";
- clip_to: "disclip";
- type: SWALLOW;
-
- description {
- state: "default" 0.0;
- rel1.to: "detail_glist_actionicon_bg";
- rel2.to: "detail_glist_actionicon_bg";
- }
- }
-
-
- part{
- name: "disclip";
- type: RECT;
-
- description{
- state: "default" 0.0;
- rel1.to: "detail_glist_bg";
- rel2.to: "detail_glist_bg";
- }
- description{
- state: "desabled" 0.0;
- inherit: "default" 0.0;
- color:255 255 255 64;
- }
-
- }
-
- part {
- name: "detail_glist_data";
- clip_to:"disclip";
- type: TEXT;
- scale: 1;
- effect: SHADOW;
-
- description {
- state: "default" 0.0;
- rel1{ relative: (15.0 + 25.0 + 3.0)/D_GENLIST_WIDTH 51.0/D_GENLIST_HEIGHT; to:"detail_base"; }
- rel2{ relative: (450.0 -15.0)/D_GENLIST_WIDTH 76.0/D_GENLIST_HEIGHT; to:"detail_base"; }
- color: 40 40 40 255;
- visible: 1;
- text {
- font: "SLP:style=Roman";
- size: 20;
- text: "";
- align: 0.0 0.5;
- }
- }
- }
-
-
- }
- }
-
+++ /dev/null
-#define CT_NAME_REGION_WIDTH 480
-#define CT_NAME_REGION_HEIGHT 150
-#define CT_DISPLAY_NAME_FONT_SIZE 40
-
-#define CT_GROUP_NAME_FONT_SIZE 24
-#define CT_GROUP_NAME_FONT_COLOR 99 99 99 255
-
-#define CT_NAME_IMAGE_WIDTH 125
-#define CT_NAME_IMAGE_HEIGHT 125
-#define CT_NAME_IMAGE_START_X (15/CT_NAME_REGION_WIDTH)
-#define CT_NAME_IMAGE_START_Y (13/CT_NAME_REGION_HEIGHT)
-#define CT_NAME_IMAGE_END_X ((15+CT_NAME_IMAGE_WIDTH)/CT_NAME_REGION_WIDTH)
-#define CT_NAME_IMAGE_END_Y ((13+CT_NAME_IMAGE_HEIGHT)/CT_NAME_REGION_HEIGHT)
-
-#define CT_DISPLAY_NAME_WIDTH 322
-#define CT_DISPLAY_NAME_HEIGHT 43
-#define CT_DISPLAY_NAME_START_X ((15+CT_NAME_IMAGE_WIDTH+18)/CT_NAME_REGION_WIDTH)
-#define CT_DISPLAY_NAME_START_Y (37/CT_NAME_REGION_HEIGHT)
-#define CT_DISPLAY_NAME_END_X (CT_NAME_REGION_WIDTH/CT_NAME_REGION_WIDTH)
-#define CT_DISPLAY_NAME_END_Y ((37+CT_DISPLAY_NAME_HEIGHT)/CT_NAME_REGION_HEIGHT)
-
-#define CT_GROUP_NAME_WIDTH 322
-#define CT_GROUP_NAME_HEIGHT 26
-#define CT_GROUP_NAME_START_X CT_DISPLAY_NAME_START_X
-#define CT_GROUP_NAME_START_Y ((37+CT_DISPLAY_NAME_HEIGHT+8)/CT_NAME_REGION_HEIGHT)
-#define CT_GROUP_NAME_END_X CT_DISPLAY_NAME_END_X
-#define CT_GROUP_NAME_END_Y ((37+CT_DISPLAY_NAME_HEIGHT+8+CT_GROUP_NAME_HEIGHT)/CT_NAME_REGION_HEIGHT)
-
-group {
- name: "elm/layout/contacts/search_contacts_view";
-
- parts
- {
- part {
- name: "bg";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
- //color: 152 149 141 255;
- }
- }
- part {
- name: "search_bar";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 480 69;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; to: "bg";}
- rel2 { relative: 1.0 0.0; to: "bg";}
- }
- }
- part {
- name: "search_list";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to: "search_bar"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- }
- }
- part { name: "search_list_index";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- rel1 { to: "search_list"; }
- rel2 { to: "search_list"; }
- }
- }
- }
-
-}
-
-group {
- name: "elm/layout/contacts/ct-detail-view-layout";
- parts {
-
- part { name: "bg";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
- //color: 204 198 180 255;
- }
- }
-
- part {
- name: "sw-name-region";
- mouse_events: 1;
- scale : 1;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- min: CT_NAME_REGION_WIDTH CT_NAME_REGION_HEIGHT;
- max: CT_NAME_REGION_WIDTH CT_NAME_REGION_HEIGHT;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; to: "bg";}
- rel2 { relative: 1.0 0.0; to: "bg";}
- }
-
- }
-
- part {
- name: "sw-content";
- mouse_events: 1;
- scale : 1;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to: "sw-name-region"; }
- rel2 { relative: 1.0 1.0; to: "bg"; }
- }
-
- }
- }
-}
-
-group {
- min: CT_NAME_REGION_WIDTH CT_NAME_REGION_HEIGHT;
- max: CT_NAME_REGION_WIDTH CT_NAME_REGION_HEIGHT;
- name: "elm/layout/contacts/ct-detail-view-name-region";
- parts {
-
- part {
- name: "name-image";
- mouse_events: 1;
- scale : 0;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- min: CT_NAME_IMAGE_WIDTH CT_NAME_IMAGE_HEIGHT;
- max: CT_NAME_IMAGE_WIDTH CT_NAME_IMAGE_HEIGHT;
- rel1 { relative: CT_NAME_IMAGE_START_X CT_NAME_IMAGE_START_Y; }
- rel2 { relative: CT_NAME_IMAGE_END_X CT_NAME_IMAGE_END_Y; }
- }
-
- }
-
- part {
- name: "sw-display-name";
- type: TEXT;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: CT_DISPLAY_NAME_WIDTH CT_DISPLAY_NAME_HEIGHT;
- max: CT_DISPLAY_NAME_WIDTH CT_DISPLAY_NAME_HEIGHT;
- rel1 { relative: CT_DISPLAY_NAME_START_X CT_DISPLAY_NAME_START_Y; }
- rel2 { relative: CT_DISPLAY_NAME_END_X CT_DISPLAY_NAME_END_Y; }
- align: 0 0.5;
- color: CONTACT_DISPLAY_NAME_FONT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: CT_DISPLAY_NAME_FONT_SIZE;
- text: "";
- min: 1 1;
- align, 0 0.5;
- }
- }
-
- description {
- state: "gray_txt" 0.0;
- inherit: "default" 0.0;
- color: CONTACT_DISPLAY_NAME_FONT_GRAY_COLOR_INC;
- }
- }
-
- part {
- name: "sw-group-name";
- type: TEXT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: CT_GROUP_NAME_WIDTH CT_GROUP_NAME_HEIGHT;
- max: CT_GROUP_NAME_WIDTH CT_GROUP_NAME_HEIGHT;
- rel1 { relative: CT_GROUP_NAME_START_X CT_GROUP_NAME_START_Y; }
- rel2 { relative: CT_GROUP_NAME_END_X CT_GROUP_NAME_END_Y; }
- align: 0 0.5;
- color: CT_GROUP_NAME_FONT_COLOR;
- text {
- font: "SLP:style=Roman";
- size: CT_GROUP_NAME_FONT_SIZE;
- text: "";
- min: 1 1;
- align, 0 0.5;
- }
- }
- }
- }
-
- programs {
- program {
- name: "show_black_txt";
- signal: "elm,ct,show,black";
- source: "elm";
- script {
- set_state(PART:"sw-display-name", "default", 0.0);
- }
- }
-
- program {
- name: "show_gray_txt";
- signal: "elm,ct,show,gray";
- source: "elm";
- script {
- set_state(PART:"sw-display-name", "gray_txt", 0.0);
- }
- }
-
- program {
- name: "mouse_up_change_name";
- signal: "mouse,up,1";
- source: "sw-display-name";
- after: "send_event_change_name";
- }
-
- program {
- name: "send_event_change_name";
- action: SIGNAL_EMIT CT_ADD_EDIT_CHANGE_USER_NAME_SIGNAL "";
- }
- }
-}
-
-group {
- min: CT_NAME_REGION_WIDTH CT_NAME_REGION_HEIGHT;
- max: CT_NAME_REGION_WIDTH CT_NAME_REGION_HEIGHT;
- name: "elm/layout/contacts/ct-detail-view-add-edit-name-region";
- parts {
-
- part {
- name: "name-image";
- mouse_events: 1;
- scale : 0;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- min: CT_NAME_IMAGE_WIDTH CT_NAME_IMAGE_HEIGHT;
- max: CT_NAME_IMAGE_WIDTH CT_NAME_IMAGE_HEIGHT;
- rel1 { relative: CT_NAME_IMAGE_START_X CT_NAME_IMAGE_START_Y; }
- rel2 { relative: CT_NAME_IMAGE_END_X CT_NAME_IMAGE_END_Y; }
- }
-
- }
-
- part {
- name: "chang-name-txt";
- mouse_events: 0;
- scale : 1;
- type: TEXT;
- description {
- state: "default" 0.0;
- min: CT_NAME_IMAGE_WIDTH CT_NAME_IMAGE_HEIGHT;
- max: CT_NAME_IMAGE_WIDTH CT_NAME_IMAGE_HEIGHT;
- rel1 { relative: 0.0 0.0; to: "name-image"; }
- rel2 { relative: 1.0 1.0; to: "name-image"; }
- align: 0.5 0.5;
- color: CONTACT_DISPLAY_NAME_FONT_COLOR_INC;
- text {
- font: CT_NAME_RIGION_FONT_NAME;
- size: CT_GROUP_NAME_FONT_SIZE;
- text: "";
- min: 1 1;
- align, 0 0.5;
- }
- }
-
- }
-
- part {
- name: "sw-display-name";
- type: TEXT;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: CT_DISPLAY_NAME_WIDTH CT_DISPLAY_NAME_HEIGHT;
- max: CT_DISPLAY_NAME_WIDTH CT_DISPLAY_NAME_HEIGHT;
- rel1 { relative: CT_DISPLAY_NAME_START_X CT_DISPLAY_NAME_START_Y; }
- rel2 { relative: CT_DISPLAY_NAME_END_X CT_DISPLAY_NAME_END_Y; }
- align: 0 0.5;
- color: CONTACT_DISPLAY_NAME_FONT_COLOR_INC;
- text {
- font: CT_NAME_RIGION_FONT_NAME;
- size: CT_DISPLAY_NAME_FONT_SIZE;
- text: "";
- min: 1 1;
- align, 0 0.5;
- }
- }
-
- description {
- state: "gray_txt" 0.0;
- inherit: "default" 0.0;
- color: CONTACT_DISPLAY_NAME_FONT_GRAY_COLOR_INC;
- }
- }
-
- part {
- name: "sw-group-name";
- type: TEXT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: CT_GROUP_NAME_WIDTH CT_GROUP_NAME_HEIGHT;
- max: CT_GROUP_NAME_WIDTH CT_GROUP_NAME_HEIGHT;
- rel1 { relative: CT_GROUP_NAME_START_X CT_GROUP_NAME_START_Y; }
- rel2 { relative: CT_GROUP_NAME_END_X CT_GROUP_NAME_END_Y; }
- align: 0 0.5;
- color: CT_GROUP_NAME_FONT_COLOR;
- text {
- font: CT_NAME_RIGION_FONT_NAME;
- size: CT_GROUP_NAME_FONT_SIZE;
- text: "";
- min: 1 1;
- align, 0 0.5;
- }
- }
- }
- }
-
- programs {
- program {
- name: "show_black_txt";
- signal: "elm,ct,show,black";
- source: "elm";
- script {
- set_state(PART:"sw-display-name", "default", 0.0);
- }
- }
-
- program {
- name: "show_gray_txt";
- signal: "elm,ct,show,gray";
- source: "elm";
- script {
- set_state(PART:"sw-display-name", "gray_txt", 0.0);
- }
- }
-
- program {
- name: "mouse_up_change_name";
- signal: "mouse,up,1";
- source: "sw-display-name";
- after: "send_event_change_name";
- }
-
- program {
- name: "send_event_change_name";
- action: SIGNAL_EMIT CT_ADD_EDIT_CHANGE_USER_NAME_SIGNAL "";
- }
- }
-}
-
+++ /dev/null
-#define FONT_SIZE_DEFAULT 24
-#define FONT_SIZE_ATTACHMENT 30
-#define FONT_SIZE_POPUP 30
-#define FONT_SIZE_PREDICTIVE 40
-#define FONT_SIZE_PREDICTIVE_COUNT 23
-//#define FONT_COLOR 0 192 255 255
-
-#define MAIN_W 480 //ok
-#define MAIN_H 800 //ok
-
-#define COMPOSER_INDICATOR_H 48 //ok
-
-#define COMPOSER_W MAIN_W
-#define COMPOSER_H (MAIN_H-COMPOSER_INDICATOR_H)
-
-#define COMPOSER_LIST_W 460
-#define COMPOSER_LIST_H 85//80
-
-#define DEFAULT_U_SPACE_H 16
-#define ALL_LR_SPACE_W 10
-#define TEXT_LR_SPACE_W 18
-#define TEXT_LR_SPACE_H 8
-
-#define ACCOUNT_BUTTON_W 440
-#define ACCOUNT_BUTTON_H 60
-#define ACCOUNT_UD_SPACE_H ((COMPOSER_LIST_H-ACCOUNT_BUTTON_H)/2)
-
-#define SENDING_ACCOUNT_H 92
-#define SENDING_ACCOUNT_UY 346
-#define SENDING_ACCOUNT_DY (SENDING_ACCOUNT_UY+SENDING_ACCOUNT_H)
-#define SENDING_ACCOUNT_BUTTON_W 210
-#define SENDING_ACCOUNT_BUTTON_H 60
-#define SENDING_ACCOUNT_SPACE_W 10
-#define SENDING_ACCOUNT_UD_SPACE_H ((SENDING_ACCOUNT_H-SENDING_ACCOUNT_BUTTON_H)/2)
-
-#define PREDICTIVE_DN_L_X 28
-#define PREDICTIVE_DN_R_X 406
-#define PREDICTIVE_DN_D_Y 42
-#define PREDICTIVE_EM_U_Y 46
-#define PREDICTIVE_EM_D_Y 84
-#define PREDICTIVE_EB_W 60
-#define PREDICTIVE_EB_U_Y 5
-#define PREDICTIVE_EB_D_Y 88
-#define PREDICTIVE_CNT_D_Y 23
-
-
-#define ATTACHMENT_LEFT_ICON_WH 80
-#define ATTACHMENT_RIGHT_ICON_WH 80
-#define ATTACHMENT_LEFT_ICON_U_Y ((COMPOSER_LIST_H-ATTACHMENT_LEFT_ICON_WH)/2)
-#define ATTACHMENT_LEFT_ICON_D_Y (ATTACHMENT_LEFT_ICON_WH+((COMPOSER_LIST_H-ATTACHMENT_LEFT_ICON_WH)/2))
-#define ATTACHMENT_RIGHT_ICON_L_X (COMPOSER_LIST_W-ATTACHMENT_RIGHT_ICON_WH-ALL_LR_SPACE_W)
-#define ATTACHMENT_RIGHT_ICON_U_Y ((COMPOSER_LIST_H-ATTACHMENT_RIGHT_ICON_WH)/2)
-#define ATTACHMENT_RIGHT_ICON_D_Y (ATTACHMENT_RIGHT_ICON_WH+((COMPOSER_LIST_H-ATTACHMENT_RIGHT_ICON_WH)/2))
-#define ATTACHMENT_FILENAME_W 150
-#define ATTACHMENT_FILESIZE_W 120
-#define ATTACHMENT_FILENAME_X (ATTACHMENT_LEFT_ICON_WH+(2*ALL_LR_SPACE_W))
-#define ATTACHMENT_FILESIZE_X (ATTACHMENT_FILENAME_W+ATTACHMENT_LEFT_ICON_WH+(3*ALL_LR_SPACE_W))
-#define ATTACHMENT_FILENAME_U_Y ((COMPOSER_LIST_H-FONT_SIZE_ATTACHMENT)/2)
-#define ATTACHMENT_FILENAME_D_Y (ATTACHMENT_FILENAME_U_Y+FONT_SIZE_ATTACHMENT)
-
-#define ENTRY_TEXT_LR_SPACE_WH 10
-#define POPUP_UD_SPACE_H 30
-
-//#define SOFTKEY_H 78
-
-#define FONT_NAME "HelveN_Asia"
-#define SIGN_FONT_NAME "Sans:style=Oblique,HelveN_Asia"
-//#define TEXT_CLASS_NAME "applications"
-#define SLP_FONT_BOLD "SLP:style=Bold";
-#define SLP_FONT_MEDIUM "SLP:style=Medium";
-#define SLP_FONT_ROMAN "SLP:style=Roman";
-
+++ /dev/null
-/*
- * =====================================================================================
- *
- * Filename: email-setting-define.h
- *
- * Description:
- *
- * Version: 1.0
- * Created: 12/08/2009 02:17:00 PM
- * Revision: none
- * Compiler: gcc
- *
- * Author: Minju Kim
- * Company: my-company
- *
- * =====================================================================================
- */
-
-
-#ifndef __EMAIL_SETTING_DEFINE_H_
-#define __EMAIL_SETTING_DEFINE_H_
-
-#define _KESSLER_
-
-/* main size */
-#ifdef _KESSLER_
-#define MAIN_WIDTH 480
-#define MAIN_HEIGHT 800
-#endif
-
-/* kessler theme */
-#define S_INDICATOR_H 48 // no shadow for indicator
-#define TITLEBAR_H 50 // including shadow
-#define TITLEBAR_SHADOW_H 6
-#define HEADER_H 78
-#define HEADER_SHADOW_H 8
-
-/* kessler offset */
-#define INDI_TIT (S_INDICATOR_H+TITLEBAR_H-TITLEBAR_SHADOW_H)
-#define INDI_HD (S_INDICATOR_H+HEADER_H-HEADER_SHADOW_H)
-
-/* indicator */
-#ifdef _KESSLER_
-#define IND_H_R (52/MAIN_HEIGHT)
-#else
-#define IND_H_R (65/MAIN_HEIGHT)
-#endif
-#define IND_H_P (MAIN_HEIGHT * IND_H_R)
-#define IND_SX_R 0.0
-#define IND_EX_R 1.0
-#define IND_SY_R 0.0
-#define IND_EY_R IND_H_R
-
-/* title */
-#ifdef _KESSLER_
-#define TIT_H_R (108/MAIN_HEIGHT)
-#else
-#define TIT_H_R (135/MAIN_HEIGHT)
-#endif
-#define TIT_H_P (MAIN_HEIGHT * TIT_H_R)
-#define TIT_SX_R 0.0
-#define TIT_EX_R 1.0
-#define TIT_SY_R 0.0
-#define TIT_EY_R TIT_H_R
-
-/* Header */
-#ifdef _KESSLER_
-#define HD_H_R (108/MAIN_HEIGHT)
-#else
-#define HD_H_R (135/MAIN_HEIGHT)
-#endif
-#define HD_H_P (MAIN_HEIGHT * HD_H_R)
-#define HD_SX_R 0.0
-#define HD_EX_R 1.0
-#define HD_SY_R (10.0/MAIN_HEIGHT)
-#define HD_EY_R (HD_H_R+HD_SY_R)
-
-/* softkey */
-#ifdef _KESSLER_
-#define SK_H_R (78/MAIN_HEIGHT)
-#else
-#define SK_H_R (98/MAIN_HEIGHT)
-#endif
-#define SK_H_P (MAIN_HEIGHT * SK_H_R)
-#define SK_SX_R 0.0
-#define SK_EX_R 1.0
-#define SK_SY_R (1-SK_H_R)
-#define SK_EY_R 1.0
-
-/* swallow with title*/
-#define SW_SX_R 0.0
-#define SW_EX_R 1.0
-#define SW_SY_R ((TIT_H_P-4)/MAIN_HEIGHT)
-#define SW_EY_R 1.0
-
-/* swallow with Header*/
-#define SW_H_SX_R 0.0
-#define SW_H_EX_R 1.0
-#define SW_H_SY_R (HD_EY_R+16/MAIN_HEIGHT)
-#define SW_H_EY_R 1.0
-
-/* swallow with Header list*/
-#define SW_HL_SX_R 0.0
-#define SW_HL_EX_R 1.0
-#define SW_HL_SY_R (HD_EY_R+2/MAIN_HEIGHT)
-#define SW_HL_EY_R 1.0
-
-/* preset account user info & server info */
-#define USR_H_P 106
-#define USR_H_H 412
-#define USR_SX_R (16.0/480.0)
-#define USR_EX_R (1-USR_SX_R)
-#define USR_SY_R (USR_H_P/800.0)
-#define USR_EY_R (USR_H_H /800.0)
-
-#define SVR_H_P 420
-#define SVR_H_H 726
-#define SVR_SX_R USR_SX_R
-#define SVR_EX_R (1-SVR_SX_R)
-#define SVR_SY_R (SVR_H_P/800.0)
-#define SVR_EY_R (SVR_H_H/800.0)
-
-/* sending option */
-#ifdef _KESSLER_
-#define SDO_SX_R (8/MAIN_WIDTH)
-#define SDO_SY_R (117/MAIN_HEIGHT)
-#else
-#define SDO_SX_R (16/MAIN_WIDTH)
-#define SDO_SY_R (146/MAIN_HEIGHT)
-#endif
-#define SDO_EX_R (1-SDO_SX_R)
-#define SDO_EY_R 1.0
-
-
-#define TC_LIST_INDEX "tc_list_index"
-#define TC_LIST_ITEM "tc_list_item"
-
-/* theme.edc*/
-#ifdef _KESSLER_
-#define SUBJECT_H 92
-#define SUBJECT_W 480
-#define SUBJECT_TEXT1_START_X 18
-#define SUBJECT_TEXT1_START_Y 8
-#define SUBJECT_TEXT1_END_X 411
-#define SUBJECT_TEXT1_END_Y 50
-#define SUBJECT_TEXT2_START_X 18
-#define SUBJECT_TEXT2_START_Y 50
-#define SUBJECT_TEXT2_END_X 411
-#define SUBJECT_TEXT2_END_Y 82
-
-#define OPTION_H 102
-#define OPTION_W 458
-#define OPTION_TEXT1_START_X 18
-#define OPTION_TEXT1_START_Y 8
-#define OPTION_TEXT1_END_X 440
-#define OPTION_TEXT1_END_Y 50
-#define OPTION_TEXT2_START_X 18
-#define OPTION_TEXT2_START_Y 52
-#define OPTION_TEXT2_END_X 440
-#define OPTION_TEXT2_END_Y 92
-
-#define SINGLE_H 82
-#define SINGLE_W 458
-#define SINGLE_START_X 18
-#define SINGLE_START_Y 8
-#define SINGLE_END_X 440
-#define SINGLE_END_Y 72
-
-#define SINGLE_ICON_START_X 56
-#define SINGLE_ICON_START_Y 8
-#define SINGLE_ICON_END_X 440
-#define SINGLE_ICON_END_Y 80
-#define SINGLE_ICON_H 82
-
-#define SINGLE_RIGHT_ICON_START_X 384
-#define SINGLE_RIGHT_ICON_START_Y 8
-#define SINGLE_RIGHT_ICON_END_X 480
-#define SINGLE_RIGHT_ICON_END_Y 80
-
-#define POPUP_H 80
-#define POPUP_W 400
-#define POPUP_START_X 25
-#define POPUP_START_Y 8
-#define POPUP_END_X 370
-#define POPUP_END_Y 72
-#define POPUP_ICON_X 340
-#define POPUP_ICON_Y 12
-
-#define SENDING_OPT_POPUP_TITLE_X_START (14/MAIN_WIDTH)
-#define SENDING_OPT_POPUP_TITLE_Y_START (40/MAIN_HEIGHT)
-#define SENDING_OPT_POPUP_TITLE_X_END (384/MAIN_WIDTH)
-#define SENDING_OPT_POPUP_TITLE_Y_END (160/MAIN_HEIGHT)
-
-#define SENDING_OPT_POPUP_LIST_X_START (10/MAIN_WIDTH)
-#define SENDING_OPT_POPUP_LIST_Y_START (160/MAIN_HEIGHT)
-#define SENDING_OPT_POPUP_LIST_X_END (470/MAIN_WIDTH)
-#define SENDING_OPT_POPUP_LIST_Y_END (584/MAIN_HEIGHT)
-
-#define SENDING_OPT_POPUP_OK_BTN_X_START (48/MAIN_WIDTH)
-#define SENDING_OPT_POPUP_OK_BTN_Y_START (600/MAIN_HEIGHT)
-#define SENDING_OPT_POPUP_OK_BTN_X_END (225/MAIN_WIDTH)
-#define SENDING_OPT_POPUP_OK_BTN_Y_END (720/MAIN_HEIGHT)
-
-#define SENDING_OPT_POPUP_CNL_BTN_X_START (254/MAIN_WIDTH)
-#define SENDING_OPT_POPUP_CNL_BTN_Y_START (600/MAIN_HEIGHT)
-#define SENDING_OPT_POPUP_CNL_BTN_X_END (432/MAIN_WIDTH)
-#define SENDING_OPT_POPUP_CNL_BTN_Y_END (720/MAIN_HEIGHT)
-
-#define BOX_LIST_PIC_OFFSET_X_REL1 -25
-#define BOX_LIST_PIC_OFFSET_Y_REL1 -15
-#define BOX_LIST_PIC_OFFSET_X_REL2 80
-#define BOX_LIST_PIC_OFFSET_Y_REL2 86
-
-#define COLOR1 255 255 255
-#define COLOR2 153 153 153
-#define COLOR3 0 0 0
-#define COLOR4 128 128 128
-
-#define SEND_PADDING_HEIGHT 500
-#define SIGNATURE_SCROLLER 850
-
-//account set up views
-#define IME_HEIGHT 380
-#define REDUCED_SCROLLER_HEIGHT (1 -IME_HEIGHT/MAIN_HEIGHT)
-#define ICON_ACCOUNT_NAME_SX_R (14.0/480)
-#define ICON_ACCOUNT_NAME_SY_R (52.0/800)
-#define ICON_ACCOUNT_NAME_EX_R (66.0/480)
-#define ICON_ACCOUNT_NAME_EY_R (104.0/800)
-
-//#define ENTRY_BOX_HEIGHT 102
-#define ENTRY_BOX_HEIGHT 112
-#define ENTRY_BOX_WIDTH 470
-#define ENTRY_MARGIN_LEFT_R 14/MAIN_WIDTH
-#define ENTRY_HEADING_HEIGHT_R 40/ENTRY_BOX_HEIGHT
-#define ENTRY_CONTENT_START_Y_R (1-ENTRY_HEADING_HEIGHT_R)
-#define CHECKBOX_TEXT_WIDTH_R 320/ENTRY_BOX_WIDTH
-#define CHECKBOX_ICON_START_X_R (CHECKBOX_TEXT_WIDTH_R)
-
-#define SERVER_POPUP_SW_SX 7/480
-#define SERVER_POPUP_SW_SY 16/800
-#define SERVER_POPUP_SW_EX 472/480
-#define SERVER_POPUP_SW_EY 520/800
-
-#define SERVER_POPUP_LEFT_BTN_SX 48/480
-#define SERVER_POPUP_LEFT_BTN_SY 528/800
-#define SERVER_POPUP_LEFT_BTN_EX (SERVER_POPUP_LEFT_BTN_SX + 0.35)
-#define SERVER_POPUP_LEFT_BTN_EY (SERVER_POPUP_LEFT_BTN_SY + 0.20)
-
-#define SERVER_POPUP_RIGHT_BTN_SX (SERVER_POPUP_LEFT_BTN_SX + 0.45)
-#define SERVER_POPUP_RIGHT_BTN_SY SERVER_POPUP_LEFT_BTN_SY
-#define SERVER_POPUP_RIGHT_BTN_EX (SERVER_POPUP_LEFT_BTN_SX + 0.80)
-#define SERVER_POPUP_RIGHT_BTN_EY SERVER_POPUP_LEFT_BTN_EY
-
-
-#define CLICKED_COODS_DIFFERENCE 5
-#define PADDING_HEIGHT 600
-#define EMPTY_RECTANGLE 42
-#define SEPARATOR_HEIGHT 8
-
-#define BRING_IN_EMAIL_ADDRESS 44
-#define BRING_IN_USER_NAME_Y (BRING_IN_EMAIL_ADDRESS + ENTRY_BOX_HEIGHT)
-#define BRING_IN_PASSWORD_Y (BRING_IN_USER_NAME_Y + ENTRY_BOX_HEIGHT)
-
-/*#define BRING_IN_OUTGOING_SERVER_Y 90
-#define BRING_IN_INCOMING_PORTNO_Y (BRING_IN_OUTGOING_SERVER_Y + ENTRY_BOX_HEIGHT)
-#define BRING_IN_OUTGOING_PORTNO_Y (BRING_IN_INCOMING_PORTNO_Y+ENTRY_BOX_HEIGHT)
-#define BRING_IN_SENDING_USERNAME_Y (BRING_IN_OUTGOING_PORTNO_Y+ENTRY_BOX_HEIGHT)
-#define BRING_IN_SENDING_PASSWORD_Y (BRING_IN_SENDING_USERNAME_Y+ENTRY_BOX_HEIGHT)*/
-
-#define BRING_IN_INCOMING_SERVER_Y 44
-#define BRING_IN_INCOMING_PORTNO_Y (BRING_IN_INCOMING_SERVER_Y + ENTRY_BOX_HEIGHT)
-#define BRING_IN_INCOMING_SSL_Y (BRING_IN_INCOMING_PORTNO_Y + ENTRY_BOX_HEIGHT)
-#define BRING_IN_OUTGOING_SERVER_Y (BRING_IN_INCOMING_PORTNO_Y + EMPTY_RECTANGLE + ENTRY_BOX_HEIGHT*3)
-#define BRING_IN_OUTGOING_PORTNO_Y (BRING_IN_OUTGOING_SERVER_Y + ENTRY_BOX_HEIGHT)
-#define BRING_IN_SENDING_SSL_Y (BRING_IN_OUTGOING_PORTNO_Y + ENTRY_BOX_HEIGHT)
-#define BRING_IN_SENDING_USERNAME_Y (BRING_IN_SENDING_SSL_Y + ENTRY_BOX_HEIGHT*3)
-#define BRING_IN_SENDING_PASSWORD_Y (BRING_IN_SENDING_USERNAME_Y + ENTRY_BOX_HEIGHT)
-
-/*#define BRING_IN_EDIT_PASSWORD_Y 90
-#define BRING_IN_EDIT_INCOMING_SERVER_Y (BRING_IN_EDIT_PASSWORD_Y + ENTRY_BOX_HEIGHT+ EMPTY_RECTANGLE)
-#define BRING_IN_EDIT_OUTGOING_SERVER_Y (BRING_IN_EDIT_INCOMING_SERVER_Y + ENTRY_BOX_HEIGHT)
-#define BRING_IN_EDIT_INCOMING_PORTNO_Y (BRING_IN_EDIT_OUTGOING_SERVER_Y + ENTRY_BOX_HEIGHT)
-#define BRING_IN_EDIT_OUTGOING_PORTNO_Y (BRING_IN_EDIT_INCOMING_PORTNO_Y + ENTRY_BOX_HEIGHT)
-#define BRING_IN_EDIT_SENDING_USERNAME_Y (BRING_IN_EDIT_OUTGOING_PORTNO_Y + ENTRY_BOX_HEIGHT)
-#define BRING_IN_EDIT_SENDING_PASSWORD_Y (BRING_IN_EDIT_SENDING_USERNAME_Y + ENTRY_BOX_HEIGHT)*/
-
-#define BRING_IN_EDIT_ACCOUNT_NAME_Y 0
-#define BRING_IN_EDIT_EMAIL_ADDR_Y (BRING_IN_EDIT_ACCOUNT_NAME_Y+BRING_IN_EMAIL_ADDRESS)
-#define BRING_IN_EDIT_USER_NAME_Y (BRING_IN_EDIT_EMAIL_ADDR_Y+ENTRY_BOX_HEIGHT)
-#define BRING_IN_EDIT_PASSWORD_Y (BRING_IN_EDIT_USER_NAME_Y + ENTRY_BOX_HEIGHT)
-
-#define BRING_IN_EDIT_INCOMING_SERVER_Y (BRING_IN_EDIT_PASSWORD_Y+ENTRY_BOX_HEIGHT)
-#define BRING_IN_EDIT_INCOMING_PORT_Y (BRING_IN_EDIT_INCOMING_SERVER_Y+ENTRY_BOX_HEIGHT)
-#define BRING_IN_EDIT_INCOMING_SSL_Y (BRING_IN_EDIT_INCOMING_PORT_Y+ENTRY_BOX_HEIGHT)
-
-#define BRING_IN_EDIT_OUTGOING_SERVER_Y (BRING_IN_EDIT_INCOMING_SSL_Y+ENTRY_BOX_HEIGHT*3)
-#define BRING_IN_EDIT_OUTGOING_PORT_Y (BRING_IN_EDIT_OUTGOING_SERVER_Y+ENTRY_BOX_HEIGHT)
-#define BRING_IN_EDIT_OUTGOING_SSL_Y (BRING_IN_EDIT_OUTGOING_PORT_Y+ENTRY_BOX_HEIGHT)
-#define BRING_IN_EDIT_SENDING_USERNAME_Y (BRING_IN_EDIT_OUTGOING_SSL_Y+ENTRY_BOX_HEIGHT*3)
-#define BRING_IN_EDIT_SENDING_PASSWORD_Y (BRING_IN_EDIT_SENDING_USERNAME_Y+ENTRY_BOX_HEIGHT)
-
-#define BRING_IN_EDIT
-#define BRING_IN_EDIT
-
-
-#endif
-
-#endif /* __EMAIL_SETTING_DEFINE_H_ */
-
-
-
-
-
+++ /dev/null
-
-#define MAIN_W 480
-//#define MAIN_H 125
-
-#define DIR_W 119
-#define DIR_H 119
-
-#define FONT_NANE "SLP:style=Medium"
-#define FONT_LIST_ITEM "SLP"
-
-//#define FONT_LIST_ITEM "SLP:style=Bold"
-#define TEXT_CLASS_NAME "myfile"
-//#define FONT_SIZE 42
-#define FONT_SIZE 22
-#define FONT_COLOR 255 255 255 255
-
-#define MAIN_FONT_STYLE "SLP"
-#define MAIN_FONT_SIZE 32
-#define MAIN_FONT_COLOR 255 255 255 255
-
-#define SUB_FONT "SLP"
-#define SUB_FONT_SIZE 18
-#define SUB_FONT_COLOR 149 149 149
-
-
-#define DIR_CLASS_NAME "myfile_dir"
-#define DIR_SIZE 42
-
-#define BTN_W 60
-#define BTN_H 61
-//#define INDICATOR_H 46
-//#define SOFTKEY_H 96
-#define BUTTON_W 80
-#define CHECK_R 50
-#define SUB_W 104
-#define SUB_H 32
-
+++ /dev/null
-#define BOX_LIST_H 110
-
- group { name: "elm/genlist/item/dummy/default";
- alias: "elm/genlist/item_odd/dummy/default";
- alias: "elm/genlist/item_compress/dummy/default";
- alias: "elm/genlist/item_compress_odd/dummy/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "treesize" "20";
- parts {
- part { name: "rect";
- type: RECT;
- description {
- min: 0 BOX_LIST_H;
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 (BOX_LIST_H-2);
- image {
- //normal: "01_list_lighting.png";
- //border: 2 2 2 2;
- }
- //fill.smooth: 0;
- }
- }
- part { name: "bg";
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 0 (BOX_LIST_H-2);
- visible: 0;
- color: 255 255 255 0;
- rel1 {
- relative: 0.0 0.0;
- offset: -5 -5;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 4 4;
- }
- //image {
- //# normal: "tw3_list_select.png";
- //}
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 {
- relative: 0.0 0.0;
- offset: -2 -2;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 1 1;
- }
- }
- }
- }
- programs {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- transition: LINEAR 0.5;
- after: "go_passive";
- }
- program {
- name: "go_passive";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg";
- transition: LINEAR 0.5;
- }
- }
- }
-
-
-group {
- name: "elm/genlist/item/emaillisttree/title/default";
- alias: "elm/genlist/item_odd/emaillisttree/title/default";
- alias: "elm/genlist/item_compress/emaillisttree/title/default";
- alias: "elm/genlist/item_compress_odd/emaillisttree/title/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.title elm.text.count";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_PADDING_TOP( 20 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 20 )
- BEAT_GENLIST_PART_PADDING_LEFT( 20 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 20 )
- part { name: "elm.text.title";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 50;
- fixed: 0 1;
- align: 1 0.5;
- rel1 { to_x: "elm.padding.left"; to_y: "elm.padding.top"; relative: 1 1; }
- rel2 { to_x: "elm.padding.right"; to_y: "elm.padding.bottom"; relative: 0 0; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_ROM;
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part {
- name: "elm.text.count";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 1 1;
- rel1 { to_x: "elm.padding.left"; to_y: "elm.padding.top"; relative: 1 1; }
- rel2 { to_x: "elm.padding.right"; to_y: "elm.padding.bottom"; relative: 0 0; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_ROM;
- size: 18;
- min: 1 1;
- align: 1.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part { name: "bottom_line";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
- description {
- min: 0 1;
- fixed: 0 1;
- rel1 { relative: 0.0 1.0; offset: 0 -1; }
- color: 199 195 183 255;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text.count";
- target: "elm.text.title";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text.count";
- target: "elm.text.title";
- 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/genlist/tree/emaillisttree/email/default";
- alias: "elm/genlist/tree_odd/emaillisttree/email/default";
- alias: "elm/genlist/item_compress/emaillisttree/email/default";
- alias: "elm/genlist/item_compress_odd/emaillisttree/email/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.email elm.text.account elm.text.count";
- data.item: "icons" "elm.icon.bar elm.icon.email";
- data.item: "treesize" "0";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_button_expand_closed.png" COMP;
- image: "00_button_expand_closed_press.png" COMP;
- image: "00_button_expand_opened.png" COMP;
- image: "00_button_expand_opened_press.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- part { name: "touch_arrow";
- type: RECT;
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- scale: 1;
- description { state: "default" 0.0;
- min: 70 80;
- 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: 40 40;
- max: 40 40;
- fixed: 1 1;
- align: 0.0 0.5;
- aspect: 1.0 1.0; // needed?
- rel1 { to_x: "elm.padding.left"; relative: 1 0; }
- image.normal: "00_button_expand_closed.png";
- }
- description {
- state: "selected" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_closed_press.png";
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_opened.png";
- }
- description {
- state: "active" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_opened_press.png";
- }
- }
- part {
- name: "arrow_right_padding";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- align: 0 0;
- rel1 { to:"arrow"; relative: 1 0; }
- rel2 { to:"arrow"; relative: 1 0; }
- }
- }
- part {
- name: "elm.icon.bar";
- clip_to:"disclip";
- type: SWALLOW;
- scale: 1;
- mouse_events: 0;
- description {
- min: 5 1;
- max: 5 90;
- fixed: 1 1;
- rel1 { to_x: "arrow_right_padding"; to_y:"elm.padding.top"; relative: 1 1; }
- rel2 { to_x: "arrow_right_padding"; to_y:"elm.padding.bottom"; relative: 1 0; }
- }
- }
- part {
- name: "iconbar_right_padding";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- align: 0 0;
- rel1 { to:"elm.icon.bar"; relative: 1 0; }
- rel2 { to:"elm.icon.bar"; relative: 1 0; }
- }
- }
- part { name: "elm.icon.email";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 { to_x: "iconbar_right_padding"; relative: 1.0 0; }
- rel2 { to_x: "iconbar_right_padding"; relative: 1.0 1; }
- }
- }
- part {
- name: "icon_right_padding";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- align: 0 0;
- rel1 { to:"elm.icon.email"; relative: 1 0; }
- rel2 { to:"elm.icon.email"; relative: 1 0; }
- }
- }
- part { name: "elm.text.email";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0;
- min: 1 40;
- fixed: 0 1;
- rel1 { relative: 1 1; to_x: "icon_right_padding"; to_y:"elm.padding.top"; }
- rel2 { relative: 0 1; to_x: "elm.padding.right"; to_y:"elm.padding.top"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_ROM;
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part { name: "elm.text.account";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0 0;
- rel1 { relative: 0 1; to: "elm.text.email"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_ROM;
- size: 24;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part {
- name: "elm.text.count";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 1 1;
- rel1 { to_x: "elm.padding.left"; to_y: "elm.padding.top"; relative: 1 1; }
- rel2 { to_x: "elm.padding.right"; to_y: "elm.padding.bottom"; relative: 0 0; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_ROM;
- size: 18;
- min: 1 1;
- align: 1.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part { name: "bottom_line";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
- description {
- min: 0 1;
- fixed: 0 1;
- rel1 { relative: 0.0 1.0; offset: 0 -1; }
- color: 199 195 183 255;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text.email";
- target: "elm.text.account";
- target: "elm.text.count";
- target: "arrow";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text.email";
- target: "elm.text.account";
- target: "elm.text.count";
- target: "arrow";
- 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: "arrow_down";
- signal: "mouse,down,1";
- source: "touch_arrow";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl)
- if (vl == 0.0)
- set_state(PART:"arrow", st, 1.0);
- else
- set_state(PART:"arrow", st, 0.0);
- }
- }
- 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";
- }
- }
- }
-
- group {
- name: "elm/genlist/tree/emaillisttree/sub_title/default";
- alias: "elm/genlist/tree_odd/emaillisttree/sub_title/default";
- alias: "elm/genlist/item_compress/emaillisttree/sub_title/default";
- alias: "elm/genlist/item_compress_odd/emaillisttree/sub_title/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.title elm.text.count";
- data.item: "treesize" "15";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_button_expand_2_closed.png" COMP;
- image: "00_button_expand_2_closed_press.png" COMP;
- image: "00_button_expand_2_opened.png" COMP;
- image: "00_button_expand_2_opened_press.png" COMP;
- image: "00_list_expandable_bg.png" COMP;
- }
- parts {
- //BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_MAP_PERSPECTIVE_POINT()
- BEAT_GENLIST_PART_MAP_BASE( 90 )
- GENLIST_EXPANDABLE3_PART_BG_IMAGE_INC
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- part { name: "elm.swallow.pad";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "elm.padding.left";
- }
- }
- }
- part { name: "touch_arrow";
- type: RECT;
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- scale: 1;
- description { state: "default" 0.0;
- min: 70 80;
- 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: 40 40;
- max: 40 40;
- fixed: 1 1;
- align: 0.0 0.5;
- aspect: 1.0 1.0; // needed?
- rel1 { to_x: "elm.swallow.pad"; relative: 1 0; }
- image.normal: "00_button_expand_2_closed.png";
- }
- description {
- state: "selected" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_closed_press.png";
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_opened.png";
- }
- description {
- state: "active" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_opened_press.png";
- }
- }
- part {
- name: "arrow_right_padding";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- align: 0 0;
- rel1 { to:"arrow"; relative: 1 0; }
- rel2 { to:"arrow"; relative: 1 0; }
- }
- }
- part { name: "elm.text.title";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- min: 1 40;
- fixed: 0 1;
- rel1 { relative: 1 1; to_x: "arrow_right_padding"; to_y:"elm.padding.top"; }
- rel2 { relative: 0 0; to_x: "elm.padding.right"; to_y:"elm.padding.bottom"; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_ROM;
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part {
- name: "elm.text.count";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 1 1;
- rel1 { to_x: "elm.padding.left"; to_y: "elm.padding.top"; relative: 1 1; }
- rel2 { to_x: "elm.padding.right"; to_y: "elm.padding.bottom"; relative: 0 0; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_ROM;
- size: 18;
- min: 1 1;
- align: 1.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part { name: "bottom_line";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
- description {
- min: 0 1;
- fixed: 0 1;
- rel1 { relative: 0.0 1.0; offset: 0 -1; }
- color: 199 195 183 255;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text.title";
- target: "elm.text.count";
- target: "arrow";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text.title";
- target: "elm.text.count";
- target: "arrow";
- 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: "arrow_down";
- signal: "mouse,down,1";
- source: "touch_arrow";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl)
- if (vl == 0.0)
- set_state(PART:"arrow", st, 1.0);
- else
- set_state(PART:"arrow", st, 0.0);
- }
- }
- 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";
- }
- }
- }
- group {
- name: "elm/genlist/item/emaillisttree/content/default";
- alias: "elm/genlist/item_odd/emaillisttree/content/default";
- alias: "elm/genlist/item_compress/emaillisttree/content/default";
- alias: "elm/genlist/item_compress_odd/emaillisttree/content/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.content elm.text.count";
- data.item: "treesize" "15";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_list_expandable_2_bg.png" COMP;
- }
- parts {
- //BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_MAP_PERSPECTIVE_POINT()
- BEAT_GENLIST_PART_MAP_BASE( 90 )
- //GENLIST_EXPANDABLE3_PART_BG_IMAGE_INC
- GENLIST_EXPANDABLE_PART_BG_IMAGE_INC
- BEAT_GENLIST_PART_PADDING_TOP( 20 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 20 )
- BEAT_GENLIST_PART_PADDING_LEFT( 20 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 20 )
- part { name: "elm.swallow.pad";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "elm.padding.left";
- }
- }
- }
- part { name: "elm.text.content";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 50;
- fixed: 0 1;
- align: 1 0.5;
- rel1 { to_x: "elm.swallow.pad"; to_y: "elm.padding.top"; relative: 1 1; }
- rel2 { to_x: "elm.padding.right"; to_y: "elm.padding.bottom"; relative: 0 0; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_ROM;
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part {
- name: "elm.text.count";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 1 1;
- rel1 { to_x: "elm.padding.left"; to_y: "elm.padding.top"; relative: 1 1; }
- rel2 { to_x: "elm.padding.right"; to_y: "elm.padding.bottom"; relative: 0 0; }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_ROM;
- size: 18;
- min: 1 1;
- align: 1.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part { name: "bottom_line";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
- description {
- min: 0 1;
- fixed: 0 1;
- rel1 { relative: 0.0 1.0; offset: 0 -1; }
- color: 199 195 183 255;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text.count";
- target: "elm.text.content";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text.count";
- target: "elm.text.content";
- 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";
- }
- }
-}
-
+++ /dev/null
-#include "./edc_email_composer_layout.h"
-
-#define PADDING_LEFT( param_padding_name ,param_padding_size ) \
- part \
- { \
- name: param_padding_name; \
- type: RECT; \
- scale: 1; \
- mouse_events: 0;\
- description \
- { \
- state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel1{relative: 0.0 0.0;} \
- rel2{relative: 0.0 1.0;} \
- align: 0.0 0.0; \
- color: 0 55 0 55; \
- } \
-}
-
- images {
- image: "email/composer_list_bg.png" COMP;
- image: "email/composer_list_select.png" COMP;
- image: "email/composer_list_focus.png" COMP;
- image: "email/composer_list_lighting.png" COMP;
- image: "email/composer_attachment_trash.png" COMP;
- image: "email/07_message_list_bg.PNG" COMP;
- //image: "00_list_bar_press_1x80.png" COMP;
- }
-
- /* Composer Predictive GenList */
- group
- {
- name: "elm/genlist/item/email_predict_list/default";
- alias: "elm/genlist/item_odd/email_predict_list/default";
- alias: "elm/genlist/item_compress/email_predict_list/default";
- alias: "elm/genlist/item_compress_odd/email_predict_list/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "text.name text.number";
- data.item: "icons" "swl.img"; //"swl.text1 swl.text2";// swl.img";
- data.item: "treesize" "20";
- data.item: "allow_slide" "1";
-
- parts
- {
- part
- {
- name: "rect";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- min: 450 70;
- color: 255 255 255 255;
- }
-
- }
-
- PADDING_LEFT(padding_left_10,10);
- part
- {
- name: "bg";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- rel1{ to: "rect"; relative: 0.0 0.0;}
- rel2{ to: "rect"; relative: 1.0 1.0;}
- image {
- normal: "email/07_message_list_bg.PNG";
- border: 0 0 0 5 ;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
-
- part
- {
- name: "default_image";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- rel1{ to_x: "padding_left_10"; relative: 1.0 0.0;}
- rel2{ to_x: "padding_left_10"; relative: 1.0 1.0;}
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part
- {
- name: "swl.img";
- type: SWALLOW;
- scale: 1;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- rel1{ to: "default_image"; relative: 0.0 0.0;}
- rel2{ to: "default_image"; relative: 1.0 1.0;}
- }
- }
- part{
- name: "text.name";
- mouse_events: 0;
- type: TEXT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- visible: 1;
- rel1{to_x: "default_image"; relative: 1.0 0.0; offset: 10 0;}
- rel2{to_x: "swl.bt"; relative: 0.0 0.5;}
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 30;
- align: 0.0 0.5;
- text: "name";
- }
- }
- }
- part{
- name: "text.number";
- mouse_events: 0;
- type: TEXT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- visible: 1;
- rel1{to_x: "default_image"; relative: 1.0 0.5; offset: 10 0; }
- rel2{to_x: "swl.bt"; relative: 0.0 1.0;}
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- align: 0.0 0.5;
- text: "name";
- }
- }
- }
- part { name: "over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- color: 0 0 0 0;
- }
- }
- part { name: "swl.bt";
- type: SWALLOW;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- visible: 0;
- min: 80 80;
- color: 255 255 255 255;
- rel1
- {
- relative: 1.0 0.0;
- }
- rel2
- {
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- align: 1.0 0.5;
- }
-
- }
-
- }
-
- programs {
-
- program {
- name: "mouse_down";
- signal: "mouse,down,1";
- source: "over";
- action: STATE_SET "pressed" 0.0;
- target: "bg";
-
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "over";
- action: STATE_SET "default" 0.0;
- target: "bg";
-
- }
- }
- }
-
-
-
- group { name: "elm/genlist/item/composer_attachment/default";
- alias: "elm/genlist/item_odd/composer_attachment/default";
- alias: "elm/genlist/item_compress/composer_attachment/default";
- alias: "elm/genlist/item_compress_odd/composer_attachment/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.filename elm.text.filesize";
- data.item: "icons" "elm.swallow.thumbnail_icon elm.swallow.trash_icon";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_list_photo_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 5 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 5 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part { name: "elm.padding.photo.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.swallow.thumbnail_icon";
- }
- rel2.to_x: "elm.swallow.thumbnail_icon";
- align: 0.0 0.0;
- }
- }
- part { name: "elm.swallow.thumbnail_icon";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1 {
- to: elm.photo.bg;
- }
- rel2 {
- to: elm.photo.bg;
- }
- }
- }
- part { name: "elm.photo.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 70 70;
- max: 70 70;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
- }
- image {
- normal: "00_list_photo_bg.png";
- border: 7 7 7 7;
- middle: NONE;
- }
- }
- }
-
-
- part { name: "elm.swallow.trash_icon";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1 {
- to: elm.icon.trash.bg;
- }
- rel2 {
- to: elm.icon.trash.bg;
- }
- }
- }
- part { name: "elm.icon.trash.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- offset: -65 15;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -15 -15;
- }
- }
- }
-
- part { name: "elm.text.filename";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.photo.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.swallow.trash_icon";
- to_y: "elm.padding.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part { name: "elm.text.filesize";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.photo.right";
- to_y: "elm.text.filename";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.swallow.trash_icon";
- to_y: "elm.text.filename";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
-
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text.filename";
- target: "elm.text.filesize";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text.filename";
- target: "elm.text.filesize";
- 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";
- }
- }
- }
-
-
-
+++ /dev/null
- group
- {
- name: "elm/genlist/item/mailboxlistitemforedit_beat/default";
- alias: "elm/genlist/item_odd/mailboxlistitemforedit_beat/default";
- alias: "elm/genlist/item_compress/mailboxlistitemforedit_beat/default";
- alias: "elm/genlist/item_compress_odd/mailboxlistitemforedit_beat/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.subject elm.text.subject.bold elm.text.selectall elm.text.from elm.text.thread.count elm.text.time";
- data.item: "icons" "elm.check elm.icon.bar elm.swallow.attach elm.swallow.priority elm.badge";
- data.item: "treesize" "20";
-
- parts
- {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_DISCLIP
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_TEXT_TOP( 21 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part
- {
- name: "elm.padding.chk.left";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- visible: 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part
- {
- name: "elm.check";
- clip_to: "disclip";
- scale: 1;
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- min: 50 0;
- fixed : 1 1;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 0.0; offset: 0 0;
- to: "elm.padding.chk.left";
- }
- rel2
- {
- relative: 0.0 1.0; offset: 0 0;
- to: "bg";
- }
- }
- }
-
- part {
- name: "elm.icon.bar.bg";
- clip_to:"disclip";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description
- {
- min: 5 1;
- max: 5 90;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.check";
- to_y: "elm.padding.top";
-
- }
- rel2
- {
- relative: 1.0 0.0; offset: 0 0;
- to_x: "elm.check";
- to_y: "elm.padding.bottom";
-
- }
- }
- }
-
- part
- {
- name: "elm.icon.bar";
- clip_to: "disclip";
- type: SWALLOW;
- description
- {
- fixed: 1 1;
- state: "default" 0.0;
- rel1.to: "elm.icon.bar.bg";
- rel2.to: "elm.icon.bar.bg";
- }
- }
-
- part
- {
- name: "elm.padding.icon.bar.right";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 7 0;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1
- {
- relative: 1.0 1.0;
- to_x: "elm.icon.bar";
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 0.0;
- to_x: "elm.icon.bar";
- to_y: "elm.padding.bottom";
- }
- }
- }
-
- part
- {
- name: "elm.text.subject.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 40;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.padding.icon.bar.right";
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- {
- name: "elm.text.subject";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: GENLIST_PART_TEXT_COLOR_INC;
- //color: 255 0 0 255;
- rel1.to: "elm.text.subject.bg";
- rel2.to: "elm.text.subject.bg";
- text {
- font: "SLP:style=Roman";
- size: 30;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
-
- part
- {
- name: "elm.text.subject.bold";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: GENLIST_PART_TEXT_COLOR_INC;
- //color: 255 0 0 255;
- rel1.to: "elm.text.subject.bg";
- rel2.to: "elm.text.subject.bg";
- text {
- font: "SLP:style=Roman";
- size: 30;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
-
-
- part
- {
- name: "elm.text.selectall";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: GENLIST_PART_TEXT_COLOR_INC;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.padding.icon.bar.right";
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 0.0; offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- text {
- font: "SLP:style=Roman";
- size: 34;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
-
- part
- {
- name: "elm.text.from.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 220 30;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.padding.icon.bar.right";
- to_y: "elm.text.subject.bg";
- }
- rel2
- {
- relative: 1.0 0.0; offset: 0 0;
- to_x: "elm.padding.icon.bar.right";
- to_y: "elm.padding.bottom";
- }
- }
- }
-
- part
- {
- name: "elm.text.from";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: 0 102 153 255;
- rel1.to: "elm.text.from.bg";
- rel2.to: "elm.text.from.bg";
- text {
- font: "SLP:style=Roman";
- size: 24;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
-
- part
- {
- name: "elm.swallow.attach.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 30 0;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.text.from.bg";
- to_y: "elm.text.subject.bg";
- }
- rel2
- {
- relative: 1.0 0.0; offset: 0 0;
- to_x: "elm.text.from.bg";
- to_y: "elm.padding.bottom";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.attach";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1.to: "elm.swallow.attach.bg";
- rel2.to: "elm.swallow.attach.bg";
- }
- }
-
- part
- {
- name: "elm.swallow.priority.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 30 0;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.swallow.attach.bg";
- to_y: "elm.text.subject.bg";
- }
- rel2
- {
- relative: 1.0 0.0; offset: 0 0;
- to_x: "elm.swallow.attach.bg";
- to_y: "elm.padding.bottom";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.priority";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1.to: "elm.swallow.priority.bg";
- rel2.to: "elm.swallow.priority.bg";
- }
- }
-
- part
- {
- name: "elm.badge.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 30 0;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 1.0;
- to_x: "elm.swallow.priority.bg";
- to_y: "elm.text.subject.bg";
- }
- rel2
- {
- relative: 1.0 0.0;
- to_x: "elm.swallow.priority.bg";
- to_y: "elm.padding.bottom";
- }
-
- }
- }
- part
- {
- name: "elm.badge";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1.to: "elm.badge.bg";
- rel2.to: "elm.badge.bg";
- }
- }
- part
- {
- name: "elm.text.thread.count";
- clip_to: "disclip";
- type: TEXT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- max: 28 28;
- color: 255 255 255 255;
- rel1.to: "elm.badge.bg";
- rel2.to: "elm.badge.bg";
- text {
- font: "SLP:style=Roman";
- size: 18;
- align: 0.5 0.5;
- }
- }
-
- }
-
- part
- {
- name: "elm.text.time.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 1 1;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.badge.bg";
- to_y: "elm.text.subject.bg";
- }
- rel2
- {
- relative: 0.0 0.0; offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- }
- }
-
- part
- {
- name: "elm.text.time";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 1 1;
- color: 229 144 30 255;
- rel1.to: "elm.text.time.bg";
- rel2.to: "elm.text.time.bg";
- text {
- font: "SLP:style=Roman";
- size: 18;
- min: 1 1;
- align: 1.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- }
- programs
- {
- program
- {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text.subject";
- target: "elm.text.from";
- target: "elm.swallow.attach";
- target: "elm.swallow.priority";
- target: "elm.badge";
- target: "elm.text.thread.count";
- target: "elm.text.time";
- }
- program
- {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text.subject";
- target: "elm.text.from";
- target: "elm.swallow.attach";
- target: "elm.swallow.priority";
- target: "elm.badge";
- target: "elm.text.thread.count";
- target: "elm.text.time";
- 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/genlist/item/mailboxlistitem_beat/default";
- alias: "elm/genlist/item_odd/mailboxlistitem_beat/default";
- alias: "elm/genlist/item_compress/mailboxlistitem_beat/default";
- alias: "elm/genlist/item_compress_odd/mailboxlistitem_beat/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.subject elm.text.subject.bold elm.text.from elm.text.thread.count elm.text.time";
- data.item: "icons" "elm.icon.bar elm.swallow.attach elm.swallow.priority elm.badge";
- data.item: "treesize" "20";
- images
- {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts
- {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_DISCLIP
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_TEXT_TOP( 21 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part {
- name: "elm.icon.bar.bg";
- clip_to:"disclip";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description
- {
- min: 5 1;
- max: 5 90;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
-
- }
- rel2
- {
- relative: 1.0 0.0; offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
-
- }
- }
- }
-
- part
- {
- name: "elm.icon.bar";
- clip_to: "disclip";
- type: SWALLOW;
- description
- {
- fixed: 1 1;
- state: "default" 0.0;
- rel1.to: "elm.icon.bar.bg";
- rel2.to: "elm.icon.bar.bg";
- }
- }
-
- part
- {
- name: "elm.padding.icon.bar.right";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 7 0;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1
- {
- relative: 1.0 1.0;
- to_x: "elm.icon.bar";
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 0.0;
- to_x: "elm.icon.bar";
- to_y: "elm.padding.bottom";
- }
- }
- }
-
- part
- {
- name: "elm.text.subject.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 40;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.padding.icon.bar.right";
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- {
- name: "elm.text.subject";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: GENLIST_PART_TEXT_COLOR_INC;
- //color: 255 0 0 255;
- rel1.to: "elm.text.subject.bg";
- rel2.to: "elm.text.subject.bg";
- text {
- font: "SLP:style=Roman";
- size: 30;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
-
- part
- {
- name: "elm.text.subject.bold";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: GENLIST_PART_TEXT_COLOR_INC;
- //color: 255 0 0 255;
- rel1.to: "elm.text.subject.bg";
- rel2.to: "elm.text.subject.bg";
- text {
- font: "SLP:style=Bold";
- size: 30;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
-
- part
- {
- name: "elm.text.from.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 270 30;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.padding.icon.bar.right";
- to_y: "elm.text.subject.bg";
- }
- rel2
- {
- relative: 1.0 0.0; offset: 0 0;
- to_x: "elm.padding.icon.bar.right";
- to_y: "elm.padding.bottom";
- }
- }
- }
-
- part
- {
- name: "elm.text.from";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: 0 102 153 255;
- rel1.to: "elm.text.from.bg";
- rel2.to: "elm.text.from.bg";
- text {
- font: "SLP:style=Roman";
- size: 24;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
-
- part
- {
- name: "elm.swallow.attach.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 30 0;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.text.from.bg";
- to_y: "elm.text.subject.bg";
- }
- rel2
- {
- relative: 1.0 0.0; offset: 0 0;
- to_x: "elm.text.from.bg";
- to_y: "elm.padding.bottom";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.attach";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1.to: "elm.swallow.attach.bg";
- rel2.to: "elm.swallow.attach.bg";
- }
- }
-
- part
- {
- name: "elm.swallow.priority.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 30 0;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.swallow.attach.bg";
- to_y: "elm.text.subject.bg";
- }
- rel2
- {
- relative: 1.0 0.0; offset: 0 0;
- to_x: "elm.swallow.attach.bg";
- to_y: "elm.padding.bottom";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.priority";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1.to: "elm.swallow.priority.bg";
- rel2.to: "elm.swallow.priority.bg";
- }
- }
-
- part
- {
- name: "elm.badge.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 30 0;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 1.0;
- to_x: "elm.swallow.priority.bg";
- to_y: "elm.text.subject.bg";
- }
- rel2
- {
- relative: 1.0 0.0;
- to_x: "elm.swallow.priority.bg";
- to_y: "elm.padding.bottom";
- }
-
- }
- }
- part
- {
- name: "elm.badge";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1.to: "elm.badge.bg";
- rel2.to: "elm.badge.bg";
- }
- }
- part
- {
- name: "elm.text.thread.count";
- clip_to: "disclip";
- type: TEXT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- max: 28 28;
- color: 255 255 255 255;
- rel1.to: "elm.badge.bg";
- rel2.to: "elm.badge.bg";
- text {
- font: "SLP:style=Roman";
- size: 18;
- align: 0.5 0.5;
- }
- }
-
- }
-
- part
- {
- name: "elm.text.time.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 1 1;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.badge.bg";
- to_y: "elm.text.subject.bg";
- }
- rel2
- {
- relative: 0.0 0.0; offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- }
- }
-
- part
- {
- name: "elm.text.time";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 1 1;
- color: 229 144 30 255;
- rel1.to: "elm.text.time.bg";
- rel2.to: "elm.text.time.bg";
- text {
- font: "SLP:style=Roman";
- size: 18;
- min: 1 1;
- align: 1.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- }
- programs
- {
- program
- {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text.subject";
- target: "elm.text.from";
- target: "elm.swallow.attach";
- target: "elm.swallow.priority";
- target: "elm.badge";
- target: "elm.text.thread.count";
- target: "elm.text.time";
- }
- program
- {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text.subject";
- target: "elm.text.from";
- target: "elm.swallow.attach";
- target: "elm.swallow.priority";
- target: "elm.badge";
- target: "elm.text.thread.count";
- target: "elm.text.time";
- 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/genlist/item/senderlistitem_beat/default";
- alias: "elm/genlist/item_odd/senderlistitem_beat/default";
- alias: "elm/genlist/item_compress/senderlistitem_beat/default";
- alias: "elm/genlist/item_compress_odd/senderlistitem_beat/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.sender elm.text.msgcount";
- data.item: "treesize" "20";
- images
- {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts
- {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_DISCLIP
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_TEXT_TOP( 21 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part {
- name: "elm.text.sender.bg";
- clip_to:"disclip";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description
- {
- min: 340 0;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
-
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
-
- }
- rel2
- {
- relative: 1.0 0.0; offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
-
- }
- }
- }
-
- part
- {
- name: "elm.text.sender";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: GENLIST_PART_TEXT_COLOR_INC;
- rel1.to: "elm.text.sender.bg";
- rel2.to: "elm.text.sender.bg";
- text {
- font: "SLP:style=Roman";
- size: 30;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part
- {
- name: "elm.text.msgcount.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.text.sender.bg";
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 0.0 1.0; offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- }
- }
-
- part
- {
- name: "elm.text.msgcount";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: GENLIST_PART_TEXT_COLOR_INC;
- rel1.to: "elm.text.msgcount.bg";
- rel2.to: "elm.text.msgcount.bg";
- text {
- font: "SLP:style=Roman";
- size: 25;
- min: 0 1;
- align: 1.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- }
-
- programs
- {
- program
- {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text.sender";
- target: "elm.text.msgcount";
- }
- program
- {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text.sender";
- target: "elm.text.msgcount";
- 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/genlist/item/senderlistitemforedit_beat/default";
- alias: "elm/genlist/item_odd/senderlistitemforedit_beat/default";
- alias: "elm/genlist/item_compress/senderlistitemforedit_beat/default";
- alias: "elm/genlist/item_compress_odd/senderlistitemforedit_beat/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.sender elm.text.msgcount elm.text.selectall";
- data.item: "icons" "elm.check";
- data.item: "treesize" "20";
- images
- {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts
- {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_DISCLIP
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_TEXT_TOP( 21 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part
- {
- name: "elm.padding.chk.left";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- visible: 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part
- {
- name: "elm.check";
- clip_to: "disclip";
- scale: 1;
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- min: 50 0;
- fixed : 1 1;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 0.0;
- offset: 0 0;
- to: "elm.padding.chk.left";
- }
- rel2
- {
- relative: 0.0 1.0;
- offset: 0 0;
- to: "bg";
- }
- }
- }
-
- part {
- name: "elm.text.sender.bg";
- clip_to:"disclip";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description
- {
- min: 340 0;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
-
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.check";
- to_y: "elm.padding.top";
-
- }
- rel2
- {
- relative: 1.0 0.0; offset: 0 0;
- to_x: "elm.check";
- to_y: "elm.padding.bottom";
-
- }
- }
- }
-
- part
- {
- name: "elm.text.sender";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: GENLIST_PART_TEXT_COLOR_INC;
- rel1.to: "elm.text.sender.bg";
- rel2.to: "elm.text.sender.bg";
- text {
- font: "SLP:style=Roman";
- size: 30;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part
- {
- name: "elm.text.msgcount.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.text.sender.bg";
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 0.0 1.0; offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- }
- }
-
- part
- {
- name: "elm.text.msgcount";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: GENLIST_PART_TEXT_COLOR_INC;
- rel1.to: "elm.text.msgcount.bg";
- rel2.to: "elm.text.msgcount.bg";
- text {
- font: "SLP:style=Roman";
- size: 25;
- min: 0 1;
- align: 1.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
-
- part
- {
- name: "elm.text.selectall";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: GENLIST_PART_TEXT_COLOR_INC;
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.check";
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 0.0; offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- text {
- font: "SLP:style=Roman";
- size: 34;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
-
- }
-
- programs
- {
- program
- {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text.sender";
- target: "elm.text.msgcount";
- }
- program
- {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text.sender";
- target: "elm.text.msgcount";
- 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/genlist/item/mailboxlist_beat/default";
- alias: "elm/genlist/item_odd/mailboxlist_beat/default";
- alias: "elm/genlist/item_compress/mailboxlist_beat/default";
- alias: "elm/genlist/item_compress_odd/mailboxlist_beat/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.mailbox";
- data.item: "icons" "elm.folder.icon";
- data.item: "treesize" "20";
- images
- {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts
- {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_DISCLIP
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_TEXT_TOP( 21 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part
- {
- name: "elm.padding.icon.left";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- visible: 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part
- {
- name: "elm.folder.icon";
- clip_to: "disclip";
- scale: 1;
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- min: 50 0;
- fixed : 1 1;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 0.0;
- offset: 0 0;
- to: "elm.padding.icon.left";
- }
- rel2
- {
- relative: 0.0 1.0;
- offset: 0 0;
- to: "bg";
- }
- }
- }
-
- part {
- name: "elm.text.mailbox.bg";
- clip_to:"disclip";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description
- {
- min: 340 0;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
-
- rel1
- {
- relative: 1.0 1.0; offset: 0 0;
- to_x: "elm.folder.icon";
- to_y: "elm.padding.top";
-
- }
- rel2
- {
- relative: 1.0 0.0; offset: 0 0;
- to_x: "elm.folder.icon";
- to_y: "elm.padding.bottom";
-
- }
- }
- }
-
- part
- {
- name: "elm.text.mailbox";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: GENLIST_PART_TEXT_COLOR_INC;
- rel1.to: "elm.text.mailbox.bg";
- rel2.to: "elm.text.mailbox.bg";
- text {
- font: "SLP:style=Roman";
- size: 30;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- }
-
- programs
- {
- program
- {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text.mailbox";
- }
- program
- {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text.mailbox";
- 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/genlist/item/mailbox_group_title/default";
- alias: "elm/genlist/item_odd/seven_email/mailbox_group_title/default";
- alias: "elm/genlist/item_compress/mailbox_group_title/default";
- alias: "elm/genlist/item_compress_odd/mailbox_group_title/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.group_title_left elm.text.group_title_right";
- data.item: "treesize" "20";
- parts
- {
- BEAT_GENLIST_PART_PADDING_LEFT( 14 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 14 )
- part { name: "rect";
- type: RECT;
- repeat_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- color: GENLIST_GROUP_BG_COLOR_DEFAULT_INC;
- }
- description { state: "alpha_off" 0.0;
- min: 0 30;
- color: GENLIST_GROUP_BG_COLOR_ALPHA_OFF_INC;
- }
- }
- GENLIST_GROUP_PART_BASE_IMAGE_INC
-
- part
- {
- name: "elm.text.group_title_left";
- type: TEXT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- }
- color: GENLIST_GROUP_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 1 1;
- align: 0.0 0.5;
- }
- }
- }
- part
- {
- name: "elm.text.group_title_right";
- type: TEXT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 1.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- }
- color: GENLIST_GROUP_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 1 1;
- align: 1.0 0.5;
- }
- }
- }
- }
- programs {
- program {
- name: "enable_alpha";
- signal: "elm,state,alpha,enable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "rect";
- }
- program {
- name: "disable_alpha";
- signal: "elm,state,alpha,disable";
- source: "elm";
- action: STATE_SET "alpha_off" 0.0;
- target: "rect";
- }
- program {
- name: "selected";
- source: "rect";
- signal: "mouse,clicked,1";
- action: SIGNAL_EMIT "elm,title_action,item,click" "elm";
- }
- }
- }
-
-
+++ /dev/null
-#define START_X 15/480
-#define START_Y 15/480
-#define IMG_WIDTH 52/480
-#define IMG_Y (START_X + IMG_WIDTH)
-#define TEXT_START_X 20/480
-#define TEXT_WIDTH (START_X + IMG_WIDTH + TEXT_START_X)
-#define TEXT_GAP 10/480
-#define TEXT1_WIDTH 210/480
-#define TEXT1_END_X (START_X + TEXT1_WIDTH)
-#define TEXT2_WIDTH 200/480
-#define TEXT2_START_X (START_X + TEXT1_WIDTH + TEXT_GAP)
-#define TEXT2_END_X (START_X + TEXT1_WIDTH + TEXT2_WIDTH + TEXT_GAP)
-#define ARROW_IMG_START_X (START_X + TEXT1_WIDTH + TEXT2_WIDTH + TEXT_GAP + TEXT_GAP)
-#define ARROW_IMG_WIDTH 15/480
-#define ARROW_IMG_END_X (START_X + TEXT1_WIDTH + TEXT2_WIDTH + TEXT_GAP + TEXT_GAP + ARROW_IMG_WIDTH)
-#define INNER_RECT_HEIGHT 80/480
-
-#include "./edc_email_setting_defines.h"
-
- images {
- image: "tw3_list_select.png" COMP;
- image: "01_list_lighting.png" COMP;
- image: "01_list_selectall_bg.png" COMP;
- }
-
-/* multi line option - */
-
- group {
- name: "elm/genlist/item/ev_option/default";
- alias: "elm/genlist/item_odd/ev_option/default";
- alias: "elm/genlist/item_compress/ev_option/default";
- alias: "elm/genlist/item_compress_odd/ev_option/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.option_title elm.text.option_detail";
- data.item: "treesize" "20";
- parts {
- part {
- name: "rect";
- type: RECT;
- // mouse_events: 1;
- description {
- min: 0 OPTION_H;
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 (OPTION_H-2);
- image {
- normal: "01_list_selectall_bg.png";
- // border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "bg";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 (SINGLE_ICON_H-2);
- color: 255 255 255 0;
- rel1 { relative: 0.0 0.0; offset: -5 -5; }
- rel2 { relative: 1.0 1.0; offset: 4 4; }
- image { normal: "tw3_list_select.png"; border: 6 6 6 6; }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 { relative: 0.0 0.0; offset: -2 -2; }
- rel2 { relative: 1.0 1.0; offset: 1 1; }
- }
- }
- part {
- name: "elm.text.option_title";
- type: TEXT;
- effect: SHADOW;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { to: "rect"; relative: (OPTION_TEXT1_START_X/OPTION_W) (OPTION_TEXT1_START_Y/OPTION_H); }
- rel2 { to: "rect"; relative: (OPTION_TEXT1_END_X/OPTION_W) (OPTION_TEXT1_END_Y/OPTION_H); }
- //color: COLOR2 255;
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "HelveN_Asia";
- size: 33;
- align: 0.0 0.5;
- }
- }
- }
- part {
- name: "elm.text.option_detail";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { to: "rect"; relative: (OPTION_TEXT2_START_X/OPTION_W) (OPTION_TEXT2_START_Y/OPTION_H); }
- rel2 { to: "rect"; relative: (OPTION_TEXT2_END_X/OPTION_W) (OPTION_TEXT2_END_Y/OPTION_H); }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "HelveN_Asia";
- size: 28;
- align: 0.0 0.5;
- }
- }
- }
-
- }
- programs {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- transition: SINUSOIDAL 0.1;
- after: "go_passive";
- }
- program {
- name: "go_passive";
- // signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- transition: SINUSOIDAL 0.4;
- target: "bg";
- }
- }
- }
-
-/* multi line option - end */
-
-/* single line option - */
-
- group {
- name: "elm/genlist/item/ev_single/default";
- alias: "elm/genlist/item_odd/ev_single/default";
- alias: "elm/genlist/item_compress/ev_single/default";
- alias: "elm/genlist/item_compress_odd/ev_single/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.single_title";
- data.item: "treesize" "20";
- parts {
- part {
- name: "rect";
- type: RECT;
- // mouse_events: 1;
- description {
- min: 0 SINGLE_H;
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 (SINGLE_H-2);
- image {
- normal: "01_list_selectall_bg.png";
- // border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "bg";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 (SINGLE_ICON_H-2);
- color: 255 255 255 0;
- rel1 { relative: 0.0 0.0; offset: -5 -5; }
- rel2 { relative: 1.0 1.0; offset: 4 4; }
- image { normal: "tw3_list_select.png"; border: 6 6 6 6; }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 { relative: 0.0 0.0; offset: -2 -2; }
- rel2 { relative: 1.0 1.0; offset: 1 1; }
- }
- }
- part {
- name: "elm.text.single_title";
- type: TEXT;
- effect: SHADOW;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { to: "rect"; relative: (SINGLE_START_X/SINGLE_W) (SINGLE_START_Y/SINGLE_H); }
- rel2 { to: "rect"; relative: (SINGLE_END_X/SINGLE_W) (SINGLE_END_Y/SINGLE_H); }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "HelveN_Asia";
- size: 30;
- align: 0.0 0.5;
- }
- }
- }
- }
- programs {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- transition: SINUSOIDAL 0.1;
- after: "go_passive";
- }
- program {
- name: "go_passive";
- // signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- transition: SINUSOIDAL 0.4;
- target: "bg";
- }
- }
- }
-/* single line option - end */
-
-/* single line option with left icon- */
- group {
- name: "elm/genlist/item/ev_single_left_icon/default";
- alias: "elm/genlist/item_odd/ev_single_left_icon/default";
- alias: "elm/genlist/item_compress/ev_single_left_icon/default";
- alias: "elm/genlist/item_compress_odd/ev_single_left_icon/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.title";
- data.item: "icons" "elm.swallow.left_icon";
- data.item: "treesize" "20";
- parts {
- part {
- name: "rect";
- type: RECT;
- // mouse_events: 1;
- description {
- min: 0 SINGLE_ICON_H;
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 (SINGLE_ICON_H-2);
- image {
- normal: "01_list_selectall_bg.png";
- // border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "bg";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 (SINGLE_ICON_H-2);
- color: 255 255 255 0;
- rel1 { relative: 0.0 0.0; offset: -5 -5; }
- rel2 { relative: 1.0 1.0; offset: 4 4; }
- image { normal: "tw3_list_select.png"; border: 6 6 6 6; }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 { relative: 0.0 0.0; offset: -2 -2; }
- rel2 { relative: 1.0 1.0; offset: 1 1; }
- }
- }
- part {
- name: "elm.text.title";
- type: TEXT;
- effect: SHADOW;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { to: "rect"; relative: (SINGLE_ICON_START_X/SINGLE_W) (SINGLE_ICON_START_Y/SINGLE_H); }
- rel2 { to: "rect"; relative: (SINGLE_ICON_END_X/SINGLE_W) (SINGLE_ICON_END_Y/SINGLE_H); }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "HelveN_Asia";
- size: 30;
- align: 0.0 0.5;
- }
- }
- }
- part { name: "elm.swallow.left_icon";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 { to: "rect"; relative: 0.0 (SINGLE_ICON_START_Y/SINGLE_ICON_END_Y);
- offset: BOX_LIST_PIC_OFFSET_X_REL1 BOX_LIST_PIC_OFFSET_Y_REL1; }
- rel2 { to: "rect"; relative: 0.0 (SINGLE_ICON_START_Y/SINGLE_ICON_END_Y);
- offset: BOX_LIST_PIC_OFFSET_X_REL2 BOX_LIST_PIC_OFFSET_Y_REL2; }
- }
- }
- }
- programs {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- transition: SINUSOIDAL 0.1;
- after: "go_passive";
- }
- program {
- name: "go_passive";
- // signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- transition: SINUSOIDAL 0.4;
- target: "bg";
- }
- }
-}
-/* single line option with icon- end */
-
-
-/* single line option with entry- */
- group {
- name: "elm/genlist/item/ev_single_entry/default";
- alias: "elm/genlist/item_odd/ev_single_entry/default";
- alias: "elm/genlist/item_compress/ev_single_entry/default";
- alias: "elm/genlist/item_compress_odd/ev_single_entry/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.entry_title";
- data.item: "icons" "elm.swallow.entry";
- data.item: "treesize" "20";
- parts {
- part {
- name: "rect";
- type: RECT;
- // mouse_events: 1;
- description {
- min: 0 OPTION_H;
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 (OPTION_H-2);
- image {
- normal: "01_list_selectall_bg.png";
- // border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "bg";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 (SINGLE_ICON_H-2);
- color: 255 255 255 0;
- rel1 { relative: 0.0 0.0; offset: -5 -5; }
- rel2 { relative: 1.0 1.0; offset: 4 4; }
- image { normal: "tw3_list_select.png"; border: 6 6 6 6; }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 { relative: 0.0 0.0; offset: -2 -2; }
- rel2 { relative: 1.0 1.0; offset: 1 1; }
- }
- }
- part {
- name: "elm.text.entry_title";
- type: TEXT;
- effect: SHADOW;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { to: "rect"; relative: (OPTION_TEXT1_START_X/OPTION_W) (OPTION_TEXT1_START_Y/OPTION_H); }
- rel2 { to: "rect"; relative: (OPTION_TEXT1_END_X/OPTION_W) (OPTION_TEXT1_END_Y/OPTION_H); }
- //color: COLOR2 255;
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "HelveN_Asia";
- size: 27;
- align: 0.0 0.5;
- }
- }
- }
- part { name: "elm.swallow.entry";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 { to: "rect"; relative: (OPTION_TEXT2_START_X/OPTION_W) (35/OPTION_H); }
- rel2 { to: "rect"; relative: (OPTION_TEXT2_END_X/OPTION_W) (85/OPTION_H); }
- align: 0.0 0.5;
- }
- }
- }
- programs {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- transition: SINUSOIDAL 0.1;
- after: "go_passive";
- }
- program {
- name: "go_passive";
- // signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- transition: SINUSOIDAL 0.4;
- target: "bg";
- }
- }
- }
-/* single line option with entry- end */
-
-/* single line option with icon- */
-
- group {
- name: "elm/genlist/item/ev_single_icon/default";
- alias: "elm/genlist/item_odd/ev_single_icon/default";
- alias: "elm/genlist/item_compress/ev_single_icon/default";
- alias: "elm/genlist/item_compress_odd/ev_single_icon/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.title";
- data.item: "icons" "elm.swallow.right_icon";
- data.item: "treesize" "20";
- parts {
- part {
- name: "rect";
- type: RECT;
- // mouse_events: 1;
- description {
- min: 0 SINGLE_ICON_H;
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 (SINGLE_ICON_H-2);
- image {
- normal: "01_list_selectall_bg.png";
- // border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "bg";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 (SINGLE_ICON_H-2);
- color: 255 255 255 0;
- rel1 { relative: 0.0 0.0; offset: -5 -5; }
- rel2 { relative: 1.0 1.0; offset: 4 4; }
- image { normal: "tw3_list_select.png"; border: 6 6 6 6; }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 { relative: 0.0 0.0; offset: -2 -2; }
- rel2 { relative: 1.0 1.0; offset: 1 1; }
- }
- }
- part {
- name: "elm.text.title";
- type: TEXT;
- effect: SHADOW;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { to: "rect"; relative: (SINGLE_START_X/SINGLE_W) (SINGLE_START_Y/SINGLE_H); }
- rel2 { to: "rect"; relative: (SINGLE_END_X/SINGLE_W) (SINGLE_END_Y/SINGLE_H); }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "HelveN_Asia";
- size: 30;
- align: 0.0 0.5;
- }
- }
- }
- part { name: "elm.swallow.right_icon";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 { to: "rect"; relative: (SINGLE_RIGHT_ICON_START_X/SINGLE_RIGHT_ICON_END_X) (SINGLE_RIGHT_ICON_START_Y/SINGLE_RIGHT_ICON_END_Y);
- offset: BOX_LIST_PIC_OFFSET_X_REL1 BOX_LIST_PIC_OFFSET_Y_REL1; }
- rel2 { to: "rect"; relative: (SINGLE_RIGHT_ICON_START_X/SINGLE_RIGHT_ICON_END_X) (SINGLE_RIGHT_ICON_START_Y/SINGLE_RIGHT_ICON_END_Y);
- offset: BOX_LIST_PIC_OFFSET_X_REL2 BOX_LIST_PIC_OFFSET_Y_REL2; }
- }
- }
- }
- programs {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- transition: SINUSOIDAL 0.1;
- after: "go_passive";
- }
- program {
- name: "go_passive";
- // signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- transition: SINUSOIDAL 0.4;
- target: "bg";
- }
- }
- }
-/* single line option with icon- end */
-
-/* popup single line option with icon- */
-
- group {
- name: "elm/genlist/item/popup_single_icon/default";
- alias: "elm/genlist/item_odd/popup_single_icon/default";
- alias: "elm/genlist/item_compress/popup_single_icon/default";
- alias: "elm/genlist/item_compress_odd/popup_single_icon/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.icon";
- data.item: "treesize" "20";
- parts {
- part {
- name: "rect";
- type: RECT;
- // mouse_events: 1;
- description {
- min: 0 SINGLE_ICON_H;
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 (SINGLE_ICON_H-2);
- image {
- normal: "01_list_lighting.png";
- // border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "bg";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 (SINGLE_ICON_H-2);
- color: 255 255 255 0;
- rel1 { relative: 0.0 0.0; offset: -5 -5; }
- rel2 { relative: 1.0 1.0; offset: 4 4; }
- image { normal: "tw3_list_select.png"; border: 6 6 6 6; }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 { relative: 0.0 0.0; offset: -2 -2; }
- rel2 { relative: 1.0 1.0; offset: 1 1; }
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { to: "rect"; relative: (POPUP_START_X/SINGLE_W) (SINGLE_START_Y/SINGLE_H); }
- rel2 { to: "rect"; relative: (POPUP_END_X/SINGLE_W) (SINGLE_END_Y/SINGLE_H); }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "HelveN_Asia";
- size: 32;
- align: 0.0 0.5;
- }
- }
- }
- part { name: "elm.icon";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 { to: "rect"; relative: (POPUP_ICON_X/POPUP_W) (POPUP_ICON_Y/POPUP_H);
- offset: BOX_LIST_PIC_OFFSET_X_REL1 BOX_LIST_PIC_OFFSET_Y_REL1; }
- rel2 { to: "rect"; relative: (POPUP_ICON_X/POPUP_W) (POPUP_ICON_Y/POPUP_H);
- offset: BOX_LIST_PIC_OFFSET_X_REL2 BOX_LIST_PIC_OFFSET_Y_REL2; }
- }
- }
- }
- programs {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- transition: SINUSOIDAL 0.1;
- after: "go_passive";
- }
- program {
- name: "go_passive";
- // signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- transition: SINUSOIDAL 0.4;
- target: "bg";
- }
- }
- }
-/* popup single line option with icon- end */
-
-
-/* padding with icon- */
-
- group {
- name: "elm/genlist/item/ev_padding/default";
- alias: "elm/genlist/item_odd/ev_padding/default";
- alias: "elm/genlist/item_compress/ev_padding/default";
- alias: "elm/genlist/item_compress_odd/ev_padding/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- // data.item: "labels" "elm.text.title";
- data.item: "icons" "elm.swallow.right_icon";
- data.item: "treesize" "20";
- parts {
- part {
- name: "rect";
- type: RECT;
- // mouse_events: 1;
- description {
- min: 0 100;
- //max: 480 100;
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 100;
- //max: 480 100;
- image {
- // normal: "01_list_selectall_bg.png";
- // border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part { name: "elm.swallow.right_icon";
- type: SWALLOW;
- description {
- fixed: 1 1;
- align: 0.5 0.5;
- aspect: 1.0 1.0;
- aspect_preference : VERTICAL;
- state: "default" 0.0;
- rel1 { to: "rect"; relative: 0.0 0.0;
- offset: BOX_LIST_PIC_OFFSET_X_REL1 BOX_LIST_PIC_OFFSET_Y_REL1; }
- rel2 { to: "rect"; relative: 1.0 1.0;
- offset: BOX_LIST_PIC_OFFSET_X_REL2 BOX_LIST_PIC_OFFSET_Y_REL2; }
- }
- }
-
- }
- }
-/* padding with icon- end */
-
- group {
- name: "elm/genlist/item/ev_accounts/default";
- alias: "elm/genlist/item_odd/ev_accounts/default";
- alias: "elm/genlist/item_compress/ev_accounts/default";
- alias: "elm/genlist/item_compress_odd/ev_accounts/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.user_email";
- data.item: "icons" "elm.thumbnail elm.colorbar elm.color.chooser";
-
- images {
- image: "tw3_list_select.png" COMP;
- image: "tw3_list_select.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_TEXT_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
-
- part { name: "elm.colorbar.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 5 60;
- max: 5 60;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 {
- relative: 0.5 0.2;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.8 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
- }
- image {
- normal: "tw3_list_select.png";
- border: 1 1 1 1;
- }
- }
- }
-
- part { name: "elm.colorbar";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.colorbar.bg";
- rel2.to: "elm.colorbar.bg";
- }
- }
-
- part { name: "elm.padding.colorbar.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.colorbar";
- }
- rel2.to_x: "elm.colorbar";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- part { name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.colorbar.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.colorbar.right";
- to_y: "elm.padding.bottom";
- }
- /*image {
- normal: "tw3_list_select.png";
- border: 1 1 1 1;
- }*/
- }
- }
-
- part { name: "elm.thumbnail";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
- part { name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.thumbnail";
- }
- rel2.to_x: "elm.thumbnail";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0 ;
- offset: 0 0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_LIST_ITEM;
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part { name: "elm.padding.text.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.text";
- }
- rel2.to_x: "elm.text";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
- part { name: "elm.user_email";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_LIST_ITEM;
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part { name: "elm.color.chooser";
- clip_to: "disclip";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 {
- relative: 0.8 1.0;
- to_x: "elm.text";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
-}
-
- group { name: "elm/genlist/item/email_2line_text/default";
- alias: "elm/genlist/item_odd/email_2line_text/default";
- alias: "elm/genlist/item_compress/email_2line_text/default";
- alias: "elm/genlist/item_compress_odd/email_2line_text/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part { name: "base";
- type: RECT;
- repeat_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- color: 190 186 171 200;
- }
- }
-
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 30;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part { name: "elm.text.sub";
- 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.left";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- color: 0 102 153 255;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-
-/*Added by Rajarshi*/
- group { name: "elm/dialogueitem/base/2line_text_image";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 90;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.1;
- fixed: 1 1;
- //rel1.relative: 1.0 0.1;
- //rel1.to_x: "content";
- //rel2.relative: 0.0 0.5;
- //rel2.to_x: "right_padding";
- rel1{relative: TEXT_WIDTH 0.1 ;to:bg;}
- rel2{relative: 1 0.5 ;to:bg;}
-
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 30;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- }
-
- part { name: "text_btm";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- //rel1.relative: 1.0 0.8;
- //rel1.to_x: "content";
- //rel2.relative: 0.0 0.5;
- //rel2.to_x: "right_padding";
- rel1{relative: TEXT_WIDTH 0.5 ;to:bg;}
- rel2{relative: 1 0.9 ;to:bg;}
-
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 24;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 52 52;
- max: 52 52;
- align: 0.0 0.5;
- fixed: 1 1;
- //rel1.relative: 0.0 0.5;
- //rel1.to_x: "left_padding";
- //rel2.relative: 0.0 0.5;
- //rel2.to_x: "text";
- rel1{relative: START_X 0.1 ;to:bg;}
- rel2{relative: IMG_Y 0.9 ;to:bg;}
- }
- }
- }
- }
-
- group { name: "elm/dialogueitem/base/2line_text";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 80;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.1;
- fixed: 1 1;
- rel1.relative: 1.0 0.1;
- rel1.to_x: "left_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "content";
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- text {
- font: "Helvetica_";
- size: 30;
- min: 0 0;
- align: 0.0 0.1;
- }
- }
- }
- part { name: "text_btm";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.1;
- fixed: 1 1;
- rel1.relative: 1.0 0.8;
- rel1.to_x: "left_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "content";
-
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- text {
- font: "Helvetica_";
- size: 26;
- min: 0 0;
- align: 0.0 0.8;
- }
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
- }
- }
- }
- }
-
-
- group { name: "elm/dialogueitem/base/sending_options_list";
- parts {
- part {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- color: 0 0 0 0;
- }
- }
- part {
- name: "inner_rect";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1{relative: 0.0 0.0 ;to:bg;}
- rel2{relative: 1.0 INNER_RECT_HEIGHT ;to:bg;}
- }
- }
- part { name: "text_left";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1{relative: START_X 0.0 ;to:inner_rect;}
- rel2{relative: TEXT1_END_X 1.0 ;to:inner_rect;}
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- text {
- font: "Helvetica_";
- size: 30;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- }
- part { name: "text_right";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1{relative: TEXT2_START_X 0.2 ;to:inner_rect;}
- rel2{relative: TEXT2_END_X 1.0 ;to:inner_rect;}
- }
- }
- part { name: "content_right";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1{relative: ARROW_IMG_START_X 0.0 ;to:inner_rect;}
- rel2{relative: ARROW_IMG_END_X 1.0 ;to:inner_rect;}
- }
- }
- part { name: "content_list";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- rel1{relative: 0.0 INNER_RECT_HEIGHT ;to:bg;}
- rel2{relative: 1.0 1.0 ;to:bg;}
- }
- }
-
- }
- program {
- name: "default_ac_clicked";
- signal: "mouse,clicked,1";
- source: "inner_rect";
- script {
- emit("clicked", "DAC");
- }
- }
-
- }
-
+++ /dev/null
- group {
- name: "elm/label/email/wrap";
-
- styles {
- style {
- name: "email_viewer_textblock_style";
- base: "font=system_content font_size=22 align=left color="LABEL_TEXT_BLOCK_STYLE_COLOR_INC" wrap=char";
- tag: "br" "\n";
- tag: "hilight" "+ font=system_content";
- tag: "b" "+ font=system_content";
- tag: "blackcolor" "+ color=#000000";
- tag: "tab" "\t";
- }
- }
-
- parts {
- part {
- name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- //min: 0 10;
- //fixed: 0 0;
- text {
- style: "email_viewer_textblock_style";
- min: 0 1;
- }
- rel1 { relative: 0.0 0.0; offset: 20 0;}
- rel2 { relative: 1.0 1.0; offset: -20 0;}
- }
- }
- }
- }
-
- group {
- name: "elm/dialogueitem/email/detail_subject";
-
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_button_expand_closed.png" COMP;
- image: "00_button_expand_closed_press.png" COMP;
- image: "00_button_expand_opened.png" COMP;
- image: "00_button_expand_opened_press.png" COMP;
- }
-
- parts
- {
- BEAT_GENLIST_PART_BASE( 0 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part
- {
- name: "touch_arrow";
- type: RECT;
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- scale: 1;
- description { state: "default" 0.0;
- min: 70 80;
- 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: 40 40;
- max: 40 40;
- fixed: 1 1;
- align: 1.0 0.5;
- aspect: 1.0 1.0; // needed?
- rel1.to_x: "elm.padding.right";
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- }
- image.normal: "00_button_expand_closed.png";
- }
- description { state: "default" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_closed_press.png";
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_opened.png";
- }
- description { state: "active" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_opened_press.png";
- }
- }
- part
- {
- name: "elm.padding.arrow.left";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 5 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: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.arrow.left";
- to_y: "elm.padding.top";
- }
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- /*text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }*/
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
-
- part
- {
- name: "elm.text.sub";
- 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.left";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.arrow.left";
- to_y: "elm.padding.bottom";
- }
- color: 229 144 30 255;
- text {
- font: "SLP:style=Medium";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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: "arrow_down";
- signal: "mouse,down,1";
- source: "touch_arrow";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl)
- if (vl == 0.0)
- set_state(PART:"arrow", st, 1.0);
- else
- set_state(PART:"arrow", st, 0.0);
- }
- }
- 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";
- }
- }
- }
-
- group {
- name: "elm/editfield/base/email_default";
-
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts
- {
- BEAT_GENLIST_PART_BASE( 0 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
-
- part {
- name: "elm.icon";
- clip_to: "disclip";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.5 0.5;
- rel1 {
- relative: 1 1;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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/dialogueitem/email/attachment_item";
-
- images {
- image: "email/icon_file.png" COMP;
- image: "00_list_bar_press_1x80.png" COMP;
- image: "email/email_viewer_attach_down.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 70 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 5 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 5 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part {
- name: "elm.icon";
- clip_to: "disclip";
- type: IMAGE;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- offset: 0 0;
- to_x: "elm.padding.left";
- }
- image.normal: "email/icon_file.png" ;
- }
- }
-
- part {
- name: "elm.padding.icon.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 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.text";
- clip_to: "disclip";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- min: 0 60;
- fixed: 0 1;
- align: 0 0.5;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.icon.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.down.left";
- to_y: "elm.padding.bottom";
- }
- /*color: 0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 28;
- min: 0 1;
- align: 0.0 0.5;
- }*/
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- description
- {
- state: "active" 0.0;
- inherit: "default" 0.0;
- color: 51 255 000 255;
- }
- }
-
- part
- {
- name: "down_bg";
- type: RECT;
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 {
- relative: 0.5 0.5;
- to: "down";
- }
- rel2 {
- relative: 0.5 0.5;
- to: "down";
- }
- color: 234 232 170 255;
- }
- description {
- state: "active" 0.0;
- inherit: "default" 0.0;
- color: 51 255 0 255;
- }
- }
- part
- {
- name: "down";
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 1.0 0.5;
- aspect: 1.0 1.0; // needed?
- rel1.to_x: "elm.padding.right";
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- }
- image.normal: "email/email_viewer_attach_down.png";
- }
- }
- part
- {
- name: "elm.padding.down.left";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- visible: 0;
- align: 1.0 0.5;
- rel1.to: "down";
- rel2 {
- relative: 0.0 1.0;
- to: "down";
- }
- }
- }
-
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- //target: "elm.text.sub";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text";
- //target: "elm.text.sub";
- 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: "save";
- signal: "mouse,up,1";
- source: "down_bg";
- source: "down";
- action: SIGNAL_EMIT "att,icon,save" "elm";
- }
- /*program {
- name: "open";
- signal: "mouse,up,1";
- source: "elm.icon";
- source: "elm.text";
- action: SIGNAL_EMIT "att,icon,open" "";
- }
- program {
- name: "select_text";
- signal: "mouse,down,1";
- source: "elm.text";
- action: SIGNAL_EMIT "att,text,select" "";
- }
- program {
- name: "unselect_text";
- signal: "mouse,up,1";
- source: "elm.text";
- action: SIGNAL_EMIT "att,text,unselect" "";
- }*/
- program {
- name: "select_icon";
- signal: "mouse,down,1";
- source: "down_bg";
- source: "down";
- action: STATE_SET "active" 0.0;
- target: "down_bg";
- }
- program {
- name: "unselect_icon";
- signal: "mouse,up,1";
- source: "down_bg";
- source: "down";
- action: STATE_SET "default" 0.0;
- target: "down_bg";
- }
- }
- }
-
-
- group {
- name: "elm/dialogueitem/email/attachment_head";
-
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_button_expand_closed.png" COMP;
- image: "00_button_expand_closed_press.png" COMP;
- image: "00_button_expand_opened.png" COMP;
- image: "00_button_expand_opened_press.png" COMP;
- image: "email/email_viewer_attach_multi.png" COMP;
- }
-
- parts
- {
- BEAT_GENLIST_PART_BASE( 70 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 5 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 5 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part {
- name: "elm.icon";
- clip_to: "disclip";
- type: IMAGE;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- offset: 0 0;
- to_x: "elm.padding.left";
- }
- image.normal: "email/email_viewer_attach_multi.png" ;
- }
- }
- part {
- name: "elm.padding.icon.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 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: "touch_arrow";
- type: RECT;
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- scale: 1;
- description { state: "default" 0.0;
- min: 70 70;
- 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: 40 40;
- max: 40 40;
- fixed: 1 1;
- align: 1.0 0.5;
- aspect: 1.0 1.0; // needed?
- rel1.to_x: "elm.padding.right";
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- }
- image.normal: "00_button_expand_closed.png";
- }
- description { state: "default" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_closed_press.png";
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_opened.png";
- }
- description { state: "active" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_opened_press.png";
- }
- }
- part
- {
- name: "elm.padding.arrow.left";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 5 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;
- min: 0 30;
- fixed: 0 1;
- align: 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;
- offset: 0 0;
- to_x: "elm.padding.arrow.left";
- to_y: "elm.padding.top";
- }
- //color: 0 0 0 255;
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 30;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
-
- part
- {
- name: "elm.text.sub";
- 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";
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.arrow.left";
- to_y: "elm.padding.bottom";
- }
- color: 229 144 30 255;
- text {
- font: "SLP:style=Medium";
- size: 20;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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: "arrow_down";
- signal: "mouse,down,1";
- source: "touch_arrow";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl)
- if (vl == 0.0)
- set_state(PART:"arrow", st, 1.0);
- else
- set_state(PART:"arrow", st, 0.0);
- }
- }
- 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: "save_all";
- signal: "mouse,up,1";
- source: "elm.icon";
- action: SIGNAL_EMIT "att,icon,save,all" "";
- }
- }
- }
-
+++ /dev/null
-
-group { name: "elm/entry/base/MSG_BODY_F";
- data.item: "default_font_size" "24";
- data.item: "min_font_size" "8";
- data.item: "max_font_size" "60";
- styles
- {
- style { name: "entry_textblock_style1";
- base: "font=SLP:style=Roman font_size=24 align=left color=#4D3A17FF wrap=char";
- tag: "br" "\n";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#800 underline=on underline_color=#8008";
- tag: "hilight" "+ font=SLP:style=Bold";
- }
- style { name: "entry_textblock_disabled_style1";
- base: "font=SLP:style=Roman font_size=24 align=left color=#00000080 wrap=char";
- tag: "br" "\n";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
- tag: "hilight" "+ font=SLP:style=Bold";
-
- }
- }
- data {
- item: context_menu_orientation "horizontal";
- }
- parts {
- part { name: "entry.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- }
- parts {
- part {
- name: "elm_entry_remain_byte_count_rect";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min : 35 50;
- max : 100 50;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 1.0 0.0;
- }
- }
-
- /* part {
- name: "elm_entry_remain_byte_count";
- mouse_events: 0;
- type: TEXT;
- effect: SHADOW;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 35 35;
- max: 100 35;
- fixed: 1 1;
- rel1 { relative: 0.0 1.0; to: "elm_entry_remain_byte_count_rect"; }
- rel2 { relative: 1.0 1.0; to: "elm_entry_remain_byte_count_rect"; }
- color: 0 0 0 255;
- text {
- font: "Helvetica-Bold_";
- size: 28;
- align: 1.0 1.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/MSG_BODY"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_bar"; // block bar
- source4: "elm/entry/cursor/MSG_BODY"; // cursorover
- source5: "elm/entry/anchor/MSG_BODY"; // anchor under
-// source6: "X"; // anchor over
- description { state: "default" 0.0;
- fixed: 1 0;
- text {
- style: "entry_textblock_style1";
- min: 0 1;
- }
- }
- description {
- state: "show_remain_bytes" 0.0;
- inherit: "default" 0.0;
- align: 0.0 0.0;
- rel2 { relative: 1.0 1.0; to_x: "elm_entry_remain_byte_count_rect"; }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- text {
- style: "entry_textblock_disabled_style1";
- 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: "show_max_count_field";
- signal: "elm,state,remain,bytes,show";
- source: "elm";
- action: STATE_SET "show_remain_bytes" 0.0;
- target: "elm.text";
- }
- program {
- name: "hide_max_count_field";
- signal:"elm,state,remain,bytes,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- }
- }
-
-
-
-
-
-
-group { name: "elm/entry/base/MSG_BODY";
- data.item: "default_font_size" "32";
- data.item: "min_font_size" "8";
- data.item: "max_font_size" "60";
- styles
- {
- style { name: "entry_textblock_style2";
- base: "font=SLP font_size=32 align=left color=#000000 wrap=char";
- tag: "br" "\n";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#800 underline=on underline_color=#8008";
- tag: "hilight" "+ font=SLP:style=Bold";
- }
- style { name: "entry_textblock_disabled_style2";
- base: "font=SLP font_size=32 align=left color=#00000080 wrap=char";
- tag: "br" "\n";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
- tag: "hilight" "+ font=FONT_CONTENT:style=Bold";
- }
- }
- data {
- item: context_menu_orientation "horizontal";
- }
- parts {
- part { name: "entry.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- }
- parts {
- part {
- name: "elm_entry_remain_byte_count_rect";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min : 35 50;
- max : 100 50;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 1.0 0.0;
- }
- }
-
- /* part {
- name: "elm_entry_remain_byte_count";
- mouse_events: 0;
- type: TEXT;
- effect: SHADOW;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 35 35;
- max: 100 35;
- fixed: 1 1;
- rel1 { relative: 0.0 1.0; to: "elm_entry_remain_byte_count_rect"; }
- rel2 { relative: 1.0 1.0; to: "elm_entry_remain_byte_count_rect"; }
- color: 0 0 0 255;
- text {
- font: "Helvetica-Bold_";
- size: 28;
- align: 1.0 1.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/MSG_BODY"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_bar"; // block bar
- source4: "elm/entry/cursor/MSG_BODY"; // cursorover
- source5: "elm/entry/anchor/MSG_BODY"; // anchor under
-// source6: "X"; // anchor over
- description { state: "default" 0.0;
- fixed: 1 0;
- text {
- style: "entry_textblock_style2";
- min: 0 1;
- }
- }
- description {
- state: "show_remain_bytes" 0.0;
- inherit: "default" 0.0;
- align: 0.0 0.0;
- rel2 { relative: 1.0 1.0; to_x: "elm_entry_remain_byte_count_rect"; }
- }
- 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: "show_max_count_field";
- signal: "elm,state,remain,bytes,show";
- source: "elm";
- action: STATE_SET "show_remain_bytes" 0.0;
- target: "elm.text";
- }
- program {
- name: "hide_max_count_field";
- signal:"elm,state,remain,bytes,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- }
- }
-
-
-group { name: "elm/entry/selection/MSG_BODY";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- color: 205 221 237 255;
- }
- }
- }
- }
-
-group { name: "elm/entry/cursor/MSG_BODY";
- 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";
- 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: 4 0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 2;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 -2;
- }
- //color: 66 98 242 255;
- color: 229 134 22 255;
- }
- description { state: "hidden" 0.0;
- inherit: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program { name: "show";
- signal: "show";
- source: "";
- 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";
- }
- program { name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "clip2";
- }
- }
- }
-group { name: "elm/entry/anchor/MSG_BODY";
- parts {
- part { name: "bg";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- color: 0 0 0 255; // changed by wonguk
- }
- }
- }
-}
-group { name: "elm/entry/base-single/MSG_BODY";
-
-
- data.item: "default_font_size" "24";
- data.item: "min_font_size" "8";
- data.item: "max_font_size" "60";
-
- styles
- {
- style { name: "editfield_single_textblock_style1";
- base: "font=SLP font_size=32 align=left color=#000000 wrap=none";
- tag: "br" "\n";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#800 underline=on underline_color=#8008";
- tag: "hilight" "+ font=SLP:style=Bold";
- }
- style { name: "editfield_single_textblock_disabled_style1";
- base: "font=SLP font_size=32 align=left color=#00000080 wrap=none";
- tag: "br" "\n";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
- tag: "hilight" "+ font=SLP:style=Bold";
- }
- }
- data {
- item: context_menu_orientation "horizontal";
- }
- parts {
- part { name: "entry.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- }
- parts {
- part {
- name: "elm_entry_remain_byte_count_rect";
- type: RECT;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min : 35 50;
- max : 100 50;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 1.0 0.0;
- }
- }
-/*
- part {
- name: "elm_entry_remain_byte_count";
- mouse_events: 0;
- type: TEXT;
- effect: SHADOW;
- scale: 1;
-
- description {
- state: "default" 0.0;
- min: 35 35;
- max: 100 35;
- fixed: 1 1;
- visible: 0 ;
- rel1 { relative: 0.0 1.0; to: "elm_entry_remain_byte_count_rect"; }
- rel2 { relative: 1.0 1.0; to: "elm_entry_remain_byte_count_rect"; }
- color: 0 0 0 255;
- text {
- font: "Helvetica-Bold_";
- size: 28;
- align: 1.0 1.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/MSG_BODY"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_bar"; // block bar
- source4: "elm/entry/cursor/MSG_BODY"; // cursorover
- source5: "elm/entry/anchor/MSG_BODY"; // anchor under
- description { state: "default" 0.0;
- text {
- style: "editfield_single_textblock_style1";
- min: 1 1;
- max: 0 1;
- }
- }
- description {
- state: "show_remain_bytes" 0.0;
- inherit: "default" 0.0;
- align: 0.0 0.0;
- rel2 { relative: 1.0 1.0; to_x: "elm_entry_remain_byte_count_rect"; }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- text {
- style: "editfield_single_textblock_disabled_style1";
- }
- }
- }
- }
- 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: "show_max_count_field";
- signal: "elm,state,remain,bytes,show";
- source: "elm";
- //action: STATE_SET "show_remain_bytes" 0.0;
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program {
- name: "hide_max_count_field";
- signal:"elm,state,remain,bytes,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- }
- }
-
-///////////////////////////////////////////////// to use to_field & subject
-
+++ /dev/null
-
-#define PADDING_LEFT( param_padding_name ,param_padding_size ) \
- part \
- { \
- name: param_padding_name; \
- type: RECT; \
- scale: 1; \
- mouse_events: 0;\
- description \
- { \
- state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel1{relative: 0.0 0.0;} \
- rel2{relative: 0.0 1.0;} \
- align: 0.0 0.0; \
- color: 0 55 0 55; \
- } \
- }
-
- images
- {
- image: "msg_ui/07_message_list_bg.png" COMP;
- image: "00_list_bar_group_middle_focus.png" COMP;
- }
-
- group
- {
- name: "elm/genlist/item/predict_list/default";
- alias: "elm/genlist/item_odd/predict_list/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "";
- data.item: "icons" "swl.text1 swl.text2";// swl.img";
- data.item: "treesize" "20";
- data.item: "allow_slide" "1";
-
- parts
- {
- part
- {
- name: "rect";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- min: 0 80;
- color: GENLIST_PART_BG_COLOR_INC;//255 255 255 255;
- }
-
- }
-
- PADDING_LEFT(padding_left_10,10);
- part
- {
- name: "bg";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- rel1{ to: "rect"; relative: 0.0 0.0;}
- rel2{ to: "rect"; relative: 1.0 1.0;}
- image {
- normal: "msg_ui/07_message_list_bg.png";
- border: 0 0 0 5 ;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_list_bar_group_middle_focus.png";
- border: 5 5 0 0 ;
- }
- }
- }
-
- part
- {
- name: "default_image";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- rel1{ to_x: "padding_left_10"; relative: 1.0 0.0;}
- rel2{ to_x: "padding_left_10"; relative: 1.0 1.0;}
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part
- {
- name: "swl.img";
- type: SWALLOW;
- scale: 1;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- rel1{ to: "default_image"; relative: 0.0 0.0;}
- rel2{ to: "default_image"; relative: 1.0 1.0;}
- }
- }
-
- part { name: "swl.text1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1{to_x: "default_image"; relative: 1.0 0.0; offset: 10 0;}
- rel2{to_x: "swl.bt"; relative: 0.0 0.5;}
- }
- }
- part { name: "swl.text2";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1{to_x: "default_image"; relative: 1.0 0.5; offset: 10 0; }
- rel2{to_x: "swl.bt"; relative: 0.0 1.0;}
- }
-
- }
-
- part { name: "over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- color: 0 0 0 0;
- }
- }
- part { name: "swl.bt";
- type: SWALLOW;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
-
- description {
- state: "default" 0.0;
- visible: 0;
- min: 80 80;
- color: GENLIST_PART_BG_COLOR_INC;//255 255 255 255;
- rel1
- {
- relative: 1.0 0.0;
- }
- rel2
- {
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- align: 1.0 0.5;
- }
-
- }
-
- }
-
- programs {
-
- program {
- name: "mouse_down";
- signal: "mouse,down,1";
- source: "over";
- action: STATE_SET "pressed" 0.0;
- target: "bg";
-
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "over";
- action: STATE_SET "default" 0.0;
- target: "bg";
-
- }
- }
- }
-
+++ /dev/null
-#define List_Arrow_BG "00_list_on_arrow.png"
-#define List_Arrow_Press_BG "00_list_on_arrow_press.png"
-
-#define BUTTON_WIDTH 170.0
-#define BUTTON_HEIGHT 44.0
-#define BUTTON_GAP 22.0
-
-#define BEAT_GENLIST_MSG_SETTING_PART_BG \
- part \
- { \
- name: "bg"; \
- type: RECT; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description \
- {\
- state: "default" 0.0; \
- color: GENLIST_PART_BG_COLOR_INC;\
- }\
- description \
- { \
- state: "hide" 0.0; \
- inherit: "default" 0.0; \
- rel1 { relative: -0.025 0.0; } \
- rel2 { relative: 0.975 1.0; } \
- } \
- description \
- { \
- state: "hide" 0.1; \
- inherit: "default" 0.0; \
- rel1 { relative: -0.13 0.0; } \
- rel2 { relative: 0.87 1.0; } \
- } \
- description \
- { \
- state: "hide" 0.2; \
- inherit: "default" 0.0; \
- rel1 { relative: -0.5 0.0; } \
- rel2 { relative: 0.5 1.0; } \
- } \
- description \
- { \
- state: "hide" 0.3; \
- inherit: "default" 0.0; \
- rel1 { relative: -1.0 0.0; } \
- rel2 { relative: 0.0 1.0; } \
- } \
- }
-
-#define BEAT_GENLIST_MSG_SETTING_PART_DISCLIP \
- part \
- { \
- name: "disclip"; \
- type: RECT; \
- 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; \
- } \
- }
-
-#define BEAT_GENLIST_PART_BG_EXPANDABLE_IMAGE \
- part \
- { \
- name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description \
- { \
- state: "default" 0.0; \
- image { normal: "00_list_expandable_bg.png"; } \
- } \
- description \
- { \
- state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- }
-
-#define BEAT_GENLIST_PART_PADDING_LEFT_SLIDE( param_padding_size ) \
- part \
- { \
- name: "elm.padding.left"; \
- type: RECT; \
- scale: 1; \
- description \
- { \
- state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel1 { relative: 0.0 0.0; to: "bg"; } \
- rel2 { relative: 0.0 1.0; to: "bg"; } \
- align: 0.0 0.0; \
- } \
- }
-
- group {
- name: "elm/genlist/item/setting_1line_textonly/default";
- alias: "elm/genlist/item_odd/setting_1line_textonly/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "text";
-
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_MSG_SETTING_PART_BG
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part { name: "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.padding.left";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;//0 0 0 255;
- text {
- font: "SLP:style:Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;//225 225 225 255;
- }
- }
- BEAT_GENLIST_MSG_SETTING_PART_DISCLIP
- }
-
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "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";
- }
- }
- }
-
- group {
- name: "elm/genlist/item/setting_2line_text/default";
- alias: "elm/genlist/item_odd/setting_2line_text/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "text text.value";
- data.item: "icons" "";
- data.item: "treesize" "20";
-
- images
- {
- image: List_Arrow_BG COMP;
- image: List_Arrow_Press_BG COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_MSG_SETTING_PART_BG
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_MSG_SETTING_PART_DISCLIP
-
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 (14/90);
- rel1.to_x: "elm.padding.left";
- rel2.relative: (442/460) (41/90);
-
- //color: 0 162 255 255;blue
- color: GENLIST_PART_TEXT_COLOR_INC;//0 0 0 255;//black
- //color: 231 179 37 255; //orange yellow
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;//221 221 221 255;
- }
- }
- part { name: "text.value";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 (50/90);
- rel1.to_x: "elm.padding.left";
- rel2.relative: (442/460) (76/90);
- color: 0 162 255 255; //blue
- //color: 189 189 164 255;
- //color: 231 179 37 255; //yellow
- text {
- font: "SLP:style=Roman";
- size: 27;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- }
- part { name: "list_arrow";
- type: IMAGE;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- align: 1.0 0.5;
- min: 15 28;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "elm.padding.right";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "elm.padding.right";
- //visible: 1;
- image.normal: List_Arrow_BG;
- }
- description
- {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- //visible: 1;
- image.normal: List_Arrow_Press_BG;
- }
- }
- part { name: "over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- color: 0 0 0 0;
- }
- }
-
-
- }
- }
-
- group {
- name: "elm/genlist/item/setting_1line_radio_text/default";
- alias: "elm/genlist/item_odd/setting_1line_radio_text/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "text";
- data.item: "icons" "radio";
- data.item: "treesize" "20";
-
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_MSG_SETTING_PART_BG
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_MSG_SETTING_PART_DISCLIP
-
- part { name: "radio";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- min: 44 44;
- max: 44 44;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "elm.padding.left";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "radio.right.padding";
- }
- }
- part { name: "radio.right.padding";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "radio";
- rel2.relative: 1.0 1.0;
- }
-
- }
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 1.0;
- rel1.to_x: "radio.right.padding";
- rel2.relative: 0.0 0.0;
- rel2.to_x: "elm.padding.right";
-
- color: GENLIST_PART_TEXT_COLOR_INC;//0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- }
- }
- }
-
- group {
- name: "elm/genlist/item/setting_1line_radio_text_arrow/default";
- alias: "elm/genlist/item_odd/setting_1line_radio_text_arrow/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "text";
- data.item: "icons" "radio arrow";
- data.item: "treesize" "20";
-
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_MSG_SETTING_PART_BG
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_MSG_SETTING_PART_DISCLIP
-
- part { name: "radio";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- min: 44 44;
- max: 44 44;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "elm.padding.left";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "radio.right.padding";
- }
- }
- part { name: "radio.right.padding";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "radio";
- rel2.relative: 1.0 1.0;
- }
-
- }
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 1.0;
- rel1.to_x: "radio.right.padding";
- rel2.relative: 0.0 0.0;
- rel2.to_x: "arrow";
-
- color: GENLIST_PART_TEXT_COLOR_INC;//0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- }
- part
- {
- name: "arrow";
- type: SWALLOW;
- scale: 1;
-
- description
- {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- min: 44 44;
- max: 44 44;
- rel1.relative: 1.0 1.0;
- rel1.to_x: "text";
- rel2.relative: 0.0 0.0;
- rel2.to_x: "elm.padding.right";
-
- }
- }
- }
- }
-
- group {
- name: "elm/genlist/item/setting_1line_text_onoff/default";
- alias: "elm/genlist/item_odd/setting_1line_text_onoff/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "text";
- data.item: "icons" "onoff";
- data.item: "treesize" "20";
-
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_MSG_SETTING_PART_BG
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_MSG_SETTING_PART_DISCLIP
-
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "elm.padding.left";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "onoff";
-
- color: GENLIST_PART_TEXT_COLOR_INC;//0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- }
- part { name: "onoff";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "elm.padding.right";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "elm.padding.right";
- }
- }
- }
- }
-
-
+++ /dev/null
-#define BEAT_GENLIST_MSG_PART_BG \
- part \
- { \
- name: "bg"; \
- type: RECT; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description \
- {\
- state: "default" 0.0; \
- color: GENLIST_PART_BG_COLOR_INC;\
- } \
- description \
- { \
- state: "hide" 0.0; \
- inherit: "default" 0.0; \
- rel1 { relative: -0.025 0.0; } \
- rel2 { relative: 0.975 1.0; } \
- } \
- description \
- { \
- state: "hide" 0.1; \
- inherit: "default" 0.0; \
- rel1 { relative: -0.13 0.0; } \
- rel2 { relative: 0.87 1.0; } \
- } \
- description \
- { \
- state: "hide" 0.2; \
- inherit: "default" 0.0; \
- rel1 { relative: -0.5 0.0; } \
- rel2 { relative: 0.5 1.0; } \
- } \
- description \
- { \
- state: "hide" 0.3; \
- inherit: "default" 0.0; \
- rel1 { relative: -1.0 0.0; } \
- rel2 { relative: 0.0 1.0; } \
- } \
- }
-
-#define BEAT_GENLIST_MSG_PART_DISCLIP \
- part \
- { \
- name: "disclip"; \
- type: RECT; \
- 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; \
- } \
- }
-
-#define BEAT_GENLIST_PART_BG_EXPANDABLE_IMAGE \
- part \
- { \
- name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description \
- { \
- state: "default" 0.0; \
- image { normal: "00_list_expandable_bg.png"; } \
- } \
- description \
- { \
- state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- }
-
-#define BEAT_GENLIST_PART_PADDING_SWEEP_LEFT( param_padding_size ) \
- part \
- { \
- name: "elm.padding.sweep.left"; \
- type: RECT; \
- scale: 1; \
- description \
- { \
- state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel2.to : "base"; \
- rel2.relative: 0.0 1.0; \
- align: 0.0 0.0; \
- } \
-}
-
-#define BEAT_GENLIST_PART_PADDING_SWEEP_RIGHT( param_padding_size ) \
- part \
- { \
- name: "elm.padding.sweep.right"; \
- type: RECT; \
- scale: 1; \
- description \
- { \
- state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel1.to : "base"; \
- rel1.relative: 1.0 0.0; \
- align: 1.0 0.0; \
- } \
- }
-
-#define BEAT_GENLIST_PART_PADDING_SWEEP_TOP( param_padding_size ) \
- part \
- { \
- name: "elm.padding.sweep.top"; \
- type: RECT; \
- scale: 1; \
- description \
- { \
- state: "default" 0.0; \
- min: 0 param_padding_size; \
- fixed: 0 1; \
- visible: 0; \
- rel2.to : "base"; \
- rel2.relative: 1.0 0.0; \
- align: 0.0 0.0; \
- } \
- }
-
-#define BEAT_GENLIST_PART_PADDING_SWEEP_BOTTOM( param_padding_size ) \
- part \
- { \
- name: "elm.padding.sweep.bottom"; \
- type: RECT; \
- scale: 1; \
- description \
- { \
- state: "default" 0.0; \
- min: 0 param_padding_size; \
- fixed: 0 1; \
- visible: 0; \
- rel1.to :"base"; \
- rel1.relative: 0.0 1.0; \
- align: 0.0 1.0; \
- } \
- }
-
-#define BEAT_GENLIST_PART_BOTTOM_SWEEP_LINE \
- part \
- { \
- name: "sweep.bottom_line"; \
- type: RECT; \
- mouse_events: 0; \
- description \
- { \
- state: "default" 0.0; \
- min: 0 1; \
- fixed: 0 1; \
- visible: 1; \
- color: 212 212 212 255; \
- rel1 \
- { \
- relative: 0.0 1.0; \
- offset: 0 -1; \
- to : "base"; \
- } \
- } \
- }
-
-#define BEAT_GENLIST_PART_PADDING_LEFT_SLIDE( param_padding_size ) \
- part \
- { \
- name: "elm.padding.left"; \
- type: RECT; \
- scale: 1; \
- description \
- { \
- state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel1 { relative: 0.0 0.0; to: "bg"; } \
- rel2 { relative: 0.0 1.0; to: "bg"; } \
- align: 0.0 0.0; \
- } \
- }
-
-#define MAIN_W 480
-#define INTER_BUTTON_SIZE 12
-#define PADDING_LEFT_SIZE 20
-#define PADDING_RIGHT_SIZE 20
-#define SWEEP_BUTTON_SIZE ((MAIN_W- (PADDING_LEFT_SIZE+PADDING_RIGHT_SIZE+(INTER_BUTTON_SIZE*3)))/4)
-
- /* Thread Genlist Style */
- group
- {
- name: "elm/genlist/item/thread_list/default";
- alias: "elm/genlist/item_odd/thread_list/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.name elm.msg elm.time elm.text.unread elm.sweep.name";
- data.item: "icons" "elm.direction elm.badge sweep.voicecall sweep.videocall sweep.delete sweep.block";
- data.item: "treesize" "20";
- data.item: "allow_slide" "1";
- images
- {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_list_thumbnail_bg.png" COMP;
-
- }
-
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
-
- BEAT_GENLIST_PART_PADDING_SWEEP_TOP( 5 )
- BEAT_GENLIST_PART_PADDING_SWEEP_BOTTOM( 10 )
-
- BEAT_GENLIST_PART_PADDING_SWEEP_LEFT(PADDING_LEFT_SIZE)
- BEAT_GENLIST_PART_PADDING_SWEEP_RIGHT(PADDING_LEFT_SIZE)
-
- BEAT_GENLIST_PART_BOTTOM_SWEEP_LINE
-
- part
- {
- name : "elm.sweep.name.bg";
- type : "RECT";
- scale : 1;
- description
- {
- state : "default" 0.0;
- fixed : 1 1;
- align : 0 0;
- min : 0 20;
- color : 0 0 0 0;
- rel1{
- relative: 1.0 1.0;
- to_x : "elm.padding.sweep.left";
- to_y : "elm.padding.sweep.top";
- }
- rel2{
- relative: 0.0 1.0;
- to_x : "elm.padding.sweep.right";
- to_y : "elm.padding.sweep.top";
- }
- }
- }
-
- part
- {
- name : "elm.sweep.name";
- type : "TEXT";
- scale : 1;
- description
- {
- state : "default" 0.0;
- fixed : 1 1;
- rel1.to : "elm.sweep.name.bg";
- rel2.to : "elm.sweep.name.bg";
- color : 55 15 10 255;
- text
- {
- font: "SLP:style=Roman";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- }
-
- part
- {
- name : "elm.name.padding";
- type : "RECT";
- scale : 1;
- description
- {
- state : "default" 0.0;
- fixed : 1 1;
- align : 0 0;
- min : 0 5;
- color : 0 0 0 0;
- rel1{
- relative: 1.0 1.0;
- to_x : "elm.padding.sweep.left";
- to_y : "elm.sweep.name.bg";
- }
- rel2{
- relative: 0.0 1.0;
- to_x : "elm.padding.sweep.right";
- to_y : "elm.sweep.name.bg";
- }
- }
- }
-
- part
- {
- name : "sweep.voicecall";
- type : SWALLOW;
- scale : 1;
- description
- {
- state : "default" 0.0;
- fixed : 1 1;
- align: 0.0 0.5;
- min : SWEEP_BUTTON_SIZE 0;
- rel1
- {
- relative : 1.0 1.0;
- to_x : "elm.padding.sweep.left";
- to_y : "elm.name.padding";
- }
- rel2
- {
- relative : 1.0 0.0;
- to_x : "elm.padding.sweep.left";
- to_y : "elm.padding.sweep.bottom";
- }
- }
- }
-
- part
- {
- name : "btn1.padding.right";
- type : RECT;
- scale : 1;
- description
- {
- state : "default" 0.0;
- fixed : 1 1;
- min : INTER_BUTTON_SIZE 0;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1
- {
- relative : 1.0 1.0;
- to_x : "sweep.voicecall";
- to_y : "elm.name.padding";
- }
- rel2
- {
- relative : 1.0 0.0;
- to_x : "sweep.voicecall";
- to_y : "elm.padding.sweep.bottom";
- }
- }
- }
-
- part
- {
- name : "sweep.videocall";
- type : SWALLOW;
- scale : 1;
- description
- {
- state : "default" 0.0;
- fixed : 1 1;
- min : SWEEP_BUTTON_SIZE 0;
- align: 0.0 0.5;
- rel1
- {
- relative : 1.0 1.0;
- to_x : "btn1.padding.right";
- to_y : "elm.name.padding";
- }
- rel2
- {
- relative : 1.0 0.0;
- to_x : "btn1.padding.right";
- to_y : "elm.padding.sweep.bottom";
- }
- }
- }
-
- part
- {
- name : "btn2.padding.right";
- type : RECT;
- scale : 1;
- description
- {
- state : "default" 0.0;
- fixed : 1 1;
- min : INTER_BUTTON_SIZE 0;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1
- {
- relative : 1.0 1.0;
- to_x : "sweep.videocall";
- to_y : "elm.name.padding";
- }
- rel2
- {
- relative : 1.0 0.0;
- to_x : "sweep.videocall";
- to_y : "elm.padding.sweep.bottom";
- }
- }
- }
-
- part
- {
- name : "sweep.delete";
- type : SWALLOW;
- scale : 1;
- description
- {
- state : "default" 0.0;
- fixed : 1 1;
- min : SWEEP_BUTTON_SIZE 0;
- align: 0.0 0.5;
- rel1
- {
- relative : 1.0 1.0;
- to_x : "btn2.padding.right";
- to_y : "elm.name.padding";
- }
- rel2
- {
- relative : 1.0 0.0;
- to_x : "btn2.padding.right";
- to_y : "elm.padding.sweep.bottom";
- }
- }
- }
-
- part
- {
- name : "btn3.padding.right";
- type : RECT;
- scale : 1;
- description
- {
- state : "default" 0.0;
- fixed : 1 1;
- min : INTER_BUTTON_SIZE 0;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1
- {
- relative : 1.0 1.0;
- to_x : "sweep.delete";
- to_y : "elm.name.padding";
- }
- rel2
- {
- relative : 1.0 0.0;
- to_x : "sweep.delete";
- to_y : "elm.padding.sweep.bottom";
- }
- }
- }
-
- part
- {
- name : "sweep.block";
- type : SWALLOW;
- scale : 1;
- description
- {
- state : "default" 0.0;
- fixed : 1 1;
- min : SWEEP_BUTTON_SIZE 0;
- align: 0.0 0.5;
- rel1
- {
- relative : 1.0 1.0;
- to_x : "btn3.padding.right";
- to_y : "elm.name.padding";
- }
- rel2
- {
- relative : 1.0 0.0;
- to_x : "btn3.padding.right";
- to_y : "elm.padding.sweep.bottom";
- }
- }
- }
-
- part {
- name: "bg";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 1;
-
- description {
- state: "default" 0.0;
- color: GENLIST_PART_BG_COLOR_INC;//246 245 237 255;
- }
- 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; }
- }
- }
-
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_MSG_PART_DISCLIP
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_TEXT_TOP( 21 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT(PADDING_LEFT_SIZE)
- BEAT_GENLIST_PART_PADDING_RIGHT(PADDING_RIGHT_SIZE)
-
- part
- {
- name: "elm.name.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 320 40;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 1.0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- {
- name: "elm.name";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: GENLIST_PART_TEXT_COLOR_INC;//0 0 0 255;
- rel1.to: "elm.name.bg";
- rel2.to: "elm.name.bg";
- text {
- font: "SLP:style=Bold";
- size: 30;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;//225 225 225 255;
- }
- }
- part
- {
- name: "elm.direction.bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 19 0;
- fixed: 1 1;
- color: 0 0 0 0;
- rel1
- {
- relative: 1.0 1.0;
- to_x: "elm.padding.left";
- to_y: "elm.name.bg";
- }
- rel2
- {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
- }
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.direction";
- clip_to: "disclip";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1.to: "elm.direction.bg";
- rel2.to: "elm.direction.bg";
- }
- }
- part
- {
- name: "elm.badge.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 34 34;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 1.0 1.0;
- rel1
- {
- relative: 0.0 0.0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- rel2
- {
- relative: 0.0 0.0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
-
- }
- }
- part
- {
- name: "elm.msg";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 30;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 102 153 255;
- rel1
- {
- relative: 1.0 1.0;
- to_x: "elm.direction.bg";
- to_y: "elm.name.bg";
- }
- rel2
- {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.badge.bg";
- to_y: "elm.name.bg";
- }
- text
- {
- font: "SLP:style=Roman";
- size: 26;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;//225 225 225 255;
- }
- }
- part
- {
- name: "elm.padding.name.right";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 7 0;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1
- {
- relative: 1.0 1.0;
- to_x: "elm.name.bg";
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 0.0;
- to_x: "elm.name.bg";
- to_y: "elm.padding.bottom";
- }
- }
- }
- part
- {
- name: "elm.time.bg";
- clip_to: "disclip";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 16;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0 0;
- rel1
- {
- relative: 1.0 1.0;
- to_x: "elm.padding.name.right";
- to_y: "elm.padding.text.top";
- }
- rel2
- {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.text.top";
- }
- }
- }
- part
- {
- name: "elm.time";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 16;
- fixed: 1 1;
- align: 1 1;
- color: 229 144 30 255;
- rel1.to: "elm.time.bg";
- rel2.to: "elm.time.bg";
- text
- {
- font: "SLP:style=Roman";
- size: 20;
- min: 0 1;
- align: 1.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;//225 225 225 255;
- }
- }
- part
- {
- name: "elm.badge";
- clip_to: "disclip";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1.to: "elm.badge.bg";
- rel2.to: "elm.badge.bg";
- }
- }
- part
- {
- name: "elm.text.unread";
- clip_to: "disclip";
- type: TEXT;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- max: 32 32;
- color: 255 255 255 255;
- rel1.to: "elm.badge.bg";
- rel2.to: "elm.badge.bg";
- text {
- font: "SLP:sty;e=Roman";
- size: 18;
- align: 0.5 0.5;
- }
- }
- }
- }
-
- programs {
- program
- {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.name";
- target: "elm.msg";
- target: "elm.time";
- target: "elm.direction";
- }
- program
- {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.name";
- target: "elm.msg";
- target: "elm.time";
- target: "elm.direction";
- 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";
- }
-
- // For sweep effect
- program {
- name: "sweep_right";
- signal: "elm,state,slide,right";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "bg";
- after: "hide_step1";
- }
-
- program {
- name: "sweep_left";
- signal: "elm,state,slide,left";
- source: "elm";
- action: STATE_SET "hide" 0.3;
- target: "bg";
- after: "show_step1";
- }
-
- program {
- name: hide_step1;
- action: STATE_SET "hide" 0.1;
- target: "bg";
- transition: LINEAR 0.3;
- after: hide_step2;
- }
-
- program {
- name: hide_step2;
- action: STATE_SET "hide" 0.2;
- target: "bg";
- transition: LINEAR 0.3;
- after: hide_step3;
- }
-
- program {
- name: hide_step3;
- action: STATE_SET "hide" 0.3;
- target: "bg";
- transition: LINEAR 0.3;
- }
-
- program {
- name: show_step1;
- action: STATE_SET "hide" 0.2;
- target: "bg";
- transition: LINEAR 0.3;
- after: show_step2;
- }
-
- program {
- name: show_step2;
- action: STATE_SET "hide" 0.1;
- target: "bg";
- transition: LINEAR 0.3;
- after: show_step3;
- }
-
- program {
- name: show_step3;
- action: STATE_SET "hide" 0.0;
- target: "bg";
- transition: LINEAR 0.3;
- after: show_step4;
- }
-
- program {
- name: show_step4;
- action: STATE_SET "default" 0.0;
- target: "bg";
- transition: LINEAR 0.3;
- }
- }
- }
-
-
- group
- {
- name: "elm/genlist/item/thread_list_chk/default";
- alias: "elm/genlist/item_odd/thread_list_chk/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.name elm.msg elm.time elm.text.unread";
- data.item: "icons" "elm.check elm.badge";
- data.item: "treesize" "20";
- images
- {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_list_thumbnail_bg.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_MSG_PART_BG
- BEAT_GENLIST_MSG_PART_DISCLIP
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_TEXT_TOP( 21 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 80 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part
- {
- name: "elm.padding.chk.left";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 20 0;
- fixed: 1 0;
- visible: 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part
- {
- name: "elm.check";
- clip_to: "disclip";
- scale: 1;
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- min: 60 0;
- fixed : 1 1;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 0.0; offset: 0 0;
- to: "elm.padding.chk.left";
- }
- rel2
- {
- relative: 0.0 1.0; offset: 0 0;
- to: "bg";
- }
- }
- }
-
- part
- {
- name: "elm.name.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 40;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 1.0 1.0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- {
- name: "elm.name";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0 0;
- color: GENLIST_PART_TEXT_COLOR_INC;//0 0 0 255;
- rel1.to: "elm.name.bg";
- rel2.to: "elm.name.bg";
- text {
- font: "SLP:style=Bold";
- size: 30;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;//225 225 225 255;
- }
- }
- part
- {
- name: "elm.msg";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 250 30;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 102 153 255;
- rel1
- {
- relative: 1.0 1.0;
- to_x: "elm.padding.left";
- to_y: "elm.name.bg";
- }
- rel2
- {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.name.bg";
- }
- text
- {
- font: "SLP:style=Roman";
- size: 26;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;//225 225 225 255;
- }
- }
- part
- {
- name: "elm.padding.msg.right";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 7 0;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1
- {
- relative: 1.0 1.0;
- to_x: "elm.msg";
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 0.0;
- to_x: "elm.msg";
- to_y: "elm.padding.bottom";
- }
- }
- }
- part
- {
- name: "elm.time.bg";
- clip_to: "disclip";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 16;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 1.0;
- rel1
- {
- relative: 1.0 0.0;
- to_x: "elm.padding.msg.right";
- to_y: "elm.padding.bottom";
- }
- rel2
- {
- relative: 0.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- }
- }
- part
- {
- name: "elm.time";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 16;
- fixed: 1 1;
- align: 1 1;
- color: 200 50 50 255;
- rel1.to: "elm.time.bg";
- rel2.to: "elm.time.bg";
- text
- {
- font: "SLP:style=Roman";
- size: 20;
- min: 0 1;
- align: 1.0 0.5;
- }
- }
- description
- {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;//225 225 225 255;
- }
- }
- /*
- part
- {
- name: "elm.badge.bg";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 34 34;
- fixed: 1 1;
- color: 0 0 0 0;
- align: 0.0 1.0;
- rel1
- {
- relative: 0.0 0.0;
- to_x: "elm.time.bg";
- to_y: "elm.padding.bottom";
- }
- rel2
- {
- relative: 0.0 0.0;
- to_x: "elm.time.bg";
- to_y: "elm.padding.bottom";
- }
-
- }
- }
- part
- {
- name: "elm.badge";
- clip_to: "disclip";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1.to: "elm.badge.bg";
- rel2.to: "elm.badge.bg";
- }
- }
- part
- {
- name: "elm.text.unread";
- clip_to: "disclip";
- type: TEXT;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- max: 32 32;
- color: 255 255 255 255;
- rel1.to: "elm.badge.bg";
- rel2.to: "elm.badge.bg";
- text {
- font: "SLP:sty;e=Roman";
- size: 18;
- align: 0.5 0.5;
- }
- }
- }
- */
- }
-
- programs {
- program
- {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.name";
- target: "elm.msg";
- target: "elm.time";
- }
- program
- {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.name";
- target: "elm.msg";
- target: "elm.time";
- 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/genlist/item/thread_list_blank/default";
- alias: "elm/genlist/item_odd/thread_list_blank/default";
-
- data.item: "stacking" "above";
- data.item: "treesize" "20";
-
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_MSG_PART_BG
- BEAT_GENLIST_MSG_PART_DISCLIP
- BEAT_GENLIST_PART_BG_IMAGE
- }
-
- }
-
+++ /dev/null
-#include "./edc_myfile_common.h"
-
-/*
-#define BEAT_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: 246 245 237 255; \
- } \
- }
-
-#define BEAT_GENLIST_PART_BG \
- part { name: "bg"; \
- type: RECT; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- color: 246 245 237 255; \
- } \
- description { state: "hide" 0.0; \
- inherit: "default" 0.0; \
- rel1 { relative: -0.025 0.0; } \
- rel2 { relative: 0.975 1.0; } \
- } \
- description { state: "hide" 0.1; \
- inherit: "default" 0.0; \
- rel1 { relative: -0.13 0.0; } \
- rel2 { relative: 0.87 1.0; } \
- } \
- description { state: "hide" 0.2; \
- inherit: "default" 0.0; \
- rel1 { relative: -0.5 0.0; } \
- rel2 { relative: 0.5 1.0; } \
- } \
- description { state: "hide" 0.3; \
- inherit: "default" 0.0; \
- rel1 { relative: -1.0 0.0; } \
- rel2 { relative: 0.0 1.0; } \
- } \
- }
-
-#define BEAT_GENLIST_PART_BG_IMAGE \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- visible: 0; \
- image.normal: "myfile/00_myfile_list_bar_press_1x80.png"; \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- visible: 1; \
- } \
- }
-
-#define BEAT_GENLIST_PART_BG_EXPANDABLE_IMAGE \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_myfile_list_expandable_bg.png"; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "myfile/00_myfile_list_bar_press_1x80.png"; \
- } \
- }
-
-#define BEAT_GENLIST_PART_BOTTOM_LINE \
- part { name: "bottom_line"; \
- type: RECT; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- min: 0 1; \
- fixed: 0 1; \
- visible: 1; \
- color: 212 212 212 255; \
- rel1 { \
- relative: 0.0 1.0; \
- offset: 0 -1; \
- } \
- } \
- }
-
-#define BEAT_GENLIST_PART_PADDING_TOP( param_padding_size ) \
- part { name: "elm.padding.top"; \
- type: RECT; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- min: 0 param_padding_size; \
- fixed: 0 1; \
- visible: 0; \
- rel2.relative: 1.0 0.0; \
- align: 0.0 0.0; \
- } \
- }
-
-#define BEAT_GENLIST_PART_PADDING_TEXT_TOP( param_padding_size ) \
- part { name: "elm.padding.text.top"; \
- type: RECT; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- min: 0 param_padding_size; \
- fixed: 0 1; \
- visible: 0; \
- rel2.relative: 1.0 0.0; \
- align: 0.0 0.0; \
- } \
- }
-
-#define BEAT_GENLIST_PART_PADDING_BOTTOM( param_padding_size ) \
- part { name: "elm.padding.bottom"; \
- type: RECT; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- min: 0 param_padding_size; \
- fixed: 0 1; \
- visible: 0; \
- rel1.relative: 0.0 1.0; \
- align: 0.0 1.0; \
- } \
- }
-
-#define BEAT_GENLIST_PART_PADDING_LEFT( param_padding_size ) \
- part { name: "elm.padding.left"; \
- type: RECT; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel2.relative: 0.0 1.0; \
- align: 0.0 0.0; \
- } \
- }
-
-
-#define BEAT_GENLIST_PART_PADDING_LEFT_SLIDE( param_padding_size ) \
- part { name: "elm.padding.left"; \
- type: RECT; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel1 { relative: 0.0 0.0; to: "bg"; } \
- rel2 { relative: 0.0 1.0; to: "bg"; } \
- align: 0.0 0.0; \
- } \
- }
-*/
-#define BEAT_GENLIST_PART_PADDING_RIGHT( param_padding_size ) \
- part { name: "elm.padding.right"; \
- type: RECT; \
- scale: 1; \
- description { state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel1.relative: 1.0 0.0; \
- align: 1.0 0.0; \
- } \
- }
-#define BEAT_GENLIST_PART_TEXT_PADDING_RIGHT( param_padding_size ) \
- part { name: "elm.padding.text.right"; \
- type: RECT; \
- scale: 1; \
- description { state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel1.relative: 0.8. 0.0; \
- rel2.relative: 0.8. 1.0; \
- align: 1.0 0.0; \
- } \
- }
-/*
-#define BEAT_GENLIST_PART_DISCLIP \
- part { name: "disclip"; \
- type: RECT; \
- 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; \
- } \
- }
-*/
-/* only for demo */
-/*
-#define BEAT_GENLIST_PART_BUTTON( param_name, param_text_name, param_text, param_left, param_right, param_top, param_bottom ) \
- part { name: param_name; \
- mouse_events: 1; \
- description { state: "default" 0.0; \
- visible: 1; \
- rel1 { relative: param_left param_top; offset: 0 0; } \
- rel2 { relative: param_right param_bottom; offset: -1 -1; } \
- image { \
- normal: "btn_normal.png"; \
- border: 10 10 10 10; \
- } \
- image.middle: SOLID; \
- fill.smooth: 0; \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image { \
- normal: "btn_selected.png"; \
- } \
- } \
- } \
- part { name: param_text_name; \
- type: TEXT; \
- mouse_events: 0; \
- scale: 1; \
- description { \
- align: 0.0 0.0; \
- state: "default" 0.0; \
- color: GENLIST_PART_TEXT_COLOR_INC; \
- rel1 { relative: 0.0 0.0; to: param_name; } \
- rel2 { relative: 1.0 1.0; to: param_name; } \
- text { \
- text: param_text; \
- font: MAIN_FONT_STYLE; \
- size: MAIN_FONT_SIZE; \
- min: 1 1; \
- align: 0.5 0.5; \
- } \
- } \
- }
-*/
-/* only for demo */
-#define BEAT_GENLIST_PROGRAM_BUTTON( param_name_focused, param_name_normal, param_part_name ) \
- program { name: param_name_focused; \
- source: param_part_name; \
- signal: "mouse,down,1"; \
- action: STATE_SET "selected" 0.0; \
- target: param_part_name; \
- } \
- program { name: param_name_normal; \
- source: param_part_name; \
- signal: "mouse,up,1"; \
- action: STATE_SET "default" 0.0; \
- target: param_part_name; \
- }
-
-#define BEAT_GENLIST_PROGRAM_SLIDE_WITH_AFTER( param_name, param_state, param_next ) \
- program { name: param_name; \
- action: STATE_SET "hide" param_state; \
- target: "bg"; \
- transition: LINEAR 0.3; \
- after: param_next; \
- }
-
-#define BEAT_GENLIST_PROGRAM_SLIDE( param_name, param_state_name, param_state_value ) \
- program { name: param_name; \
- action: STATE_SET param_state_name param_state_value; \
- target: "bg"; \
- transition: LINEAR 0.3; \
- }
-
-#define DESC_FLIP_IMAGE( param_state_value, param_image_file_name ) \
- description { state: "flipping" param_state_value; \
- inherit: "default" 0.0; \
- image { normal: param_image_file_name; } \
- }
-
-#define DESC_TEXT_HIDE( param_state_value ) \
- description { state: "hide" param_state_value; \
- inherit: "default" 0.0; \
- color: 0 0 0 (255*(1-param_state_value/0.20)); \
- }
-
- group { name: "elm/genlist/item/normal_item/myfile/default";
- alias: "elm/genlist/item_odd/normal_item/myfile/default";
- alias: "elm/genlist/item_compress/normal_item/myfile/default";
- alias: "elm/genlist/item_compress_odd/normal_item/myfile/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.thumbnail elm.feature_icon";
- data.item: "treesize" "20";
- images {
- image: "myfile/00_myfile_list_bar_press_1x80.png" COMP;
- image: "myfile/00_myfile_list_thumbnail_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 20 )
- BEAT_GENLIST_PART_PADDING_TEXT_TOP( 25 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 20 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_TEXT_PADDING_RIGHT(15)
-
- part { name: "elm.thumbnail";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
- part { name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- offset: 5 0;
- to_x: "elm.padding.left";
- }
- rel2 {
- offset: 0 0;
- to_x: "elm.padding.left";
- }
-
- }
- }
- part { name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.thumbnail";
- }
- rel2.to_x: "elm.thumbnail";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.padding.text.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.text.right";
- to_y: "elm.padding.text.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_LIST_ITEM;
- size: MAIN_FONT_SIZE;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part { name: "elm.feature_icon.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 80 40;
- max: 80 40;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.text.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.text.right";
- to_y: "elm.padding.bottom";
- }
- }
- }
- part { name: "elm.feature_icon";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.feature_icon.bg";
- rel2.to: "elm.feature_icon.bg";
- }
- }
-
-
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-
- group { name: "elm/genlist/item/edit_item/myfile/default";
- alias: "elm/genlist/item_odd/edit_item/myfile/default";
- alias: "elm/genlist/item_compress/edit_item/myfile/default";
- alias: "elm/genlist/item_compress_odd/edit_item/myfile/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.thumbnail.multi elm.feature_icon";
- data.item: "treesize" "20";
- images {
- image: "myfile/00_myfile_list_bar_press_1x80.png" COMP;
- image: "myfile/00_myfile_list_thumbnail_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 20 )
- BEAT_GENLIST_PART_PADDING_TEXT_TOP( 25 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 20 )
- BEAT_GENLIST_PART_PADDING_LEFT( 10 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 10 )
-
- part { name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 110 50;
- max: 110 50;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
- }
- }
- }
- part { name: "elm.thumbnail.multi";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
- part { name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.thumbnail.multi";
- }
- rel2.to_x: "elm.thumbnail.multi";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 280 40;
- //max: 250 40;
- fixed: 1 1;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.padding.text.top";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 40;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.padding.text.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_LIST_ITEM;
- size: MAIN_FONT_SIZE;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
-
- part { name: "elm.padding.text.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.text";
- }
- rel2.to_x: "elm.text";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
- part { name: "elm.feature_icon.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.text.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.text.right";
- to_y: "elm.padding.bottom";
- }
- }
-
- }
- part { name: "elm.feature_icon";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.feature_icon.bg";
- rel2.to: "elm.feature_icon.bg";
- }
- }
-
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-group
- { name: "elm/genlist/item/select_all_item/myfile/default";
- alias: "elm/genlist/item_odd/select_all_item/myfile/default";
- alias: "elm/genlist/item_compress/select_all_item/myfile/default";
- alias: "elm/genlist/item_compress_odd/select_all_item/myfile/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.thumbnail.multi elm.feature_icon";
- data.item: "treesize" "20";
- images {
- image: "myfile/00_myfile_list_bar_press_1x80.png" COMP;
- image: "myfile/00_myfile_list_thumbnail_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 20 )
- BEAT_GENLIST_PART_PADDING_TEXT_TOP( 25 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 20 )
- BEAT_GENLIST_PART_PADDING_LEFT( 10 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 10 )
-
- part { name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
- }
- }
- }
- part { name: "elm.thumbnail.multi";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
- part { name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.thumbnail.multi";
- }
- rel2.to_x: "elm.thumbnail.multi";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 280 40;
- //max: 250 40;
- fixed: 1 1;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.padding.text.top";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 40;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.padding.text.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_LIST_ITEM;
- size: MAIN_FONT_SIZE;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
-
- part { name: "elm.padding.text.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.text";
- }
- rel2.to_x: "elm.text";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-
-group { name: "elm/genlist/item/mulit_item/myfile/default";
- alias: "elm/genlist/item_odd/mulit_item/myfile/default";
- alias: "elm/genlist/item_compress/mulit_item/myfile/default";
- alias: "elm/genlist/item_compress_odd/mulit_item/myfile/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.thumbnail.multi elm.button elm.feature_icon";
- data.item: "treesize" "20";
- images {
- image: "myfile/00_myfile_list_bar_press_1x80.png" COMP;
- image: "myfile/00_myfile_list_thumbnail_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 20 )
- BEAT_GENLIST_PART_PADDING_TEXT_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 20 )
- BEAT_GENLIST_PART_PADDING_LEFT( 10 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 10 )
-
- part { name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 110 50;
- max: 110 50;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
- }
- }
- }
- part { name: "elm.thumbnail.multi";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
- part { name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.thumbnail.multi";
- }
- rel2.to_x: "elm.thumbnail.multi";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 280 40;
- //max: 250 40;
- fixed: 1 1;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.padding.text.top";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 40;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.padding.text.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_LIST_ITEM;
- size: MAIN_FONT_SIZE;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part { name: "elm.button.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 280 30;
- //max: 220 30;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 0.0 1.0;
- to_x: "elm.text";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.text";
- to_y: "elm.padding.bottom";
- }
-
- }
- }
- part { name: "elm.button";
-
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.button.bg";
- rel2.to: "elm.button.bg";
- }
- }
- part { name: "elm.padding.text.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.text";
- }
- rel2.to_x: "elm.text";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
- part { name: "elm.feature_icon.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.text.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.text.right";
- to_y: "elm.padding.bottom";
- }
- }
-
- }
- part { name: "elm.feature_icon";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.feature_icon.bg";
- rel2.to: "elm.feature_icon.bg";
- }
- }
-
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.button";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-
-group { name: "elm/genlist/item/slide_item/myfile/default";
- alias: "elm/genlist/item_odd/slide_item/myfile/default";
- alias: "elm/genlist/item_compress/slide_item/myfile/default";
- alias: "elm/genlist/item_compress_odd/slide_item/myfile/default";
-
- images {
- image: "btn_normal.png" COMP;
- image: "btn_selected.png" COMP;
- }
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "treesize" "20";
- data.item: "allow_slide" "1";
- data.item: "icons" "elm.btnpart";
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 5 )
- //BEAT_GENLIST_PART_PADDING_TEXT_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 5 )
- BEAT_GENLIST_PART_PADDING_LEFT( 10 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 10 )
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- 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 0.4;
- offset: 0 0;
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_LIST_ITEM;
- size: MAIN_FONT_SIZE;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 224 224 224 255;
- }
- }
- part { name: "elm.btnpart";
- clip_to: "disclip";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.text";
- relative: 1.0 1.0;
- offset: 0 0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- offset: 0 0;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 224 224 224 255;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
-/*
- 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";
- }
- 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;
- }
- 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_slide_left";
- signal: "elm,state,slide,left";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "bg";
- after: "hide_step1";
- }
- program {
- name: "go_slide_right";
- signal: "elm,state,slide,right";
- source: "elm";
- action: STATE_SET "hide" 0.3;
- target: "bg";
- after: "show_step1";
- }
-
-*/
- // BEAT_GENLIST_PROGRAM_SLIDE_WITH_AFTER( hide_step1, 0.1, hide_step2 )
- // BEAT_GENLIST_PROGRAM_SLIDE_WITH_AFTER( hide_step2, 0.2, hide_step3 )
- // BEAT_GENLIST_PROGRAM_SLIDE( hide_step3, "hide", 0.3 )
-
- // BEAT_GENLIST_PROGRAM_SLIDE_WITH_AFTER( show_step1, 0.2, show_step2 )
- // BEAT_GENLIST_PROGRAM_SLIDE_WITH_AFTER( show_step2, 0.1, show_step3 )
- //BEAT_GENLIST_PROGRAM_SLIDE_WITH_AFTER( show_step3, 0.0, show_step4 )
- // BEAT_GENLIST_PROGRAM_SLIDE( show_step4, "default", 0.0 )
-
- /* PROGRAM_BUTTONS are inserted for demo only. These should be removed after demo... */
- /* ----> */
- //BEAT_GENLIST_PROGRAM_BUTTON( btn_left_focused, btn_left_normal, btn_left )
- //BEAT_GENLIST_PROGRAM_BUTTON( btn_mid_focused, btn_mid_normal, btn_mid )
- //BEAT_GENLIST_PROGRAM_BUTTON( btn_right_focused, btn_right_normal, btn_right )
- /* <---- */
- //}
- }
-
- group
- { name: "elm/genlist/item/rename_item/myfile/default";
- alias: "elm/genlist/item_odd/rename_item/myfile/default";
- alias: "elm/genlist/item_compress/rename_item/myfile/default";
- alias: "elm/genlist/item_compress_odd/rename_item/myfile/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "icons" "elm.rename_item.input";
- data.item: "treesize" "20";
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_TEXT_TOP( 5 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 5 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 5 )
- BEAT_GENLIST_PART_TEXT_PADDING_RIGHT(0)
-
- part
- { name: "elm.input.bg";
- clip_to: "disclip";
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- }
- }
- part {
- name: "elm.rename_item.input";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.input.bg";
- rel2.to: "elm.input.bg";
- }
- }
-
- BEAT_GENLIST_PART_DISCLIP
- }
- }
- group{ name: "elm/genlist/item/create_item/myfile/default";
- alias: "elm/genlist/item_odd/create_item/myfile/default";
- alias: "elm/genlist/item_compress/create_item/myfile/default";
- alias: "elm/genlist/item_compress_odd/create_item/myfile/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "icons" "elm.create_item.icon elm.create_item.input";
- data.item: "treesize" "20";
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_TEXT_TOP( 5 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 0 )
- BEAT_GENLIST_PART_TEXT_PADDING_RIGHT(0)
-
- part { name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 10;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
- }
- }
- }
- part {
- name: "elm.create_item.icon";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
- part { name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.create_item.icon";
- }
- rel2.to_x: "elm.create_item.icon";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
- part
- { name: "elm.input.bg";
- clip_to: "disclip";
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.padding.text.top";
- }
- rel2 {
- relative: 0.9 1.0;
- offset: 0 0;
- }
- }
- }
- part {
- name: "elm.create_item.input";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.input.bg";
- rel2.to: "elm.input.bg";
- }
- }
-
- BEAT_GENLIST_PART_DISCLIP
- }
- }
- group { name: "elm/genlist/item/uptitle/myfile/default";
- alias: "elm/genlist/item_odd/uptitle/myfile/default";
- alias: "elm/genlist/item_compress/uptitle/myfile/default";
- alias: "elm/genlist/item_compress_odd/uptitle/myfile/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.uptitle.text";
- data.item: "treesize" "20";
- images {
- image: "myfile/01_list_upper_button_t.png" COMP;
- image: "myfile/01_list_upper_button.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 15 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 15 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part {
- name: "elm.uptitle.icon";
- clip_to: "disclip";
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 1;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
- }
- image.normal: "myfile/01_list_upper_button.png";
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
- }
- visible: 1;
- image.normal: "myfile/01_list_upper_button_t.png";
- }
-
-
- }
-
- part { name: "elm.padding.icon.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.uptitle.icon";
- }
- rel2.to_x: "elm.uptitle.icon";
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
- part { name: "elm.uptitle.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.icon.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: FONT_LIST_ITEM;
- size: MAIN_FONT_SIZE;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.uptitle.text";
- target: "elm.uptitle.icon";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.uptitle.text";
- target: "elm.uptitle.icon";
- 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";
- }
- }
-}
+++ /dev/null
-#define BEAT_GENLIST_PART_SLIDABLE_BG_IMAGE\
- part { name: "slidable_bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- visible: 0; \
- rel1.to: "bg";\
- rel2.to: "bg";\
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- visible: 1; \
- } \
- }
-
-#define BEAT_GENLIST_PART_SLIDABLE_BOTTOM_LINE \
- part { name: "slidable_bottom_line"; \
- type: RECT; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- min: 0 1; \
- fixed: 0 1; \
- visible: 1; \
- color: GENLIST_PART_BOTTOM_LINE_INC;\
- rel1 { \
- relative: 0.0 1.0; \
- offset: 0 -1; \
- to: "bg";\
- } \
- rel2.to: "bg";\
- } \
- }
-
-#define BEAT_GENLIST_PART_SLIDABLE_PADDING_LEFT( param_padding_size ) \
- part { name: "elm.slidable_padding.left"; \
- type: RECT; \
- scale: 1; \
- description { state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel1.to: "bg";\
- rel2 {\
- to: "bg";\
- relative: 0.0 1.0; \
- }\
- align: 0.0 0.0; \
- } \
- }
-
-#define BEAT_GENLIST_PART_SLIDABLE_PADDING_RIGHT( param_padding_size ) \
- part { name: "elm.slidable_padding.right"; \
- type: RECT; \
- scale: 1; \
- description { state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel1 {\
- to: "bg";\
- relative: 1.0 0.0; \
- }\
- rel2.to: "bg";\
- align: 1.0 0.0; \
- } \
- }
-
-#define BEAT_GENLIST_PART_SLIDABLE_PADDING_TOP( param_padding_size ) \
- part { name: "elm.slidable_padding.top"; \
- type: RECT; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- min: 0 param_padding_size; \
- fixed: 0 1; \
- visible: 0; \
- rel1.to: "bg";\
- rel2 {\
- to: "bg";\
- relative: 1.0 0.0; \
- }\
- align: 0.0 0.0; \
- } \
- }
-
-#define BEAT_GENLIST_PART_SLIDABLE_PADDING_BOTTOM( param_padding_size ) \
- part { name: "elm.slidable_padding.bottom"; \
- type: RECT; \
- scale: 1; \
- description { state: "default" 0.0; \
- min: 0 param_padding_size; \
- fixed: 0 1; \
- visible: 0; \
- rel1 {\
- to: "bg";\
- relative: 0.0 1.0; \
- }\
- rel2.to: "bg";\
- align: 0.0 1.0; \
- } \
- }
-
-#define BEAT_GENLIST_RSS_PART_EXPANDABLE_SWALLOW_PADDING \
- part { name: "elm.swallow.pad"; \
- type: SWALLOW; \
- description { state: "default" 0.0; \
- fixed: 1 0; \
- align: 0.0 0.5; \
- rel1 { \
- relative: 1.0 0.0;\
- to_x: "elm.padding.left"; \
- } \
- rel2.to_x: "elm.padding.left"; \
- } \
- } \
-
-#define BEAT_GENLIST_PART_SLIDABLE_EXPANDABLE_SWALLOW_PADDING \
- part { name: "elm.swallow.pad"; \
- type: SWALLOW; \
- description { state: "default" 0.0; \
- fixed: 1 0; \
- align: 0.0 0.5; \
- rel1 { \
- relative: 1.0 0.0;\
- to_x: "elm.slidable_padding.left"; \
- to_y: "bg";\
- } \
- rel2 {\
- to_x: "elm.slidable_padding.left"; \
- to_y: "bg";\
- }\
- } \
- } \
-
-#define BEAT_GENLIST_PART_SLIDABLE_BG_EXPANDABLE_IMAGE \
- part { name: "slidable_bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- rel1.to: "bg";\
- rel2.to: "bg";\
- image { \
- normal: "00_list_expandable_bg.png"; \
- border: 0 0 12 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- }
-
-#define BEAT_GENLIST_PART_BG_EXPANDABLE2_NOSHADOW \
- part { name: "bg"; \
- type: RECT; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- color: GENLIST_EXPANDABLE2_NOSHADOW_BG_COLOR_INC;\
- } \
- 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; } \
- } \
- }
-
-#define BEAT_GENLIST_RSS_PART_EXPANDABLE2_NOSHADOW_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: GENLIST_EXPANDABLE2_NOSHADOW_BG_COLOR_INC;\
- } \
- }
-
-#define _RSS_LIST_PROGRAMS_ENABLE_DISABLE\
- 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";\
- }
-
-#define _RSS_LIST_PROGRAMS_SLIDE_LEFT_RIGHT\
- program { name: "go_slide_right";\
- signal: "elm,state,slide,right";\
- source: "elm";\
- action: STATE_SET "hide" 0.0;\
- target: "bg";\
- after: "slide_right_step1";\
- }\
- program { name: "slide_right_step1";\
- action: STATE_SET "hide" 0.1;\
- target: "bg";\
- transition: LINEAR 0.3;\
- after: "slide_right_step2";\
- }\
- program { name: "slide_right_step2";\
- action: STATE_SET "hide" 0.2;\
- target: "bg";\
- transition: LINEAR 0.3;\
- after: "slide_right_step3";\
- }\
- program { name: "slide_right_step3";\
- action: STATE_SET "hide" 0.3;\
- target: "bg";\
- transition: LINEAR 0.3;\
- after: "slide_right_step4";\
- }\
- program { name: "slide_right_step4";\
- action: STATE_SET "repeat_events" 0.0;\
- target: "elm.between.layer";\
- }\
-\
- program { name: "go_slide_left";\
- signal: "elm,state,slide,left";\
- source: "elm";\
- action: STATE_SET "hide" 0.3;\
- target: "bg";\
- after: "slide_left_step1";\
- }\
- program { name: "slide_left_step1";\
- action: STATE_SET "default" 0.0;\
- target: "elm.between.layer";\
- after: "slide_left_step2";\
- }\
- program { name: "slide_left_step2";\
- action: STATE_SET "hide" 0.2;\
- target: "bg";\
- transition: LINEAR 0.3;\
- after: "slide_left_step3";\
- }\
- program { name: "slide_left_step3";\
- action: STATE_SET "hide" 0.1;\
- target: "bg";\
- transition: LINEAR 0.3;\
- after: "slide_left_step4";\
- }\
- program { name: "slide_left_step4";\
- action: STATE_SET "hide" 0.0;\
- target: "bg";\
- transition: LINEAR 0.3;\
- after: "slide_left_step5";\
- }\
- program { name: "slide_left_step5";\
- action: STATE_SET "default" 0.0;\
- target: "bg";\
- transition: LINEAR 0.3;\
- }
-
-#define _RSS_EDIT_ITEMS\
- data.item: "stacking" "above";\
- data.item: "selectraise" "on";\
- data.item: "labels" "elm.text.title";\
- data.item: "icons" "elm.icon.icon elm.icon.editted";\
- data.item: "treesize" "20";
-
-
-#define _RSS_EDIT_ITEMS_WITH_CHECK\
- data.item: "stacking" "above";\
- data.item: "selectraise" "on";\
- data.item: "labels" "elm.text.title";\
- data.item: "icons" "elm.icon.icon elm.icon.editted elm.icon.check";\
- data.item: "treesize" "20";
-
-
-#define _RSS_FOLDER_EDIT_PARTS\
- BEAT_GENLIST_PART_BOTTOM_LINE\
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )\
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )\
- BEAT_GENLIST_PART_PADDING_TOP( 10 )\
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )\
- BEAT_GENLIST_RSS_PART_EXPANDABLE_SWALLOW_PADDING\
- part {\
- name: "touch_icon";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 70 80;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- relative: 0.5 0.5;\
- to: "folder";\
- }\
- rel2 {\
- relative: 0.5 0.5;\
- to: "folder";\
- }\
- color: 0 0 0 0;\
- }\
- description {\
- state: "default" 1.0;\
- inherit: "default" 0.0;\
- }\
- }\
- part {\
- name: "folder";\
- clip_to: "disclip";\
- type: RECT;\
- ignore_flags: ON_HOLD;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 0.0 0.5;\
- aspect: 1.0 1.0;\
- color: 0 0 0 0;\
- rel1 {\
- to_x: "elm.swallow.pad";\
- relative: 1 0;\
- }\
- rel2 {\
- to_x: "elm.swallow.pad";\
- relative: 1 1;\
- }\
- }\
- description {\
- state: "default" 1.0;\
- inherit: "default" 0.0;\
- }\
- description {\
- state: "active" 0.0;\
- inherit: "default" 0.0;\
- }\
- description {\
- state: "active" 1.0;\
- inherit: "default" 0.0;\
- }\
- }\
- part {\
- name: "elm.icon.icon";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to: "folder";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "folder";\
- relative: 1 1;\
- }\
- }\
- }\
- part {\
- name: "touch_folder";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- rel1 {\
- relative: 0 0;\
- }\
- rel2 {\
- relative: 1 1;\
- to_x: "touch_icon";\
- }\
- color: 0 0 0 0;\
- }\
- }\
- part {\
- name: "elm.icon.editted";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to: "elm.icon.icon";\
- relative: 0.3 0;\
- }\
- rel2 {\
- to: "elm.icon.icon";\
- relative: 1.3 1;\
- }\
- }\
- }\
- part {\
- name: "folder_right_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 0 0;\
- rel1 {\
- to: "folder";\
- relative: 1 0;\
- }\
- rel2 {\
- to: "folder";\
- relative: 1 0;\
- }\
- }\
- }\
- part {\
- name: "elm.text.title";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- align: 0.5 0;\
- min: 1 40;\
- fixed: 0 1;\
- rel1 {\
- relative: 1 1;\
- to_x: "folder_right_padding";\
- to_y: "elm.padding.top";\
- }\
- rel2 {\
- relative: 0 0;\
- to_x: "edit_left_padding";\
- to_y: "elm.padding.bottom";\
- }\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 32;\
- min: 0 1;\
- align: 0.0 0.5;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "edit_left_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 55 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 1 0;\
- rel1 {\
- to: "elm.padding.right";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "elm.padding.right";\
- relative: 0 0;\
- }\
- }\
- }\
- BEAT_GENLIST_PART_DISCLIP
-
-#define _RSS_FOLDER_EDIT_PARTS_WITH_CHECK\
- BEAT_GENLIST_PART_BOTTOM_LINE\
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )\
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )\
- BEAT_GENLIST_PART_PADDING_TOP( 10 )\
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )\
- BEAT_GENLIST_RSS_PART_EXPANDABLE_SWALLOW_PADDING\
- part {\
- name: "touch_icon";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 70 80;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- relative: 0.5 0.5;\
- to: "folder";\
- }\
- rel2 {\
- relative: 0.5 0.5;\
- to: "folder";\
- }\
- color: 0 0 0 0;\
- }\
- description {\
- state: "default" 1.0;\
- inherit: "default" 0.0;\
- }\
- }\
- part {\
- name: "folder";\
- clip_to: "disclip";\
- type: RECT;\
- ignore_flags: ON_HOLD;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 0.0 0.5;\
- aspect: 1.0 1.0;\
- color: 0 0 0 0;\
- rel1 {\
- to_x: "check_right_padding";\
- relative: 1 0;\
- }\
- rel2 {\
- to_x: "check_right_padding";\
- relative: 1 1;\
- }\
- }\
- description {\
- state: "default" 1.0;\
- inherit: "default" 0.0;\
- }\
- description {\
- state: "active" 0.0;\
- inherit: "default" 0.0;\
- }\
- description {\
- state: "active" 1.0;\
- inherit: "default" 0.0;\
- }\
- }\
- part {\
- name: "elm.icon.check";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 0.0 0.5;\
- rel1 {\
- to_x: "elm.swallow.pad";\
- relative: 1 0;\
- }\
- rel2 {\
- to_x: "elm.swallow.pad";\
- relative: 1 1;\
- }\
- }\
- }\
- part {\
- name: "elm.icon.icon";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to: "folder";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "folder";\
- relative: 1 1;\
- }\
- }\
- }\
- part {\
- name: "touch_folder";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- rel1 {\
- relative: 0 0;\
- to_x: "touch_icon";\
- }\
- rel2 {\
- relative: 1 1;\
- to_x: "touch_icon";\
- }\
- color: 0 0 0 0;\
- }\
- }\
- part {\
- name: "elm.icon.editted";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to: "elm.icon.icon";\
- relative: 0.3 0;\
- }\
- rel2 {\
- to: "elm.icon.icon";\
- relative: 1.3 1;\
- }\
- }\
- }\
- part {\
- name: "check_right_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 0 0;\
- rel1 {\
- to: "elm.icon.check";\
- relative: 1 0;\
- }\
- rel2 {\
- to: "elm.icon.check";\
- relative: 1 0;\
- }\
- }\
- }\
- part {\
- name: "folder_right_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 0 0;\
- rel1 {\
- to: "folder";\
- relative: 1 0;\
- }\
- rel2 {\
- to: "folder";\
- relative: 1 0;\
- }\
- }\
- }\
- part {\
- name: "elm.text.title";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- align: 0.5 0;\
- min: 1 40;\
- fixed: 0 1;\
- rel1 {\
- relative: 1 1;\
- to_x: "folder_right_padding";\
- to_y: "elm.padding.top";\
- }\
- rel2 {\
- relative: 0 0;\
- to_x: "edit_left_padding";\
- to_y: "elm.padding.bottom";\
- }\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 32;\
- min: 0 1;\
- align: 0.0 0.5;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "edit_left_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 55 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 1 0;\
- rel1 {\
- to: "elm.padding.right";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "elm.padding.right";\
- relative: 0 0;\
- }\
- }\
- }\
- BEAT_GENLIST_PART_DISCLIP
-
-#define _RSS_FEED_EDIT_PARTS\
- BEAT_GENLIST_PART_BOTTOM_LINE\
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )\
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )\
- BEAT_GENLIST_PART_PADDING_TOP( 10 )\
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )\
- BEAT_GENLIST_RSS_PART_EXPANDABLE_SWALLOW_PADDING \
-\
- part {\
- name: "touch_icon";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 70 80;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- relative: 0.5 0.5;\
- to: "elm.icon.icon";\
- }\
- rel2 {\
- relative: 0.5 0.5;\
- to: "elm.icon.icon";\
- }\
- color: 0 0 0 0;\
- }\
- description {\
- state: "default" 1.0;\
- inherit: "default" 0.0;\
- }\
- }\
- part {\
- name: "elm.icon.icon";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 0.0 0.5;\
- rel1 {\
- to_x: "elm.swallow.pad";\
- relative: 1 0;\
- }\
- rel2 {\
- to_x: "elm.swallow.pad";\
- relative: 1 1;\
- }\
- }\
- }\
- part {\
- name: "elm.icon.editted";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to: "elm.icon.icon";\
- relative: 0.3 0;\
- }\
- rel2 {\
- to: "elm.icon.icon";\
- relative: 1.3 1;\
- }\
- }\
- }\
- part {\
- name: "icon_right_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 0 0;\
- rel1 {\
- to: "elm.icon.icon";\
- relative: 1 0;\
- }\
- rel2 {\
- to: "elm.icon.icon";\
- relative: 1 0;\
- }\
- }\
- }\
- part {\
- name: "elm.text.title";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- align: 0.5 0;\
- min: 1 40;\
- fixed: 0 1;\
- rel1 {\
- relative: 1 1;\
- to_x: "icon_right_padding";\
- to_y: "elm.padding.top";\
- }\
- rel2 {\
- relative: 0 0;\
- to_x: "edit_left_padding";\
- to_y: "elm.padding.bottom";\
- }\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 32;\
- min: 0 1;\
- align: 0.0 0.5;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "edit_left_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 55 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 1 0;\
- rel1 {\
- to: "elm.padding.right";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "elm.padding.right";\
- relative: 0 0;\
- }\
- }\
- }\
- BEAT_GENLIST_PART_DISCLIP
-
-#define _RSS_FEED_EDIT_PARTS_WITH_CHECK\
- BEAT_GENLIST_PART_BOTTOM_LINE\
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )\
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )\
- BEAT_GENLIST_PART_PADDING_TOP( 10 )\
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )\
- BEAT_GENLIST_RSS_PART_EXPANDABLE_SWALLOW_PADDING \
-\
- part {\
- name: "touch_icon";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 70 80;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- relative: 0.5 0.5;\
- to: "elm.icon.icon";\
- }\
- rel2 {\
- relative: 0.5 0.5;\
- to: "elm.icon.icon";\
- }\
- color: 0 0 0 0;\
- }\
- description {\
- state: "default" 1.0;\
- inherit: "default" 0.0;\
- }\
- }\
- part {\
- name: "elm.icon.check";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 0.0 0.5;\
- rel1 {\
- to_x: "elm.swallow.pad";\
- relative: 1 0;\
- }\
- rel2 {\
- to_x: "elm.swallow.pad";\
- relative: 1 1;\
- }\
- }\
- }\
- part {\
- name: "elm.icon.icon";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 0.0 0.5;\
- rel1 {\
- to_x: "check_right_padding";\
- relative: 1 0;\
- }\
- rel2 {\
- to_x: "check_right_padding";\
- relative: 1 1;\
- }\
- }\
- }\
- part {\
- name: "elm.icon.editted";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to: "elm.icon.icon";\
- relative: 0.3 0;\
- }\
- rel2 {\
- to: "elm.icon.icon";\
- relative: 1.3 1;\
- }\
- }\
- }\
- part {\
- name: "check_right_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 0 0;\
- rel1 {\
- to: "elm.icon.check";\
- relative: 1 0;\
- }\
- rel2 {\
- to: "elm.icon.check";\
- relative: 1 0;\
- }\
- }\
- }\
- part {\
- name: "icon_right_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 0 0;\
- rel1 {\
- to: "elm.icon.icon";\
- relative: 1 0;\
- }\
- rel2 {\
- to: "elm.icon.icon";\
- relative: 1 0;\
- }\
- }\
- }\
- part {\
- name: "elm.text.title";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- align: 0.5 0;\
- min: 1 40;\
- fixed: 0 1;\
- rel1 {\
- relative: 1 1;\
- to_x: "icon_right_padding";\
- to_y: "elm.padding.top";\
- }\
- rel2 {\
- relative: 0 0;\
- to_x: "edit_left_padding";\
- to_y: "elm.padding.bottom";\
- }\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 32;\
- min: 0 1;\
- align: 0.0 0.5;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "edit_left_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 55 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 1 0;\
- rel1 {\
- to: "elm.padding.right";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "elm.padding.right";\
- relative: 0 0;\
- }\
- }\
- }\
- BEAT_GENLIST_PART_DISCLIP
-
-#define _RSS_FEED_EDIT_PROGRAMS\
- programs {\
- program {\
- name: "go_active";\
- signal: "elm,state,selected";\
- source: "elm";\
- action: STATE_SET "selected" 0.0;\
- target: "bg_image";\
- target: "elm.text.title";\
- }\
- program {\
- name: "go_passive";\
- signal: "elm,state,unselected";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "bg_image";\
- target: "elm.text.title";\
- transition: LINEAR 0.1;\
- }\
- _RSS_LIST_PROGRAMS_ENABLE_DISABLE\
- }
-
-#define _RSS_FOLDER_EDIT_PROGRAMS\
- programs {\
- program {\
- name: "go_active";\
- signal: "elm,state,selected";\
- source: "elm";\
- action: STATE_SET "selected" 0.0;\
- target: "bg_image";\
- target: "elm.text.title";\
- }\
- program {\
- name: "go_passive";\
- signal: "elm,state,unselected";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "bg_image";\
- target: "elm.text.title";\
- 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_folder";\
- action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";\
- }\
- program {\
- name: "folder_down";\
- signal: "mouse,down,1";\
- source: "touch_folder";\
- script {\
- new st[31];\
- new Float:vl;\
- get_state(PART:"folder", st, 30, vl);\
- if (vl == 0.0)\
- set_state(PART:"folder", st, 1.0);\
- else\
- set_state(PART:"folder", st, 0.0);\
- }\
- }\
- program {\
- name: "go_expanded";\
- signal: "elm,state,expanded";\
- source: "elm";\
- action: STATE_SET "active" 0.0;\
- target: "folder";\
- }\
- program {\
- name: "go_contracted";\
- signal: "elm,state,contracted";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "folder";\
- }\
- }
-
-
-#define _RSS_FEED_ITEMS\
- data.item: "stacking" "above";\
- data.item: "selectraise" "on";\
- data.item: "labels" "elm.text.title elm.text.count";\
- data.item: "icons" "elm.icon.icon elm.icon.star elm.icon.editbtn elm.icon.deletebtn";\
- data.item: "treesize" "20";\
- data.item: "allow_slide" "1";
-
-#define _RSS_FEED_PARTS_SWEEP_BASE\
- BEAT_GENLIST_PART_BOTTOM_LINE\
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )\
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )\
- BEAT_GENLIST_PART_PADDING_TOP( 10 )\
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )\
- \
- part { name: "elm.icon.editbtn";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to_x: "elm.padding.left";\
- to_y: "elm.padding.top";\
- relative: 1 1;\
- }\
- rel2 {\
- to_x: "button_padding";\
- to_y: "elm.padding.bottom";\
- relative: 0 0;\
- }\
- }\
- }\
- \
- part {\
- name: "button_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- max: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 0.5 0.5;\
- rel1 {\
- to_x: "elm.padding.left";\
- to_y: "elm.padding.top";\
- relative: 1 1;\
- }\
- rel2 {\
- to_x: "elm.padding.right";\
- to_y: "elm.padding.top";\
- relative: 0 1;\
- }\
- }\
- }\
- \
- part { name: "elm.icon.deletebtn";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to_x: "button_padding";\
- to_y: "elm.padding.top";\
- relative: 1 1;\
- }\
- rel2 {\
- to_x: "elm.padding.right";\
- to_y: "elm.padding.bottom";\
- relative: 0 0;\
- }\
- }\
- }\
- \
- part { name: "elm.between.layer";\
- type: RECT;\
- clip_to: "disclip";\
- 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;\
- }\
- }
-
-#define _RSS_FEED_PARTS_FAVORITE\
- BEAT_GENLIST_PART_SLIDABLE_BOTTOM_LINE\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_LEFT( 15 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_RIGHT( 15 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_TOP( 10 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_BOTTOM( 10 )\
- BEAT_GENLIST_PART_SLIDABLE_EXPANDABLE_SWALLOW_PADDING \
-\
- part {\
- name: "touch_icon";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 70 80;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- relative: 0.5 0.5;\
- to: "elm.icon.icon";\
- }\
- rel2 {\
- relative: 0.5 0.5;\
- to: "elm.icon.icon";\
- }\
- color: 0 0 0 0;\
- }\
- description {\
- state: "default" 1.0;\
- inherit: "default" 0.0;\
- }\
- }\
- part {\
- name: "elm.icon.icon";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 0.0 0.5;\
- rel1 {\
- to_x: "elm.swallow.pad";\
- to_y: "bg";\
- relative: 1 0;\
- }\
- rel2 {\
- to_x: "elm.swallow.pad";\
- to_y: "bg";\
- relative: 1 1;\
- }\
- }\
- }\
- part {\
- name: "icon_right_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 0 0;\
- rel1 {\
- to: "elm.icon.icon";\
- relative: 1 0;\
- }\
- rel2 {\
- to: "elm.icon.icon";\
- relative: 1 0;\
- }\
- }\
- }\
- part {\
- name: "elm.text.title";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- align: 0.5 0;\
- min: 1 40;\
- fixed: 0 1;\
- rel1 {\
- relative: 1 1;\
- to_x: "icon_right_padding";\
- to_y: "elm.slidable_padding.top";\
- }\
- rel2 {\
- relative: 0 0;\
- to_x: "count_left_padding";\
- to_y: "elm.slidable_padding.bottom";\
- }\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 32;\
- min: 0 1;\
- align: 0.0 0.5;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "touch_star";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 70 80;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- relative: 0.5 0.5;\
- to: "elm.icon.star";\
- }\
- rel2 {\
- relative: 0.5 0.5;\
- to: "elm.icon.star";\
- }\
- color: 0 0 0 0;\
- }\
- }\
- part {\
- name: "elm.icon.star";\
- clip_to: "disclip";\
- type: SWALLOW;\
- repeat_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 1.0 0.5;\
- rel1 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.slidable_padding.top";\
- relative: 0 1;\
- }\
- rel2 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.text.count";\
- relative: 0 0;\
- }\
- }\
- }\
- part {\
- name: "elm.text.count";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 0 40;\
- fixed: 1 1;\
- rel1 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.slidable_padding.bottom";\
- relative: 0 0;\
- }\
- rel2 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.slidable_padding.bottom";\
- relative: 0 0;\
- }\
- align: 1 1;\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 18;\
- min: 1 1;\
- align: 1.0 1.0;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "count_left_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 1 0;\
- rel1 {\
- to: "elm.text.count";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "elm.text.count";\
- relative: 0 0;\
- }\
- }\
- }\
- BEAT_GENLIST_PART_DISCLIP
-
-#define _RSS_FEED_PARTS_NO_FAVORITE\
- BEAT_GENLIST_PART_SLIDABLE_BOTTOM_LINE\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_LEFT( 15 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_RIGHT( 15 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_TOP( 10 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_BOTTOM( 10 )\
- BEAT_GENLIST_PART_SLIDABLE_EXPANDABLE_SWALLOW_PADDING \
-\
- part {\
- name: "touch_icon";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 70 80;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- relative: 0.5 0.5;\
- to: "elm.icon.icon";\
- }\
- rel2 {\
- relative: 0.5 0.5;\
- to: "elm.icon.icon";\
- }\
- color: 0 0 0 0;\
- }\
- description {\
- state: "default" 1.0;\
- inherit: "default" 0.0;\
- }\
- }\
- part {\
- name: "elm.icon.icon";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 0.0 0.5;\
- rel1 {\
- to_x: "elm.swallow.pad";\
- to_y: "bg";\
- relative: 1 0;\
- }\
- rel2 {\
- to_x: "elm.swallow.pad";\
- to_y: "bg";\
- relative: 1 1;\
- }\
- }\
- }\
- part {\
- name: "icon_right_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 0 0;\
- rel1 {\
- to: "elm.icon.icon";\
- relative: 1 0;\
- }\
- rel2 {\
- to: "elm.icon.icon";\
- relative: 1 0;\
- }\
- }\
- }\
- part {\
- name: "elm.text.title";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- align: 0.5 0;\
- min: 1 40;\
- fixed: 0 1;\
- rel1 {\
- relative: 1 1;\
- to_x: "icon_right_padding";\
- to_y: "elm.slidable_padding.top";\
- }\
- rel2 {\
- relative: 0 0;\
- to_x: "count_left_padding";\
- to_y: "elm.slidable_padding.bottom";\
- }\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 32;\
- min: 0 1;\
- align: 0.0 0.5;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "elm.text.count";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 0 40;\
- fixed: 1 1;\
- rel1 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.slidable_padding.top";\
- relative: 0 1;\
- }\
- rel2 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.slidable_padding.bottom";\
- relative: 0 0;\
- }\
- align: 1 0.5;\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 18;\
- min: 1 1;\
- align: 1.0 0.5;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "count_left_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 1 0;\
- rel1 {\
- to: "elm.text.count";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "elm.text.count";\
- relative: 0 0;\
- }\
- }\
- }\
- BEAT_GENLIST_PART_DISCLIP
-
-#define _RSS_FEED_PROGRAMS\
- programs {\
- program {\
- name: "go_active";\
- signal: "elm,state,selected";\
- source: "elm";\
- action: STATE_SET "selected" 0.0;\
- target: "bg_image";\
- target: "elm.text.title";\
- target: "elm.text.count";\
- }\
- program {\
- name: "go_passive";\
- signal: "elm,state,unselected";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "bg_image";\
- target: "elm.text.title";\
- target: "elm.text.count";\
- transition: LINEAR 0.1;\
- }\
- _RSS_LIST_PROGRAMS_ENABLE_DISABLE\
- _RSS_LIST_PROGRAMS_SLIDE_LEFT_RIGHT\
- }
-
-#define _RSS_EPISODE_COMMON( _text_color_r, _text_color_g, _text_color_b, _text_color_a )\
- data.item: "stacking" "above";\
- data.item: "selectraise" "on";\
- data.item: "labels" "elm.text.title elm.text.date elm.text.content";\
- data.item: "icons" "elm.icon.icon elm.icon.star elm.icon.update elm.icon.delete";\
- data.item: "allow_slide" "1";\
- images {\
- image: "00_list_bar_press_1x80.png" COMP;\
- }\
-\
- parts {\
- BEAT_GENLIST_PART_BASE( 90 )\
- BEAT_GENLIST_PART_BG_IMAGE\
- BEAT_GENLIST_PART_BOTTOM_LINE\
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )\
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )\
- BEAT_GENLIST_PART_PADDING_TOP( 10 )\
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )\
- \
- part {\
- name: "elm.icon.delete";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to_x: "elm.padding.left";\
- to_y: "elm.padding.top";\
- relative: 1 1;\
- }\
- rel2 {\
- to_x: "elm.padding.right";\
- to_y: "elm.padding.bottom";\
- relative: 0 0;\
- }\
- }\
- }\
- \
- part { name: "elm.between.layer";\
- type: RECT;\
- clip_to: "disclip";\
- 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;\
- }\
- }\
- \
- BEAT_GENLIST_PART_BG\
- BEAT_GENLIST_PART_SLIDABLE_BG_IMAGE\
- BEAT_GENLIST_PART_SLIDABLE_BOTTOM_LINE\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_LEFT( 15 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_RIGHT( 15 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_TOP( 10 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_BOTTOM( 10 )\
- \
- part {\
- name: "touch_icon";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 70 80;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- relative: 0.5 0.5;\
- to: "elm.icon.icon";\
- }\
- rel2 {\
- relative: 0.5 0.5;\
- to: "elm.icon.icon";\
- }\
- color: 0 0 0 0;\
- }\
- }\
- part {\
- name: "touch_star";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 70 80;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- relative: 0.5 0.5;\
- to: "elm.icon.star";\
- }\
- rel2 {\
- relative: 0.5 0.5;\
- to: "elm.icon.star";\
- }\
- color: 0 0 0 0;\
- }\
- }\
- part {\
- name: "elm.icon.update";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to: "elm.icon.icon";\
- relative: 0.5 0.5;\
- }\
- rel2 {\
- to: "elm.icon.icon";\
- relative: 0.5 0.5;\
- }\
- }\
- }\
- part {\
- name: "elm.icon.icon";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 0.0 0.5;\
- rel1 {\
- to_x: "elm.slidable_padding.left";\
- to_y: "bg";\
- relative: 1 0;\
- }\
- rel2 {\
- to_x: "elm.slidable_padding.left";\
- to_y: "bg";\
- relative: 1 1;\
- }\
- }\
- }\
- \
- part {\
- name: "icon_right_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 0 0;\
- rel1 {\
- to: "elm.icon.icon";\
- relative: 1 0;\
- }\
- rel2 {\
- to: "elm.icon.icon";\
- relative: 1 0;\
- }\
- }\
- }\
- part {\
- name: "elm.text.title";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- align: 0.5 0;\
- min: 1 1;\
- fixed: 0 1;\
- rel1 {\
- relative: 1 1;\
- to_x: "icon_right_padding";\
- to_y: "elm.slidable_padding.top";\
- }\
- rel2 {\
- relative: 0 0;\
- to_x: "star_left_padding";\
- to_y: "elm.text.content";\
- }\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 28;\
- min: 0 1;\
- align: 0.0 0.5;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "elm.text.content";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- align: 0.5 0;\
- min: 1 30;\
- fixed: 0 1;\
- align: 0.0 1.0;\
- rel1 {\
- relative: 1 0;\
- to_x: "icon_right_padding";\
- to_y: "elm.slidable_padding.bottom";\
- }\
- rel2 {\
- relative: 0 0;\
- to_x: "date_left_padding";\
- to_y: "elm.slidable_padding.bottom";\
- }\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 18;\
- min: 0 0;\
- align: 0.0 1.0;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "elm.icon.star";\
- clip_to: "disclip";\
- type: SWALLOW;\
- repeat_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 1.0 0.5;\
- rel1 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.slidable_padding.top";\
- relative: 0 1;\
- }\
- rel2 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.text.date";\
- relative: 0 0;\
- }\
- }\
- }\
- part {\
- name: "star_left_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 1 0;\
- rel1 {\
- to: "elm.icon.star";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "elm.icon.star";\
- relative: 0 0;\
- }\
- }\
- }\
- part {\
- name: "elm.text.date";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 1 30;\
- fixed: 1 1;\
- rel1 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.text.content";\
- relative: 0 0;\
- }\
- rel2 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.text.content";\
- relative: 0 1;\
- }\
- align: 1 0.5;\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 18;\
- min: 1 1;\
- align: 1.0 1.0;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "date_left_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 1 0;\
- rel1 {\
- to: "elm.text.date";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "elm.text.date";\
- relative: 0 0;\
- }\
- }\
- }\
- BEAT_GENLIST_PART_DISCLIP\
- }\
- programs {\
- program {\
- name: "go_active";\
- signal: "elm,state,selected";\
- source: "elm";\
- action: STATE_SET "selected" 0.0;\
- target: "bg_image";\
- target: "elm.text.title";\
- target: "elm.text.content";\
- target: "elm.text.date";\
- target: "slidable_bg_image";\
- }\
- program {\
- name: "go_passive";\
- signal: "elm,state,unselected";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "bg_image";\
- target: "elm.text.title";\
- target: "elm.text.content";\
- target: "elm.text.date";\
- target: "slidable_bg_image";\
- transition: LINEAR 0.1;\
- }\
- _RSS_LIST_PROGRAMS_ENABLE_DISABLE\
- _RSS_LIST_PROGRAMS_SLIDE_LEFT_RIGHT\
- }
-
-#define _RSS_EPISODE_WITH_FEEDNAME( _text_color_r, _text_color_g, _text_color_b, _text_color_a )\
- data.item: "stacking" "above";\
- data.item: "selectraise" "on";\
- data.item: "labels" "elm.text.title elm.text.date elm.text.content elm.text.feedname";\
- data.item: "icons" "elm.icon.icon elm.icon.star elm.icon.update elm.icon.delete";\
- data.item: "allow_slide" "1";\
- images {\
- image: "00_list_bar_press_1x80.png" COMP;\
- }\
-\
- parts {\
- BEAT_GENLIST_PART_BASE( 100 )\
- BEAT_GENLIST_PART_BG_IMAGE\
- BEAT_GENLIST_PART_BOTTOM_LINE\
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )\
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )\
- BEAT_GENLIST_PART_PADDING_TOP( 10 )\
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )\
- \
- part {\
- name: "elm.icon.delete";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to_x: "elm.padding.left";\
- to_y: "elm.padding.top";\
- relative: 1 1;\
- }\
- rel2 {\
- to_x: "elm.padding.right";\
- to_y: "elm.padding.bottom";\
- relative: 0 0;\
- }\
- }\
- }\
- \
- part { name: "elm.between.layer";\
- type: RECT;\
- clip_to: "disclip";\
- 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;\
- }\
- }\
- \
- BEAT_GENLIST_PART_BG\
- BEAT_GENLIST_PART_SLIDABLE_BG_IMAGE\
- BEAT_GENLIST_PART_SLIDABLE_BOTTOM_LINE\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_LEFT( 15 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_RIGHT( 15 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_TOP( 10 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_BOTTOM( 10 )\
- \
- part {\
- name: "touch_icon";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 70 80;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- relative: 0.5 0.5;\
- to: "elm.icon.icon";\
- }\
- rel2 {\
- relative: 0.5 0.5;\
- to: "elm.icon.icon";\
- }\
- color: 0 0 0 0;\
- }\
- }\
- part {\
- name: "touch_star";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 70 80;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- relative: 0.5 0.5;\
- to: "elm.icon.star";\
- }\
- rel2 {\
- relative: 0.5 0.5;\
- to: "elm.icon.star";\
- }\
- color: 0 0 0 0;\
- }\
- }\
- part {\
- name: "elm.icon.update";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to: "elm.icon.icon";\
- relative: 0.5 0.5;\
- }\
- rel2 {\
- to: "elm.icon.icon";\
- relative: 0.5 0.5;\
- }\
- }\
- }\
- part {\
- name: "elm.icon.icon";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 0.0 0.5;\
- rel1 {\
- to_x: "elm.slidable_padding.left";\
- to_y: "bg";\
- relative: 1 0;\
- }\
- rel2 {\
- to_x: "elm.slidable_padding.left";\
- to_y: "bg";\
- relative: 1 1;\
- }\
- }\
- }\
- \
- part {\
- name: "icon_right_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 0 0;\
- rel1 {\
- to: "elm.icon.icon";\
- relative: 1 0;\
- }\
- rel2 {\
- to: "elm.icon.icon";\
- relative: 1 0;\
- }\
- }\
- }\
- part {\
- name: "elm.text.title";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- align: 0.5 0;\
- min: 1 1;\
- fixed: 0 1;\
- rel1 {\
- relative: 1 1;\
- to_x: "icon_right_padding";\
- to_y: "elm.slidable_padding.top";\
- }\
- rel2 {\
- relative: 0 0;\
- to_x: "star_left_padding";\
- to_y: "elm.text.content";\
- }\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 28;\
- min: 0 1;\
- align: 0.0 0.5;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "elm.text.content";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 1 22;\
- fixed: 0 1;\
- align: 0.0 1.0;\
- rel1 {\
- relative: 1 0;\
- to_x: "icon_right_padding";\
- to_y: "elm.text.feedname";\
- }\
- rel2 {\
- relative: 0 0;\
- to_x: "star_left_padding";\
- to_y: "elm.text.feedname";\
- }\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 18;\
- min: 0 0;\
- align: 0.0 1.0;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "elm.text.feedname";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 1 22;\
- fixed: 0 1;\
- align: 1.0 1.0;\
- rel1 {\
- relative: 1 0;\
- to_x: "icon_right_padding";\
- to_y: "elm.slidable_padding.bottom";\
- offset: 60 0;\
- }\
- rel2 {\
- relative: 0 0;\
- to_x: "feedname_right_brace";\
- to_y: "elm.slidable_padding.bottom";\
- }\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 18;\
- min: 0 0;\
- align: 1.0 1.0;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "feedname_right_brace";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 1 22;\
- fixed: 1 1;\
- align: 1.0 1.0;\
- rel1 {\
- relative: 0 0;\
- to_x: "date_left_padding";\
- to_y: "elm.slidable_padding.bottom";\
- }\
- rel2 {\
- relative: 0 0;\
- to_x: "date_left_padding";\
- to_y: "elm.slidable_padding.bottom";\
- }\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 18;\
- min: 1 1;\
- align: 1.0 1.0;\
- text: " - ";\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "elm.icon.star";\
- clip_to: "disclip";\
- type: SWALLOW;\
- repeat_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 1.0 0.5;\
- rel1 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.slidable_padding.top";\
- relative: 0 1;\
- }\
- rel2 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.text.date";\
- relative: 0 0;\
- }\
- }\
- }\
- part {\
- name: "star_left_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 1 0;\
- rel1 {\
- to: "elm.icon.star";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "elm.icon.star";\
- relative: 0 0;\
- }\
- }\
- }\
- part {\
- name: "elm.text.date";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 1 22;\
- fixed: 1 1;\
- rel1 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.text.feedname";\
- relative: 0 0;\
- }\
- rel2 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.text.feedname";\
- relative: 0 1;\
- }\
- align: 1 0.5;\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 18;\
- min: 1 1;\
- align: 1.0 1.0;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "date_left_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 1 0;\
- rel1 {\
- to: "elm.text.date";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "elm.text.date";\
- relative: 0 0;\
- }\
- }\
- }\
- BEAT_GENLIST_PART_DISCLIP\
- }\
- programs {\
- program {\
- name: "go_active";\
- signal: "elm,state,selected";\
- source: "elm";\
- action: STATE_SET "selected" 0.0;\
- target: "bg_image";\
- target: "elm.text.title";\
- target: "elm.text.content";\
- target: "elm.text.date";\
- target: "elm.text.feedname";\
- target: "slidable_bg_image";\
- }\
- program {\
- name: "go_passive";\
- signal: "elm,state,unselected";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "bg_image";\
- target: "elm.text.title";\
- target: "elm.text.content";\
- target: "elm.text.date";\
- target: "elm.text.feedname";\
- target: "slidable_bg_image";\
- transition: LINEAR 0.1;\
- }\
- _RSS_LIST_PROGRAMS_ENABLE_DISABLE\
- _RSS_LIST_PROGRAMS_SLIDE_LEFT_RIGHT\
- }
-
-
-#define _RSS_FOLDER_ITEMS\
- data.item: "stacking" "above";\
- data.item: "selectraise" "on";\
- data.item: "labels" "elm.text.title elm.text.count";\
- data.item: "icons" "elm.icon.icon elm.icon.star elm.icon.editbtn elm.icon.deletebtn";\
- data.item: "treesize" "20";\
- data.item: "allow_slide" "1";
-
-#define _RSS_FOLDER_PARTS_SWEEP_BASE\
- BEAT_GENLIST_PART_BOTTOM_LINE\
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )\
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )\
- BEAT_GENLIST_PART_PADDING_TOP( 10 )\
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )\
- \
- part { name: "elm.icon.editbtn";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to_x: "elm.padding.left";\
- to_y: "elm.padding.top";\
- relative: 1 1;\
- }\
- rel2 {\
- to_x: "button_padding";\
- to_y: "elm.padding.bottom";\
- relative: 0 0;\
- }\
- }\
- }\
- \
- part {\
- name: "button_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- max: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 0.5 0.5;\
- rel1 {\
- to_x: "elm.padding.left";\
- to_y: "elm.padding.top";\
- relative: 1 1;\
- }\
- rel2 {\
- to_x: "elm.padding.right";\
- to_y: "elm.padding.top";\
- relative: 0 1;\
- }\
- }\
- }\
- \
- part { name: "elm.icon.deletebtn";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to_x: "button_padding";\
- to_y: "elm.padding.top";\
- relative: 1 1;\
- }\
- rel2 {\
- to_x: "elm.padding.right";\
- to_y: "elm.padding.bottom";\
- relative: 0 0;\
- }\
- }\
- }\
- part { name: "elm.between.layer";\
- type: RECT;\
- clip_to: "disclip";\
- 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;\
- }\
- }
-
-#define _RSS_FOLDER_PARTS_NO_FAVORITE\
- BEAT_GENLIST_PART_SLIDABLE_BOTTOM_LINE\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_LEFT( 15 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_RIGHT( 15 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_TOP( 10 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_BOTTOM( 10 )\
- BEAT_GENLIST_PART_SLIDABLE_EXPANDABLE_SWALLOW_PADDING\
- part {\
- name: "touch_icon";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 70 80;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- relative: 0.5 0.5;\
- to: "folder";\
- }\
- rel2 {\
- relative: 0.5 0.5;\
- to: "folder";\
- }\
- color: 0 0 0 0;\
- }\
- description {\
- state: "default" 1.0;\
- inherit: "default" 0.0;\
- }\
- }\
- part {\
- name: "folder";\
- clip_to: "disclip";\
- type: RECT;\
- ignore_flags: ON_HOLD;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 0.0 0.5;\
- aspect: 1.0 1.0;\
- color: 0 0 0 0;\
- rel1 {\
- to_x: "elm.slidable_padding.left";\
- to_y: "bg";\
- relative: 1 0;\
- }\
- }\
- description {\
- state: "default" 1.0;\
- inherit: "default" 0.0;\
- }\
- description {\
- state: "active" 0.0;\
- inherit: "default" 0.0;\
- }\
- description {\
- state: "active" 1.0;\
- inherit: "default" 0.0;\
- }\
- }\
- part {\
- name: "elm.icon.icon";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to: "folder";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "folder";\
- relative: 1 1;\
- }\
- }\
- }\
- part {\
- name: "touch_folder";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- rel1 {\
- to: "bg";\
- relative: 0 0;\
- }\
- rel2 {\
- relative: 1 1;\
- to_x: "touch_icon";\
- to_y: "bg";\
- }\
- color: 0 0 0 0;\
- }\
- }\
- part {\
- name: "folder_right_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 0 0;\
- rel1 {\
- to: "folder";\
- relative: 1 0;\
- }\
- rel2 {\
- to: "folder";\
- relative: 1 0;\
- }\
- }\
- }\
- part {\
- name: "elm.text.title";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- align: 0.5 0;\
- min: 1 40;\
- fixed: 0 1;\
- rel1 {\
- relative: 1 1;\
- to_x: "folder_right_padding";\
- to_y: "elm.slidable_padding.top";\
- }\
- rel2 {\
- relative: 0 0;\
- to_x: "count_left_padding";\
- to_y: "elm.slidable_padding.bottom";\
- }\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 32;\
- min: 0 1;\
- align: 0.0 0.5;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "elm.text.count";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 0 40;\
- fixed: 1 1;\
- rel1 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.slidable_padding.top";\
- relative: 0 1;\
- }\
- rel2 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.slidable_padding.bottom";\
- relative: 0 0;\
- }\
- align: 1 0.5;\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 18;\
- min: 1 1;\
- align: 1.0 0.5;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "count_left_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 1 0;\
- rel1 {\
- to: "elm.text.count";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "elm.text.count";\
- relative: 0 0;\
- }\
- }\
- }\
- BEAT_GENLIST_PART_DISCLIP
-
-#define _RSS_FOLDER_PARTS_WITH_FAVORITE\
- BEAT_GENLIST_PART_SLIDABLE_BOTTOM_LINE\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_LEFT( 15 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_RIGHT( 15 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_TOP( 10 )\
- BEAT_GENLIST_PART_SLIDABLE_PADDING_BOTTOM( 10 )\
- BEAT_GENLIST_PART_SLIDABLE_EXPANDABLE_SWALLOW_PADDING\
- part {\
- name: "touch_icon";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 70 80;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- relative: 0.5 0.5;\
- to: "folder";\
- }\
- rel2 {\
- relative: 0.5 0.5;\
- to: "folder";\
- }\
- color: 0 0 0 0;\
- }\
- description {\
- state: "default" 1.0;\
- inherit: "default" 0.0;\
- }\
- }\
- part {\
- name: "folder";\
- clip_to: "disclip";\
- type: RECT;\
- ignore_flags: ON_HOLD;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 0.0 0.5;\
- aspect: 1.0 1.0;\
- color: 0 0 0 0;\
- rel1 {\
- to_x: "elm.slidable_padding.left";\
- to_y: "bg";\
- relative: 1 0;\
- }\
- }\
- description {\
- state: "default" 1.0;\
- inherit: "default" 0.0;\
- }\
- description {\
- state: "active" 0.0;\
- inherit: "default" 0.0;\
- }\
- description {\
- state: "active" 1.0;\
- inherit: "default" 0.0;\
- }\
- }\
- part {\
- name: "elm.icon.icon";\
- clip_to: "disclip";\
- type: SWALLOW;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- to: "folder";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "folder";\
- relative: 1 1;\
- }\
- }\
- }\
- part {\
- name: "touch_folder";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- rel1 {\
- to: "bg";\
- relative: 0 0;\
- }\
- rel2 {\
- relative: 1 1;\
- to_x: "touch_icon";\
- to_y: "bg";\
- }\
- color: 0 0 0 0;\
- }\
- }\
- part {\
- name: "folder_right_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 0 0;\
- rel1 {\
- to: "folder";\
- relative: 1 0;\
- }\
- rel2 {\
- to: "folder";\
- relative: 1 0;\
- }\
- }\
- }\
- part {\
- name: "elm.text.title";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- align: 0.5 0;\
- min: 1 40;\
- fixed: 0 1;\
- rel1 {\
- relative: 1 1;\
- to_x: "folder_right_padding";\
- to_y: "elm.slidable_padding.top";\
- }\
- rel2 {\
- relative: 0 0;\
- to_x: "count_left_padding";\
- to_y: "elm.slidable_padding.bottom";\
- }\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 32;\
- min: 0 1;\
- align: 0.0 0.5;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "touch_star";\
- type: RECT;\
- clip_to: "disclip";\
- ignore_flags: ON_HOLD;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 70 80;\
- fixed: 1 1;\
- align: 0.5 0.5;\
- rel1 {\
- relative: 0.5 0.5;\
- to: "elm.icon.star";\
- }\
- rel2 {\
- relative: 0.5 0.5;\
- to: "elm.icon.star";\
- }\
- color: 0 0 0 0;\
- }\
- }\
- part {\
- name: "elm.icon.star";\
- clip_to: "disclip";\
- type: SWALLOW;\
- repeat_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 40 40;\
- max: 40 40;\
- fixed: 1 1;\
- align: 1.0 0.5;\
- rel1 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.slidable_padding.top";\
- relative: 0 1;\
- }\
- rel2 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.text.count";\
- relative: 0 0;\
- }\
- }\
- }\
- part {\
- name: "elm.text.count";\
- clip_to: "disclip";\
- type: TEXT;\
- mouse_events: 0;\
- scale: 1;\
- description {\
- state: "default" 0.0;\
- min: 0 40;\
- fixed: 1 1;\
- rel1 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.slidable_padding.bottom";\
- relative: 0 0;\
- }\
- rel2 {\
- to_x: "elm.slidable_padding.right";\
- to_y: "elm.slidable_padding.bottom";\
- relative: 0 0;\
- }\
- align: 1 1;\
- color: GENLIST_PART_TEXT_COLOR_INC;\
- text {\
- font: "SLP:style=Roman";\
- size: 18;\
- min: 1 1;\
- align: 1.0 1.0;\
- }\
- }\
- description {\
- state: "selected" 0.0;\
- inherit: "default" 0.0;\
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;\
- }\
- }\
- part {\
- name: "count_left_padding";\
- clip_to: "disclip";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description {\
- min: 15 0;\
- fixed: 1 0;\
- visible: 0;\
- align: 1 0;\
- rel1 {\
- to: "elm.text.count";\
- relative: 0 0;\
- }\
- rel2 {\
- to: "elm.text.count";\
- relative: 0 0;\
- }\
- }\
- }\
- BEAT_GENLIST_PART_DISCLIP
-
-
-#define _RSS_FOLDER_PROGRAMS\
- programs {\
- program {\
- name: "go_active";\
- signal: "elm,state,selected";\
- source: "elm";\
- action: STATE_SET "selected" 0.0;\
- target: "bg_image";\
- target: "elm.text.title";\
- target: "elm.text.count";\
- target: "slidable_bg_image";\
- }\
- program {\
- name: "go_passive";\
- signal: "elm,state,unselected";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "bg_image";\
- target: "elm.text.title";\
- target: "elm.text.count";\
- target: "slidable_bg_image";\
- 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_folder";\
- action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";\
- }\
- program {\
- name: "folder_down";\
- signal: "mouse,down,1";\
- source: "touch_folder";\
- script {\
- new st[31];\
- new Float:vl;\
- get_state(PART:"folder", st, 30, vl);\
- if (vl == 0.0)\
- set_state(PART:"folder", st, 1.0);\
- else\
- set_state(PART:"folder", st, 0.0);\
- }\
- }\
- program {\
- name: "go_expanded";\
- signal: "elm,state,expanded";\
- source: "elm";\
- action: STATE_SET "active" 0.0;\
- target: "folder";\
- }\
- program {\
- name: "go_contracted";\
- signal: "elm,state,contracted";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "folder";\
- }\
- _RSS_LIST_PROGRAMS_SLIDE_LEFT_RIGHT\
- }
-
-
+++ /dev/null
-
- group {
- name: "elm/genlist/item/rsstree/episode_read/default";
- alias: "elm/genlist/item_odd/rsstree/episode_read/default";
- alias: "elm/genlist/item_compress/rsstree/episode_read/default";
- alias: "elm/genlist/item_compress_odd/rsstree/episode_read/default";
-
- _RSS_EPISODE_COMMON(180, 180, 180, 255)
- }
-
- group {
- name: "elm/genlist/item/rsstree/episode_unread/default";
- alias: "elm/genlist/item_odd/rsstree/episode_unread/default";
- alias: "elm/genlist/item_compress/rsstree/episode_unread/default";
- alias: "elm/genlist/item_compress_odd/rsstree/episode_unread/default";
-
- _RSS_EPISODE_COMMON(0, 0, 0, 255)
- }
-
- group {
- name: "elm/genlist/item/rsstree/episode_f_read/default";
- alias: "elm/genlist/item_odd/rsstree/episode_f_read/default";
- alias: "elm/genlist/item_compress/rsstree/episode_f_read/default";
- alias: "elm/genlist/item_compress_odd/rsstree/episode_f_read/default";
-
- _RSS_EPISODE_WITH_FEEDNAME(180, 180, 180, 255)
- }
-
- group {
- name: "elm/genlist/item/rsstree/episode_f_unread/default";
- alias: "elm/genlist/item_odd/rsstree/episode_f_unread/default";
- alias: "elm/genlist/item_compress/rsstree/episode_f_unread/default";
- alias: "elm/genlist/item_compress_odd/rsstree/episode_f_unread/default";
-
- _RSS_EPISODE_WITH_FEEDNAME(0, 0, 0, 255)
- }
-
- group {
- name: "elm/genlist/item/rsstree/favorites/default";
- alias: "elm/genlist/item_odd/rsstree/favorites/default";
- alias: "elm/genlist/item_compress/rsstree/favorites/default";
- alias: "elm/genlist/item_compress_odd/rsstree/favorites/default";
-
- data.item: "stacking" "above";\
- data.item: "selectraise" "on";\
- data.item: "labels" "elm.text.title elm.text.count";\
- data.item: "icons" "elm.icon.icon elm.icon.star";\
- data.item: "treesize" "20";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_RSS_PART_EXPANDABLE_SWALLOW_PADDING
-
- part {
- name: "touch_icon";
- type: RECT;
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 70 80;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 {
- relative: 0.5 0.5;
- to: "elm.icon.icon";
- }
- rel2 {
- relative: 0.5 0.5;
- to: "elm.icon.icon";
- }
- color: 0 0 0 0;
- }
- description {
- state: "default" 1.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "elm.icon.icon";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- to_x: "elm.swallow.pad";
- relative: 1 0;
- }
- rel2 {
- to_x: "elm.swallow.pad";
- relative: 1 1;
- }
- }
- }
-
- part {
- name: "icon_right_padding";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- align: 0 0;
- rel1 {
- to: "elm.icon.icon";
- relative: 1 0;
- }
- rel2 {
- to: "elm.icon.icon";
- relative: 1 0;
- }
- }
- }
- part {
- name: "elm.text.title";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0;
- min: 1 40;
- fixed: 0 1;
- rel1 {
- relative: 1 1;
- to_x: "icon_right_padding";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
-
- programs {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text.title";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text.title";
- 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/genlist/item/rsstree/favorites_f/default";
- alias: "elm/genlist/item_odd/rsstree/favorites_f/default";
- alias: "elm/genlist/item_compress/rsstree/favorites_f/default";
- alias: "elm/genlist/item_compress_odd/rsstree/favorites_f/default";
-
- data.item: "stacking" "above";\
- data.item: "selectraise" "on";\
- data.item: "labels" "elm.text.title elm.text.count";\
- data.item: "icons" "elm.icon.icon elm.icon.star";\
- data.item: "treesize" "20";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_RSS_PART_EXPANDABLE_SWALLOW_PADDING
-
- part {
- name: "touch_icon";
- type: RECT;
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 70 80;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 {
- relative: 0.5 0.5;
- to: "elm.icon.icon";
- }
- rel2 {
- relative: 0.5 0.5;
- to: "elm.icon.icon";
- }
- color: 0 0 0 0;
- }
- description {
- state: "default" 1.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "elm.icon.icon";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- to_x: "elm.swallow.pad";
- relative: 1 0;
- }
- rel2 {
- to_x: "elm.swallow.pad";
- relative: 1 1;
- }
- }
- }
-
- part {
- name: "icon_right_padding";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- align: 0 0;
- rel1 {
- to: "elm.icon.icon";
- relative: 1 0;
- }
- rel2 {
- to: "elm.icon.icon";
- relative: 1 0;
- }
- }
- }
- part {
- name: "elm.text.title";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0;
- min: 1 40;
- fixed: 0 1;
- rel1 {
- relative: 1 1;
- to_x: "icon_right_padding";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- part {
- name: "touch_star";
- type: RECT;
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 70 80;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 {
- relative: 0.5 0.5;
- to: "elm.icon.star";
- }
- rel2 {
- relative: 0.5 0.5;
- to: "elm.icon.star";
- }
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.icon.star";
- clip_to: "disclip";
- type: SWALLOW;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0 1;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- relative: 0 1;
- }
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
-
- programs {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text.title";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text.title";
- 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";
- }
- }
- }
-
+++ /dev/null
-
-
- group {
- name: "elm/genlist/item/rsstree/feed/default";
- alias: "elm/genlist/item_odd/rsstree/feed/default";
- alias: "elm/genlist/item_compress/rsstree/feed/default";
- alias: "elm/genlist/item_compress_odd/rsstree/feed/default";
-
- _RSS_FEED_ITEMS
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- _RSS_FEED_PARTS_SWEEP_BASE
-
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_SLIDABLE_BG_IMAGE
- _RSS_FEED_PARTS_NO_FAVORITE
- }
- _RSS_FEED_PROGRAMS
- }
-
- group {
- name: "elm/genlist/item/rsstree/feed2/default";
- alias: "elm/genlist/item_odd/rsstree/feed2/default";
- alias: "elm/genlist/item_compress/rsstree/feed2/default";
- alias: "elm/genlist/item_compress_odd/rsstree/feed2/default";
- _RSS_FEED_ITEMS
- images {
- image: "00_list_expandable_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_EXPANDABLE_IMAGE
- _RSS_FEED_PARTS_SWEEP_BASE
-
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_SLIDABLE_BG_EXPANDABLE_IMAGE
- _RSS_FEED_PARTS_NO_FAVORITE
- }
- _RSS_FEED_PROGRAMS
- }
-
- group {
- name: "elm/genlist/item/rsstree/feed2_noshadow/default";
- alias: "elm/genlist/item_odd/rsstree/feed2_noshadow/default";
- alias: "elm/genlist/item_compress/rsstree/feed2_noshadow/default";
- alias: "elm/genlist/item_compress_odd/rsstree/feed2_noshadow/default";
- _RSS_FEED_ITEMS
- images {
- image: "00_list_expandable_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_RSS_PART_EXPANDABLE2_NOSHADOW_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- _RSS_FEED_PARTS_SWEEP_BASE
-
- BEAT_GENLIST_PART_BG_EXPANDABLE2_NOSHADOW
- BEAT_GENLIST_PART_SLIDABLE_BG_IMAGE
- _RSS_FEED_PARTS_NO_FAVORITE
- }
- _RSS_FEED_PROGRAMS
- }
-
- group {
- name: "elm/genlist/item/rsstree/feed_f/default";
- alias: "elm/genlist/item_odd/rsstree/feed_f/default";
- alias: "elm/genlist/item_compress/rsstree/feed_f/default";
- alias: "elm/genlist/item_compress_odd/rsstree/feed_f/default";
- _RSS_FEED_ITEMS
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG_IMAGE
- _RSS_FEED_PARTS_SWEEP_BASE
-
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_SLIDABLE_BG_IMAGE
- _RSS_FEED_PARTS_FAVORITE
- }
- _RSS_FEED_PROGRAMS
- }
-
- group {
- name: "elm/genlist/item/rsstree/feed2_f/default";
- alias: "elm/genlist/item_odd/rsstree/feed2_f/default";
- alias: "elm/genlist/item_compress/rsstree/feed2_f/default";
- alias: "elm/genlist/item_compress_odd/rsstree/feed2_f/default";
- _RSS_FEED_ITEMS
- images {
- image: "00_list_expandable_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG_EXPANDABLE_IMAGE
- _RSS_FEED_PARTS_SWEEP_BASE
-
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_SLIDABLE_BG_EXPANDABLE_IMAGE
- _RSS_FEED_PARTS_FAVORITE
- }
- _RSS_FEED_PROGRAMS
- }
-
- group {
- name: "elm/genlist/item/rsstree/feed2_f_noshadow/default";
- alias: "elm/genlist/item_odd/rsstree/feed2_f_noshadow/default";
- alias: "elm/genlist/item_compress/rsstree/feed2_f_noshadow/default";
- alias: "elm/genlist/item_compress_odd/rsstree/feed2_f_noshadow/default";
- _RSS_FEED_ITEMS
- images {
- image: "00_list_expandable_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_RSS_PART_EXPANDABLE2_NOSHADOW_BASE( 90 )
- BEAT_GENLIST_PART_BG_IMAGE
- _RSS_FEED_PARTS_SWEEP_BASE
-
- BEAT_GENLIST_PART_BG_EXPANDABLE2_NOSHADOW
- BEAT_GENLIST_PART_SLIDABLE_BG_IMAGE
- _RSS_FEED_PARTS_FAVORITE
- }
- _RSS_FEED_PROGRAMS
- }
-
- group {
- name: "elm/genlist/item/rsstree/feed_edit/default";
- alias: "elm/genlist/item_odd/rsstree/feed_edit/default";
- alias: "elm/genlist/item_compress/rsstree/feed_edit/default";
- alias: "elm/genlist/item_compress_odd/rsstree/feed_edit/default";
- _RSS_EDIT_ITEMS
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
-
- _RSS_FEED_EDIT_PARTS
- }
- _RSS_FEED_EDIT_PROGRAMS
- }
-
- group {
- name: "elm/genlist/item/rsstree/feed2_edit/default";
- alias: "elm/genlist/item_odd/rsstree/feed2_edit/default";
- alias: "elm/genlist/item_compress/rsstree/feed2_edit/default";
- alias: "elm/genlist/item_compress_odd/rsstree/feed2_edit/default";
- _RSS_EDIT_ITEMS
- images {
- image: "00_list_expandable_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_EXPANDABLE_IMAGE
-
- _RSS_FEED_EDIT_PARTS
- }
- _RSS_FEED_EDIT_PROGRAMS
- }
-
- group {
- name: "elm/genlist/item/rsstree/feed2_edit_noshadow/default";
- alias: "elm/genlist/item_odd/rsstree/feed2_edit_noshadow/default";
- alias: "elm/genlist/item_compress/rsstree/feed2_edit_noshadow/default";
- alias: "elm/genlist/item_compress_odd/rsstree/feed2_edit_noshadow/default";
- _RSS_EDIT_ITEMS
- images {
- image: "00_list_expandable_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_RSS_PART_EXPANDABLE2_NOSHADOW_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
-
- _RSS_FEED_EDIT_PARTS
- }
- _RSS_FEED_EDIT_PROGRAMS
- }
-
- group {
- name: "elm/genlist/item/rsstree/feed_edit_with_check/default";
- alias: "elm/genlist/item_odd/rsstree/feed_edit_with_check/default";
- alias: "elm/genlist/item_compress/rsstree/feed_edit_with_check/default";
- alias: "elm/genlist/item_compress_odd/rsstree/feed_edit_with_check/default";
- _RSS_EDIT_ITEMS_WITH_CHECK
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
-
- _RSS_FEED_EDIT_PARTS_WITH_CHECK
- }
- _RSS_FEED_EDIT_PROGRAMS
- }
-
- group {
- name: "elm/genlist/item/rsstree/feed2_edit_with_check/default";
- alias: "elm/genlist/item_odd/rsstree/feed2_edit_with_check/default";
- alias: "elm/genlist/item_compress/rsstree/feed2_edit_with_check/default";
- alias: "elm/genlist/item_compress_odd/rsstree/feed2_edit_with_check/default";
- _RSS_EDIT_ITEMS_WITH_CHECK
- images {
- image: "00_list_expandable_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_EXPANDABLE_IMAGE
-
- _RSS_FEED_EDIT_PARTS_WITH_CHECK
- }
- _RSS_FEED_EDIT_PROGRAMS
- }
-
- group {
- name: "elm/genlist/item/rsstree/feed2_edit_noshadow_with_check/default";
- alias: "elm/genlist/item_odd/rsstree/feed2_edit_noshadow_with_check/default";
- alias: "elm/genlist/item_compress/rsstree/feed2_edit_noshadow_with_check/default";
- alias: "elm/genlist/item_compress_odd/rsstree/feed2_edit_noshadow_with_check/default";
- _RSS_EDIT_ITEMS_WITH_CHECK
- images {
- image: "00_list_expandable_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_RSS_PART_EXPANDABLE2_NOSHADOW_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
-
- _RSS_FEED_EDIT_PARTS_WITH_CHECK
- }
- _RSS_FEED_EDIT_PROGRAMS
- }
-
+++ /dev/null
-
-
-
- group {
- name: "elm/genlist/tree/rsstree/folder/default";
- alias: "elm/genlist/tree_odd/rsstree/folder/default";
- alias: "elm/genlist/item_compress/rsstree/folder/default";
- alias: "elm/genlist/item_compress_odd/rsstree/folder/default";
-
- _RSS_FOLDER_ITEMS
- images{
- image: "rss/folder_closed.png" COMP;
- image: "rss/folder_opened.png" COMP;
- image: "00_list_bar_press_1x80.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- _RSS_FOLDER_PARTS_SWEEP_BASE
-
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_SLIDABLE_BG_IMAGE
- _RSS_FOLDER_PARTS_NO_FAVORITE
- }
-
- _RSS_FOLDER_PROGRAMS
- }
-
- group {
- name: "elm/genlist/tree/rsstree/folder2/default";
- alias: "elm/genlist/tree_odd/rsstree/folder2/default";
- alias: "elm/genlist/item_compress/rsstree/folder2/default";
- alias: "elm/genlist/item_compress_odd/rsstree/folder2/default";
-
- _RSS_FOLDER_ITEMS
- images{
- image: "rss/folder_closed.png" COMP;
- image: "rss/folder_opened.png" COMP;
- image: "00_list_expandable_bg.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_EXPANDABLE_IMAGE
- _RSS_FOLDER_PARTS_SWEEP_BASE
-
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_SLIDABLE_BG_EXPANDABLE_IMAGE
- _RSS_FOLDER_PARTS_NO_FAVORITE
- }
-
- _RSS_FOLDER_PROGRAMS
- }
-
- group {
- name: "elm/genlist/tree/rsstree/folder2_noshadow/default";
- alias: "elm/genlist/tree_odd/rsstree/folder2_noshadow/default";
- alias: "elm/genlist/item_compress/rsstree/folder2_noshadow/default";
- alias: "elm/genlist/item_compress_odd/rsstree/folder2_noshadow/default";
-
- _RSS_FOLDER_ITEMS
- images{
- image: "rss/folder_closed.png" COMP;
- image: "rss/folder_opened.png" COMP;
- image: "00_list_expandable_bg.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_RSS_PART_EXPANDABLE2_NOSHADOW_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- _RSS_FOLDER_PARTS_SWEEP_BASE
-
- BEAT_GENLIST_PART_BG_EXPANDABLE2_NOSHADOW
- BEAT_GENLIST_PART_SLIDABLE_BG_IMAGE
- _RSS_FOLDER_PARTS_NO_FAVORITE
- }
-
- _RSS_FOLDER_PROGRAMS
- }
-
- group {
- name: "elm/genlist/tree/rsstree/folder_f/default";
- alias: "elm/genlist/tree_odd/rsstree/folder_f/default";
- alias: "elm/genlist/item_compress/rsstree/folder_f/default";
- alias: "elm/genlist/item_compress_odd/rsstree/folder_f/default";
-
- _RSS_FOLDER_ITEMS
- images{
- image: "rss/folder_closed.png" COMP;
- image: "rss/folder_opened.png" COMP;
- image: "00_list_bar_press_1x80.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG_IMAGE
- _RSS_FOLDER_PARTS_SWEEP_BASE
-
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_SLIDABLE_BG_IMAGE
- _RSS_FOLDER_PARTS_WITH_FAVORITE
- }
-
- _RSS_FOLDER_PROGRAMS
- }
-
- group {
- name: "elm/genlist/tree/rsstree/folder2_f/default";
- alias: "elm/genlist/tree_odd/rsstree/folder2_f/default";
- alias: "elm/genlist/item_compress/rsstree/folder2_f/default";
- alias: "elm/genlist/item_compress_odd/rsstree/folder2_f/default";
-
- _RSS_FOLDER_ITEMS
- images{
- image: "rss/folder_closed.png" COMP;
- image: "rss/folder_opened.png" COMP;
- image: "00_list_expandable_bg.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG_EXPANDABLE_IMAGE
- _RSS_FOLDER_PARTS_SWEEP_BASE
-
- BEAT_GENLIST_PART_BG
- BEAT_GENLIST_PART_SLIDABLE_BG_EXPANDABLE_IMAGE
- _RSS_FOLDER_PARTS_WITH_FAVORITE
- }
-
- _RSS_FOLDER_PROGRAMS
- }
-
- group {
- name: "elm/genlist/tree/rsstree/folder2_f_noshadow/default";
- alias: "elm/genlist/tree_odd/rsstree/folder2_f_noshadow/default";
- alias: "elm/genlist/item_compress/rsstree/folder2_f_noshadow/default";
- alias: "elm/genlist/item_compress_odd/rsstree/folder2_f_noshadow/default";
-
- _RSS_FOLDER_ITEMS
- images{
- image: "rss/folder_closed.png" COMP;
- image: "rss/folder_opened.png" COMP;
- image: "00_list_expandable_bg.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_RSS_PART_EXPANDABLE2_NOSHADOW_BASE( 90 )
- BEAT_GENLIST_PART_BG_IMAGE
- _RSS_FOLDER_PARTS_SWEEP_BASE
-
- BEAT_GENLIST_PART_BG_EXPANDABLE2_NOSHADOW
- BEAT_GENLIST_PART_SLIDABLE_BG_IMAGE
- _RSS_FOLDER_PARTS_WITH_FAVORITE
- }
-
- _RSS_FOLDER_PROGRAMS
- }
-
- group {
- name: "elm/genlist/tree/rsstree/folder_edit/default";
- alias: "elm/genlist/tree_odd/rsstree/folder_edit/default";
- alias: "elm/genlist/item_compress/rsstree/folder_edit/default";
- alias: "elm/genlist/item_compress_odd/rsstree/folder_edit/default";
-
- _RSS_EDIT_ITEMS
- images{
- image: "rss/folder_closed.png" COMP;
- image: "rss/folder_opened.png" COMP;
- image: "00_list_bar_press_1x80.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
-
- _RSS_FOLDER_EDIT_PARTS
- }
-
- _RSS_FOLDER_EDIT_PROGRAMS
- }
-
- group {
- name: "elm/genlist/tree/rsstree/folder2_edit/default";
- alias: "elm/genlist/tree_odd/rsstree/folder2_edit/default";
- alias: "elm/genlist/item_compress/rsstree/folder2_edit/default";
- alias: "elm/genlist/item_compress_odd/rsstree/folder2_edit/default";
-
- _RSS_EDIT_ITEMS
- images{
- image: "rss/folder_closed.png" COMP;
- image: "rss/folder_opened.png" COMP;
- image: "00_list_expandable_bg.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_EXPANDABLE_IMAGE
-
- _RSS_FOLDER_EDIT_PARTS
- }
-
- _RSS_FOLDER_EDIT_PROGRAMS
- }
-
- group {
- name: "elm/genlist/tree/rsstree/folder2_edit_noshadow/default";
- alias: "elm/genlist/tree_odd/rsstree/folder2_edit_noshadow/default";
- alias: "elm/genlist/item_compress/rsstree/folder2_edit_noshadow/default";
- alias: "elm/genlist/item_compress_odd/rsstree/folder2_edit_noshadow/default";
-
- _RSS_EDIT_ITEMS
- images{
- image: "rss/folder_closed.png" COMP;
- image: "rss/folder_opened.png" COMP;
- image: "00_list_expandable_bg.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_RSS_PART_EXPANDABLE2_NOSHADOW_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
-
- _RSS_FOLDER_EDIT_PARTS
- }
-
- _RSS_FOLDER_EDIT_PROGRAMS
- }
-
- group {
- name: "elm/genlist/tree/rsstree/folder_edit_with_check/default";
- alias: "elm/genlist/tree_odd/rsstree/folder_edit_with_check/default";
- alias: "elm/genlist/item_compress/rsstree/folder_edit_with_check/default";
- alias: "elm/genlist/item_compress_odd/rsstree/folder_edit_with_check/default";
-
- _RSS_EDIT_ITEMS_WITH_CHECK
- images{
- image: "rss/folder_closed.png" COMP;
- image: "rss/folder_opened.png" COMP;
- image: "00_list_bar_press_1x80.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
-
- _RSS_FOLDER_EDIT_PARTS_WITH_CHECK
- }
-
- _RSS_FOLDER_EDIT_PROGRAMS
- }
-
- group {
- name: "elm/genlist/tree/rsstree/folder2_edit_with_check/default";
- alias: "elm/genlist/tree_odd/rsstree/folder2_edit_with_check/default";
- alias: "elm/genlist/item_compress/rsstree/folder2_edit_with_check/default";
- alias: "elm/genlist/item_compress_odd/rsstree/folder2_edit_with_check/default";
-
- _RSS_EDIT_ITEMS_WITH_CHECK
- images{
- image: "rss/folder_closed.png" COMP;
- image: "rss/folder_opened.png" COMP;
- image: "00_list_expandable_bg.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_EXPANDABLE_IMAGE
-
- _RSS_FOLDER_EDIT_PARTS_WITH_CHECK
- }
-
- _RSS_FOLDER_EDIT_PROGRAMS
- }
-
- group {
- name: "elm/genlist/tree/rsstree/folder2_edit_noshadow_with_check/default";
- alias: "elm/genlist/tree_odd/rsstree/folder2_edit_noshadow_with_check/default";
- alias: "elm/genlist/item_compress/rsstree/folder2_edit_noshadow_with_check/default";
- alias: "elm/genlist/item_compress_odd/rsstree/folder2_edit_noshadow_with_check/default";
-
- _RSS_EDIT_ITEMS_WITH_CHECK
- images{
- image: "rss/folder_closed.png" COMP;
- image: "rss/folder_opened.png" COMP;
- image: "00_list_expandable_bg.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_RSS_PART_EXPANDABLE2_NOSHADOW_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
-
- _RSS_FOLDER_EDIT_PARTS_WITH_CHECK
- }
-
- _RSS_FOLDER_EDIT_PROGRAMS
- }
-
-
+++ /dev/null
- group { name: "elm/dialogueitem/base/icon_text_content_demo";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 80;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "left_padding1";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 10 0;
- max: 10 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel1.to_x: "icon";
- rel2.to_x: "icon";
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 10 0;
- max: 10 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding1";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
-
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- }
- part { name: "icon";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding";
- rel2.relative: 1.0 0.5;
- rel2.to_x: "left_padding";
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
- }
- }
-
- }
- }
-
- group { name: "elm/dialogueitem/base/list_on_off_demo";
- images{
- image: "00_list_on_arrow.png" COMP;
- image: "00_list_on_arrow_press.png" COMP;
- }
- script {
- public off_style = 0;
-
- public set_on_style() {
- set_int(off_style, 0);
- set_state(PART:"on_off_text", "default", 0.0);
- }
- public set_off_style() {
- set_int(off_style, 1);
- set_state(PART:"on_off_text", "off_style", 0.0);
- }
- public thumb_up() {
- if(get_int(off_style) == 1)
- set_state(PART:"on_off_text", "off_style", 0.0);
- else
- set_state(PART:"on_off_text", "default", 0.0);
- set_state(PART:"text", "default", 0.0);
- set_state(PART:"arrow_image", "default", 0.0);
- }
- }
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 80;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding1";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 10 0;
- max: 10 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel1.to_x: "icon";
- rel2.to_x: "icon";
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- color: 0 0 0 0;
- }
- }
- part { name: "text_icon_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- rel1.relative : 0.0 0.0;
- rel1.to_x : "arrow_image";
- rel2.relative : 0.0 1.0;
- rel2.to_x : "arrow_image";
- color: 0 0 0 0;
- }
- }
- part { name: "icon";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding";
- rel2.relative: 1.0 0.5;
- rel2.to_x: "left_padding";
- }
- }
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding1";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "on_off_text";
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
-
- part { name: "on_off_text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "text_icon_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "text_icon_padding";
- color: DIALOGUEGROUP_ITEM_ON_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 1 1;
- align: 1.0 0.5;
- }
- }
- description {
- state: "off_style" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_OFF_TEXT_COLOR_INC;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "arrow_image";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- min: 15 28;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
- image.normal: "00_list_on_arrow.png" ;
- image.border_scale: 1;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_list_on_arrow_press.png" ;
- image.border_scale: 1;
- }
- }
- part { name: "over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "on_style";
- signal: "elm,state,on,style";
- source: "elm";
- script {
- set_on_style();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,off,style";
- source: "elm";
- script {
- set_off_style();
- }
- }
- program {
- name: "mouse_down";
- signal: "mouse,down,1";
- source: "over";
- action: STATE_SET "pressed" 0.0;
- target: "text";
- target: "on_off_text";
- target: "arrow_image";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "over";
- script {
- thumb_up();
- }
- }
- }
- }
-
- group { name: "elm/dialogueitem/base/two_line_text_with_demo";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- min: 0 90;
- 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 50;
- 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 10;
- fixed: 1 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0;
- }
- }
- part { name: "left";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "left1";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 10 0;
- max: 10 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel1.to_x: "icon";
- rel2.to_x: "icon";
- }
- }
- part { name: "right";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "icon";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left";
- rel2.relative: 1.0 0.5;
- rel2.to_x: "left";
- }
- }
- part { name: "top.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left1";
- to_y: "top2";
- }
- rel2 {
- relative: 1.0 0.5;
- to_x: "arrow_image";
- }
- color: DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_SETTING_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "bottom.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left1";
- to_y: "top1";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "arrow_image";
- }
- color: DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_SETTING_INC;
- text {
- font: FONT_MED;
- size: 24;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "arrow_image";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- min: 15 28;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right";
- image.normal: "00_list_on_arrow.png" ;
- image.border_scale: 1;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_list_on_arrow_press.png" ;
- image.border_scale: 1;
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- repeat_events: 0;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right";
- }
- }
- part { name: "over";
- type: RECT;
- scale: 1;
- 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: "over";
- action: STATE_SET "pressed" 0.0;
- target: "top.text";
- target: "bottom.text";
- target: "arrow_image";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "over";
- action: STATE_SET "default" 0.0;
- target: "top.text";
- target: "bottom.text";
- target: "arrow_image";
- }
- }
- }
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define STYLE1_ICON_W 50
-#define STYLE1_ICON_H 50
-#define STYLE1_BADGE_W 34
-#define STYLE1_BADGE_H 34
-#define STYLE1_BADGE_BORDER 16
-#define STYLE1_BADGE_PADDING 8
-#define STYLE1_BADGE_OVER_X 8
-#define STYLE1_BADGE_OVER_Y -6
-
-#define STYLE2_ICON_W 50
-#define STYLE2_ICON_H 50
-#define STYLE2_BADGE_W 40
-#define STYLE2_BADGE_H 40
-#define STYLE2_BADGE_BORDER 19
-#define STYLE2_BADGE_PADDING 8
-#define STYLE2_BADGE_OVER_X 2
-#define STYLE2_BADGE_OVER_Y -8
-
-group
-{
- name: "elm/icon_badge/base/style1";
-
- images {
- image : "00_badge_34x34.png" COMP;
- }
-
- parts {
- part {
- name: "elm.icon";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- min: STYLE1_ICON_W STYLE1_ICON_H;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
-
- part {
- name: "elm.badge.bg";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to_x: "elm.badge.padding.left"; to_y: "elm.badge.text"; }
- rel2 { relative: 1.0 1.0; to_x: "elm.badge.padding.right"; to_y: "elm.badge.text"; }
- image.normal: "00_badge_34x34.png";
- image.border: STYLE1_BADGE_BORDER STYLE1_BADGE_BORDER STYLE1_BADGE_BORDER STYLE1_BADGE_BORDER;
- image.border_scale:1;
- }
- }
-
- part {
- name: "elm.badge.text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1 { relative: (STYLE1_ICON_W-STYLE1_BADGE_W+STYLE1_BADGE_OVER_X+STYLE1_BADGE_PADDING)/STYLE1_ICON_W (STYLE1_BADGE_OVER_Y)/STYLE1_ICON_H; to: "elm.icon"; }
- rel2 { relative: (STYLE1_ICON_W+STYLE1_BADGE_OVER_X-STYLE1_BADGE_PADDING)/STYLE1_ICON_W (STYLE1_BADGE_H+STYLE1_BADGE_OVER_Y)/STYLE1_ICON_H; to: "elm.icon"; }
- text {
- font: "SLP";
- size: 20;
- min: 1 1;
- align: 0.5 0.5;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "elm.badge.padding.left";
- type: RECT;
- scale : 1;
- description {
- state: "default" 0.0;
- min: STYLE1_BADGE_PADDING 0;
- fixed: 1 0;
- align: 1.0 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.badge.text"; }
- rel2 { relative: 0.0 1.0; to: "elm.badge.text"; }
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "elm.badge.padding.right";
- type: RECT;
- scale : 1;
- description {
- state: "default" 0.0;
- min: STYLE1_BADGE_PADDING 0;
- fixed: 1 0;
- align: 0.0 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.badge.text"; }
- rel2 { relative: 1.0 1.0; to: "elm.badge.text"; }
- color: 0 0 0 0;
- }
- }
- }
-}
-
-group
-{
- name: "elm/icon_badge/base/style2";
-
- images {
- image : "00_badge_40x40.png" COMP;
- }
-
- parts {
- part {
- name: "elm.icon";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- min: STYLE2_ICON_W STYLE2_ICON_H;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
-
- part {
- name: "elm.badge.bg";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to_x: "elm.badge.padding.left"; to_y: "elm.badge.text"; }
- rel2 { relative: 1.0 1.0; to_x: "elm.badge.padding.right"; to_y: "elm.badge.text"; }
- image.normal: "00_badge_40x40.png";
- image.border: STYLE2_BADGE_BORDER STYLE2_BADGE_BORDER STYLE2_BADGE_BORDER STYLE2_BADGE_BORDER;
- image.border_scale:1;
- }
- }
-
- part {
- name: "elm.badge.text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1 { relative: (STYLE2_ICON_W-STYLE2_BADGE_W+STYLE2_BADGE_OVER_X+STYLE2_BADGE_PADDING)/STYLE2_ICON_W (STYLE2_BADGE_OVER_Y)/STYLE2_ICON_H; to: "elm.icon"; }
- rel2 { relative: (STYLE2_ICON_W+STYLE2_BADGE_OVER_X-STYLE2_BADGE_PADDING)/STYLE2_ICON_W (STYLE2_BADGE_H+STYLE2_BADGE_OVER_Y)/STYLE2_ICON_H; to: "elm.icon"; }
- text {
- font: "SLP";
- size: 22;
- min: 1 1;
- align: 0.6 0.48;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "elm.badge.padding.left";
- type: RECT;
- scale : 1;
- description {
- state: "default" 0.0;
- min: STYLE2_BADGE_PADDING 0;
- fixed: 1 0;
- align: 1.0 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.badge.text"; }
- rel2 { relative: 0.0 1.0; to: "elm.badge.text"; }
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "elm.badge.padding.right";
- type: RECT;
- scale : 1;
- description {
- state: "default" 0.0;
- min: STYLE2_BADGE_PADDING 0;
- fixed: 1 0;
- align: 0.0 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.badge.text"; }
- rel2 { relative: 1.0 1.0; to: "elm.badge.text"; }
- color: 0 0 0 0;
- }
- }
- }
-}
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#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: "07_message_bubble_readmessage.png" COMP;
- image: "07_message_bubble_sentmessage.png" COMP;
-}
-
-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: "SLP:style=Roman";
- size: 14;
- min: 1 0;
- align: 0.0 0.5;
- }
- 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: "07_message_bubble_readmessage.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";
- }
- }
-}
-
-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: "SLP:style=Roman";
- size: 14;
- min: 1 0;
- align: 0.0 0.5;
- }
- 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: "07_message_bubble_sentmessage.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";
- }
- }
-}
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/text_only/style1";
- images {
- image: "00_button_01_normal.png" COMP;
- image: "00_button_01_press.png" COMP;
- image: "00_button_01_focus.png" COMP;
- image: "00_button_01_dim.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- image {
- normal: "00_button_01_normal.png";
- border: 7 7 7 7;
- 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_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: BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC;
- color2: BUTTON_TEXT_STYLE1_NORMAL_SHAWDOW_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- 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: BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC;
- color2: BUTTON_TEXT_STYLE1_PRESSED_SHAWDOW_COLOR_INC;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 87 87 87 255;
- color3: 0 0 0 0;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC;
- color2: BUTTON_TEXT_STYLE1_DISABLED_SHAWDOW_COLOR_INC;
- color3: 0 0 0 0;
- visible: 1;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC;
- color2: BUTTON_TEXT_STYLE1_FOCUSED_SHAWDOW_COLOR_INC;
- }
- }
- 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: "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_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/text_only/style2";
- images {
- image: "00_button_03_normal.png" COMP;
- image: "00_button_03_press.png" COMP;
- image: "00_button_03_focus.png" COMP;
- image: "00_button_03_dim.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- image {
- normal: "00_button_03_normal.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_dim.png";
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_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: BUTTON_TEXT_STYLE2_NORMAL_COLOR_INC;
- color2: BUTTON_TEXT_STYLE2_NORMAL_SHAWDOW_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- 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: BUTTON_TEXT_STYLE2_PRESSED_COLOR_INC;
- color2: BUTTON_TEXT_STYLE2_PRESSED_SHAWDOW_COLOR_INC;
- }
- 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: BUTTON_TEXT_STYLE2_DISABLED_COLOR_INC;
- color2: BUTTON_TEXT_STYLE2_DISABLED_SHAWDOW_COLOR_INC;
- color3: 0 0 0 0;
- visible: 1;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_TEXT_STYLE2_FOCUSED_COLOR_INC;
- color2: BUTTON_TEXT_STYLE2_FOCUSED_SHAWDOW_COLOR_INC;
- }
- }
- 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: "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_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/text_only/style3";
- images {
- image: "00_button_04_normal.png" COMP;
- image: "00_button_04_press.png" COMP;
- image: "00_button_04_focus.png" COMP;
- image: "00_button_04_dim.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 28 75;
- image {
- normal: "00_button_04_normal.png";
- border: 13 13 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_04_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_04_dim.png";
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_04_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 65;
- 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: 65 65;
- 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: BUTTON_TEXT_STYLE3_NORMAL_COLOR_INC;
- color2: BUTTON_TEXT_STYLE3_NORMAL_SHAWDOW_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 90 65;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_TEXT_STYLE3_PRESSED_COLOR_INC;
- color2: BUTTON_TEXT_STYLE3_PRESSED_SHAWDOW_COLOR_INC;
- }
- 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: BUTTON_TEXT_STYLE3_DISABLED_COLOR_INC;
- color2: BUTTON_TEXT_STYLE3_DISABLED_SHAWDOW_COLOR_INC;
- color3: 0 0 0 0;
- visible: 1;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_TEXT_STYLE3_FOCUSED_COLOR_INC;
- color2: BUTTON_TEXT_STYLE3_FOCUSED_SHAWDOW_COLOR_INC;
- }
- }
- 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: "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_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/text_only/sweep";
- images {
- image: "00_button_sweep.png" COMP;
- image: "00_button_sweep_press.png" COMP;//focus image is missing, so using press
- image: "00_button_sweep_dim.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 52;
- image {
- normal: "00_button_sweep.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_sweep_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_sweep_dim.png";
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_sweep_press.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 42;
- 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: 42 42;
- 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: BUTTON_SWEEP_BUTTON_TEXT_NORMAL_COLOR_INC;
- color2: BUTTON_SWEEP_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 90 42;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_SWEEP_BUTTON_TEXT_PRESSED_COLOR_INC;
- color2: BUTTON_SWEEP_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC;
- }
- 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: BUTTON_SWEEP_BUTTON_TEXT_DISABLED_COLOR_INC;
- color2: BUTTON_SWEEP_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC;
- color3: 0 0 0 0;
- visible: 1;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_COLOR_INC;
- color2: BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC;
- }
- }
- 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: "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_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";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
-//Button style added for 2 line sweep in the list
- group { name: "elm/button/base/text_only/sweep_46";
- images {
- image: "00_button_sweep_46.png" COMP;
- image: "00_button_sweep_46_press.png" COMP;
- image: "00_button_sweep_46_focus.png" COMP;
- image: "00_button_sweep_46_dim.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 46;
- image {
- normal: "00_button_sweep_46.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_sweep_46_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_sweep_46_dim.png";
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_sweep_46_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 36;
- 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: 36 36;
- 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: BUTTON_SWEEP_BUTTON_TEXT_NORMAL_COLOR_INC;
- color2: BUTTON_SWEEP_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 90 36;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_SWEEP_BUTTON_TEXT_PRESSED_COLOR_INC;
- color2: BUTTON_SWEEP_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC;
- }
- 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: BUTTON_SWEEP_BUTTON_TEXT_DISABLED_COLOR_INC;
- color2: BUTTON_SWEEP_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC;
- color3: 0 0 0 0;
- visible: 1;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_COLOR_INC;
- color2: BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC;
- }
- }
- 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: "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_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/text_only/title";
- 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: 1;
- 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;
- max: 1 0;
- align: 0.5 0.5;
- }
- }
- 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: "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_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/navigationbar_functionbutton/default";
- images {
- image: "00_button_02_normal.png" COMP;
- image: "00_button_02_press.png" COMP;
- image: "00_button_02_focus.png" COMP;
- image: "00_button_02_dim.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- 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;
- image.normal: "00_button_02_dim.png";
- }
- 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: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 1 0;
- align: 0.5 0.5;
- }
- }
- 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: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC;
- }
- 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: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_SHADOW_COLOR_INC;
- color3: 0 0 0 0;
- visible: 1;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC;
- }
- }
- 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: "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_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/navigationbar_functionbutton/title_ellipsize";
- alias: "elm/button/base/navigationbar_functionbutton/extended_fnbtn_top_style";
- alias: "elm/button/base/navigationbar_functionbutton/center_titleobj";
- alias: "elm/button/base/navigationbar_functionbutton/title_transparent_ellipsize";
- images {
- image: "00_button_02_normal.png" COMP;
- image: "00_button_02_press.png" COMP;
- image: "00_button_02_focus.png" COMP;
- image: "00_button_02_dim.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- 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;
- image.normal: "00_button_02_dim.png";
- }
- 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: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- }
- }
- 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: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC;
- }
- 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: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_SHADOW_COLOR_INC;
- color3: 0 0 0 0;
- visible: 1;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC;
- }
- }
- 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: "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_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/edit";
- alias: "elm/button/base/navigationbar_functionbutton/edit";
- images {
- image: "00_button_edit_normal.png" COMP;
- image: "00_button_edit_press.png" COMP;
- image: "00_button_edit_focus.png" COMP;
- image: "00_button_edit_dim.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- image {
- normal: "00_button_edit_normal.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_edit_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_edit_dim.png";
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_edit_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: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 1 0;
- align: 0.5 0.5;
- }
- }
- 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: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC;
- }
- 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: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_SHADOW_COLOR_INC;
- color3: 0 0 0 0;
- visible: 1;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC;
- }
- }
- 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: "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_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/popup_button/default";
- alias: "elm/button/base/popup_button/menustyle";
- alias: "elm/button/base/popup_button/liststyle";
- alias: "elm/button/base/popup_button/customstyle";
- alias: "elm/button/base/popup_button/volumebarstyle";
- alias: "elm/button/base/popup_button/char_wrap_style";
- images {
- image: "00_button_popup_normal.png" COMP;
- image: "00_button_popup_press.png" COMP;
- image: "00_button_popup_focus.png" COMP;
- image: "00_button_popup_dim.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 18 60;
- image {
- normal: "00_button_popup_normal.png";
- border: 8 8 8 8;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_popup_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_popup_dim.png";
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_popup_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: 60 60;
- 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: BUTTON_POPUP_BUTTON_TEXT_NORMAL_COLOR_INC;
- color2: BUTTON_POPUP_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 90 60;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_POPUP_BUTTON_TEXT_PRESSED_COLOR_INC;
- color2: BUTTON_POPUP_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC;
- }
- 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: BUTTON_POPUP_BUTTON_TEXT_DISABLED_COLOR_INC;
- color2: BUTTON_POPUP_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC;
- color3: 0 0 0 0;
- visible: 1;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_POPUP_BUTTON_TEXT_FOCUSED_COLOR_INC;
- color2: BUTTON_POPUP_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC;
- }
- }
- 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: "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_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/expand/opened";
- images {
- image: "00_button_expand_opened.png" COMP;
- image: "00_button_expand_opened_press.png" COMP;
- image: "00_button_expand_opened_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_expand_opened.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_opened_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_opened_dim.png";
- }
- }
- 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";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-
- group { name: "elm/button/base/expand/opened/extended";
- images {
- image: "00_button_expand_opened.png" COMP;
- image: "00_button_expand_opened_press.png" COMP;
- image: "00_button_expand_opened_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_expand_opened.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_opened_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_opened_dim.png";
- }
- }
- part { name: "over1";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- min: 60 75;
- max: 60 75;
- color: 0 0 0 0;
- }
- }
- part { name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/expand/closed";
- images {
- image: "00_button_expand_closed.png" COMP;
- image: "00_button_expand_closed_press.png" COMP;
- image: "00_button_expand_closed_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_expand_closed.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_closed_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_closed_dim.png";
- }
- }
- 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";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-
- group { name: "elm/button/base/expand/closed/extended";
- images {
- image: "00_button_expand_closed.png" COMP;
- image: "00_button_expand_closed_press.png" COMP;
- image: "00_button_expand_closed_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_expand_closed.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_closed_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_closed_dim.png";
- }
- }
- part { name: "over1";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- min: 60 75;
- max: 60 75;
- color: 0 0 0 0;
- }
- }
- part { name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/expand_2/opened";
- images {
- image: "00_button_expand_2_opened.png" COMP;
- image: "00_button_expand_2_opened_press.png" COMP;
- image: "00_button_expand_2_opened_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_expand_2_opened.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_opened_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_opened_dim.png";
- }
- }
- 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";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-
- group { name: "elm/button/base/expand_2/opened/extended";
- images {
- image: "00_button_expand_2_opened.png" COMP;
- image: "00_button_expand_2_opened_press.png" COMP;
- image: "00_button_expand_2_opened_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_expand_2_opened.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_opened_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_opened_dim.png";
- }
- }
- part { name: "over1";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- min: 60 75;
- max: 60 75;
- color: 0 0 0 0;
- }
- }
- part { name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/expand_2/closed";
- images {
- image: "00_button_expand_2_closed.png" COMP;
- image: "00_button_expand_2_closed_press.png" COMP;
- image: "00_button_expand_2_closed_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_expand_2_closed.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_closed_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_closed_dim.png";
- }
- }
- 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";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-
- group { name: "elm/button/base/expand_2/closed/extended";
- images {
- image: "00_button_expand_2_closed.png" COMP;
- image: "00_button_expand_2_closed_press.png" COMP;
- image: "00_button_expand_2_closed_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_expand_2_closed.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_closed_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_closed_dim.png";
- }
- }
- part { name: "over1";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- min: 60 75;
- max: 60 75;
- color: 0 0 0 0;
- }
- }
- part { name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/reveal";
- images {
- image: "00_button_reveal.png" COMP;
- image: "00_button_reveal_press.png" COMP;
- image: "00_button_reveal_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_reveal.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_reveal_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_reveal_dim.png";
- }
- }
- 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";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-
- group { name: "elm/button/base/reveal/extended";
- images {
- image: "00_button_reveal.png" COMP;
- image: "00_button_reveal_press.png" COMP;
- image: "00_button_reveal_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_reveal.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_reveal_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_reveal_dim.png";
- }
- }
- part { name: "over1";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- min: 60 75;
- max: 60 75;
- color: 0 0 0 0;
- }
- }
- part { name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-
- group { name: "elm/button/base/call/extended";
- images {
- image: "00_button_call.png" COMP;
- image: "00_button_call_press.png" COMP;
- image: "00_button_call_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_call.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_call_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_call_dim.png";
- }
- }
- part { name: "over1";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- min: 60 75;
- max: 60 75;
- color: 0 0 0 0;
- }
- }
- part { name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/add";
- images {
- image: "00_button_add.png" COMP;
- image: "00_button_add_press.png" COMP;
- image: "00_button_add_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_add.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_add_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_add_dim.png";
- }
- }
- 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";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-
- group { name: "elm/button/base/add/extended";
- images {
- image: "00_button_add.png" COMP;
- image: "00_button_add_press.png" COMP;
- image: "00_button_add_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_add.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_add_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_add_dim.png";
- }
- }
- part { name: "over1";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- min: 60 75;
- max: 60 75;
- color: 0 0 0 0;
- }
- }
- part { name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/rename";
- images {
- image: "00_button_rename.png" COMP;
- image: "00_button_rename_press.png" COMP;
- image: "00_button_rename_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_rename.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_rename_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_rename_dim.png";
- }
- }
- 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";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-
- group { name: "elm/button/base/rename/extended";
- images {
- image: "00_button_rename.png" COMP;
- image: "00_button_rename_press.png" COMP;
- image: "00_button_rename_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_rename.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_rename_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_rename_dim.png";
- }
- }
- part { name: "over1";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- min: 60 75;
- max: 60 75;
- color: 0 0 0 0;
- }
- }
- part { name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/warning";
- images {
- image: "00_button_warning.png" COMP;
- image: "00_button_warning_press.png" COMP;
- image: "00_button_warning_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_warning.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_warning_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_warning_dim.png";
- }
- }
- 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";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-
- group { name: "elm/button/base/warning/extended";
- images {
- image: "00_button_warning.png" COMP;
- image: "00_button_warning_press.png" COMP;
- image: "00_button_warning_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_warning.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_warning_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_warning_dim.png";
- }
- }
- part { name: "over1";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- min: 60 75;
- max: 60 75;
- color: 0 0 0 0;
- }
- }
- part { name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/info";
- images {
- image: "00_button_info.png" COMP;
- image: "00_button_info_press.png" COMP;
- image: "00_button_info_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_info.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_info_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_info_dim.png";
- }
- }
- 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";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-
- group { name: "elm/button/base/info/extended";
- images {
- image: "00_button_info.png" COMP;
- image: "00_button_info_press.png" COMP;
- image: "00_button_info_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_info.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_info_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_info_dim.png";
- }
- }
- part { name: "over1";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- min: 60 75;
- max: 60 75;
- color: 0 0 0 0;
- }
- }
- part { name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/call";
- images {
- image: "00_button_call.png" COMP;
- image: "00_button_call_press.png" COMP;
- image: "00_button_call_dim.png" COMP;
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 40 40;
- max: 40 40;
- image {
- normal: "00_button_call.png";
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_call_press.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_call_dim.png";
- }
- }
- 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";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- 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;
- 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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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";
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "button_image";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/text_only/multiline";
- alias: "elm/button/base/navigationbar_functionbutton/multiline_title_subtitle";
- images {
- image: "00_button_02_normal.png" COMP;
- image: "00_button_02_press.png" COMP;
- image: "00_button_02_focus.png" COMP;
- image: "00_button_02_dim.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- styles{
- style { name: "btn_back_navi_style";
- base: "font=SLP:style=Medium font_size=18 align=center color=#ffffff wrap=char";
- 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: 1;
- 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: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC;
- text {
- style: "btn_back_navi_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: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC;
- }
- 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: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_SHADOW_COLOR_INC;
- color3: 0 0 0 0;
- visible: 1;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_COLOR_INC;
- color2: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC;
- }
- }
- 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: "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_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/icon_only/default";
- images {
- image: "00_button_03_normal.png" COMP;
- image: "00_button_03_press.png" COMP;
- image: "00_button_03_focus.png" COMP;
- image: "00_button_03_dim.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- image {
- normal: "00_button_03_normal.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_dim.png";
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_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: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- max: 40 40;
- visible: 0;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- 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;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "over1";
- 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: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- rel1.to: "button_image";
- rel2.to: "button_image";
- color: 0 0 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- 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: "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";
- }
- 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";
- after: "button_mouseout_clicked";
- }
- program { name: "button_mouseout_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"button_image", st, 30, vl);
- if (!strcmp(st, "clicked"))
- set_state(PART:"button_image", "default", 0.0);
- }
- }
- program { name: "button_click2";
- signal: "mouse,down,1";
- source: "over2";
- action: STATE_SET "clicked" 0.0;
- target: "over2";
- }
- program { name: "button_unclick2";
- signal: "mouse,clicked,1";
- source: "over1";
- action: STATE_SET "default" 0.0;
- target: "over1";
- 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: "over1";
- target: "disabler";
- after : "state_set_disable";
- }
- program { name: "state_set_disable";
- script {
- 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: "disabler";
- after : "state_set_enable";
- }
- program { name: "state_set_enable";
- script {
- set_int(button_state, 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: "focused";
- //signal: "elm,action,focus";
- //source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "button_image";
- }
- program { name: "unfocused";
- //signal: "elm,action,unfocus";
- //source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/dark";
- alias: "elm/button/base/sound_dark";
- alias: "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
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- 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;
- }
- }
- 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: "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_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/default";
- images {
- image: "00_button_03_normal.png" COMP;
- image: "00_button_03_press.png" COMP;
- image: "00_button_03_focus.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- image {
- normal: "00_button_03_normal.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_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: 90 73 40 255;
- color2: 255 255 255 255;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- 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: "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_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/hidden";
- images {
- image: "00_button_03_normal.png" COMP;
- image: "00_button_03_press.png" COMP;
- image: "00_button_03_focus.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- image {
- normal: "00_button_03_normal.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_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: BUTTON_HIDDEN_BUTTON_TEXT_NORMAL_COLOR_INC;
- color2: BUTTON_HIDDEN_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- 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: BUTTON_HIDDEN_BUTTON_TEXT_PRESSED_COLOR_INC;
- color2: BUTTON_HIDDEN_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC;
- }
- 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: BUTTON_HIDDEN_BUTTON_TEXT_DISABLED_COLOR_INC;
- color2: BUTTON_HIDDEN_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC;
- color3: 0 0 0 0;
- visible: 1;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_HIDDEN_BUTTON_TEXT_FOCUSED_COLOR_INC;
- color2: BUTTON_HIDDEN_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC;
- }
- }
- 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: "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_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/popup/contact";
- images {
- image: "00_button_03_normal.png" COMP;
- image: "00_button_03_press.png" COMP;
- image: "00_button_03_focus.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- image {
- normal: "00_button_03_normal.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- // image.normal: "00_button_03_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.0 0.5;
- color: 90 73 40 255;
- color2: 255 255 255 255;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- 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: "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_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/calendarpicker/bar";
- images {
- image: "00_calend_picker_bar_button.png" COMP;
- image: "00_calend_picker_bar_button_press.png" COMP;
- image: "00_calend_picker_bar_button_press.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- image {
- normal: "00_calend_picker_bar_button.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_calend_picker_bar_button_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_calend_picker_bar_button_press.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;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 88 40;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: 255 255 255 255;
- color2: 0 0 0 0;
- }
- 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: "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_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/icon_and_text/center";
- images {
- image: "00_button_03_normal.png" COMP;
- image: "00_button_03_press.png" COMP;
- image: "00_button_03_focus.png" COMP;
- image: "00_button_03_dim.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- image {
- normal: "00_button_03_normal.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_dim.png";
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_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 0;
- fixed: 1 0;
- 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"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description { state: "visible" 0.0;
- visible: 1;
- min: 40 40;
- fixed: 1 0;
- 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;
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- 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 { relative: 1.0 1.0; to: "icon_rect"; }
- fixed: 1 0;
- min: 0 0;
- color: 0 255 0 100;
- }
- description { state: "visible" 0.0;
- visible: 1;
- 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;
- }
- 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_top"; }
- rel2 { relative: 0.0 0.0; to_x: "elm.text"; to_y: "padding_bottom"; }
- 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: 1.0 0.5;
- rel1 { relative: 0.0 1.0; to_x: "padding_before_text"; to_y: "padding_top"; }
- rel2 { relative: 0.0 0.0; to_x: "padding_before_text"; 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_after_icon"; to_y: "padding_top"; }
- rel2 { relative: 0.0 0.0; to_x: "padding_right"; to_y:"padding_bottom"; }
- align: 0.5 0.5;
- color: BUTTON_ICON_TEXT_NORMAL_COLOR_INC;
- color2: BUTTON_ICON_TEXT_NORMAL_SHAWDOW_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- 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: BUTTON_ICON_TEXT_PRESSED_COLOR_INC;
- color2: BUTTON_ICON_TEXT_PRESSED_SHAWDOW_COLOR_INC;
- }
- 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: BUTTON_ICON_TEXT_DISABLED_COLOR_INC;
- color2: BUTTON_ICON_TEXT_DISABLED_SHAWDOW_COLOR_INC;
- color3: 0 0 0 0;
- visible: 1;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_ICON_TEXT_FOCUSED_COLOR_INC;
- color2: BUTTON_ICON_TEXT_FOCUSED_SHAWDOW_COLOR_INC;
- }
- }
- 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: "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_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:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "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", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "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);
- }
- 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);
- }
- }
- }
- 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/text_only/contact";
- alias: "elm/button/base/haptic";
- images {
- image: "00_message_button_add_recipient.png" COMP;
- image: "00_message_button_add_recipient_press.png" COMP;
- image: "00_message_button_add_recipient_focus.png" COMP;
- image: "00_message_button_add_recipient_dim.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- 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;
- image.normal: "00_message_button_add_recipient_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_message_button_add_recipient_dim.png";
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_message_button_add_recipient_focus.png";
- }
- }
- 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: BUTTON_CONTACT_BUTTON_TEXT_NORMAL_COLOR_INC;
- color2: BUTTON_CONTACT_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 28;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- 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: BUTTON_CONTACT_BUTTON_TEXT_PRESSED_COLOR_INC;
- color2: BUTTON_CONTACT_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC;
- }
- 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: BUTTON_CONTACT_BUTTON_TEXT_DISABLED_COLOR_INC;
- color2: BUTTON_CONTACT_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC;
- 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: BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_COLOR_INC;
- color2: BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC;
- }
- }
- 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: "button_click_anim";
- }
- 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/text_only/more";
- images {
- image: "00_button_more.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- 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: 28 26;
- fixed: 1 1;
- image {
- normal: "00_button_more.png";
- border: 13 13 12 12;
- 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: BUTTON_MORE_BUTTON_TEXT_NORMAL_COLOR_INC;
- color2: BUTTON_MORE_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC;
- text {
- font: "SLP:style=Bold";
- size: 16;
- min: 1 1;
- max: 0 1;
- align: 0.5 0.5;
- }
- }
- 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;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 0 0 0 128;
- color2: 0 0 0 0;
- color3: 0 0 0 0;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 0 0 0 128;
- color2: 0 0 0 0;
- color3: 0 0 0 0;
- visible: 1;
- min: 1 1;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- }
- }
- part { name: "over1";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "button_image";
- rel2.to: "button_image";
- align: 0.5 0.5;
- fixed: 1 1;
- min: 28 40;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "button_image";
- rel2.to: "button_image";
- align: 0.5 0.5;
- fixed: 1 1;
- min: 28 40;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "over3";
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "button_image";
- rel2.to: "button_image";
- color: 255 255 255 0;
- fixed: 1 1;
- min: 28 40;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "button_image";
- rel2.to: "button_image";
- align: 0.5 0.5;
- fixed: 1 1;
- min: 28 40;
- 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_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/navigationbar_backbutton/default";
- images {
- image: "00_winset_btn_prev.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- }
- 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;
- 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: "btn_prev";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 1;
- min: 12 20;
- fixed: 1 1;
- rel1 { relative: 1.0 0.5; to_x: "padding_left"; }
- rel2 { relative: 1.0 0.5; to_x: "padding_left"; }
- align: 0.0 0.5;
- image.normal: "00_winset_btn_prev.png";
- }
- }
- part {
- name: "padding_btn_prev";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 0.0 0.5;
- rel1 { relative: 1.0 1.0; to_x: "btn_prev"; to_y: "padding_top"; }
- rel2 { relative: 1.0 0.0; to_x: "btn_prev"; to_y: "padding_bottom"; }
- fixed: 1 0;
- min: 5 5;
- 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_btn_prev"; to_y: "padding_top"; }
- rel2 {relative: 1.0 0.0; to_x: "padding_btn_prev"; 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_btn_prev"; to_y: "padding_top"; }
- rel2 {relative: 1.0 0.0; to_x: "padding_btn_prev"; 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_btn_prev"; 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.0 0.0;
- color: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_COLOR_INC;
- color2: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 1 0;
- align: 0.5 0.9;
- max: 1 0;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 107 40;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_COLOR_INC;
- color2: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC;
- }
- 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: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_COLOR_INC;
- color2: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC;
- }
- }
- 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;
- align: 0 0;
- rel2.to: "elm.text";
- }
- 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;
- rel2.to: "elm.text";
- align: 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;
- rel2.to: "elm.text";
- }
- 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";
- 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/navigationbar_backbutton/title_ellipsize";
- alias: "elm/button/base/navigationbar_backbutton/extended_fnbtn_top_style";
- alias: "elm/button/base/navigationbar_backbutton/center_titleobj";
- alias: "elm/button/base/navigationbar_backbutton/title_transparent_ellipsize";
- images {
- image: "00_winset_btn_prev.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- }
- 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;
- 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: "btn_prev";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 1;
- min: 12 20;
- fixed: 1 1;
- rel1 { relative: 1.0 0.5; to_x: "padding_left"; }
- rel2 { relative: 1.0 0.5; to_x: "padding_left"; }
- align: 0.0 0.5;
- image.normal: "00_winset_btn_prev.png";
- }
- }
- part {
- name: "padding_btn_prev";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 0.0 0.5;
- rel1 { relative: 1.0 1.0; to_x: "btn_prev"; to_y: "padding_top"; }
- rel2 { relative: 1.0 0.0; to_x: "btn_prev"; to_y: "padding_bottom"; }
- fixed: 1 0;
- min: 5 5;
- 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_btn_prev"; to_y: "padding_top"; }
- rel2 {relative: 1.0 0.0; to_x: "padding_btn_prev"; 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_btn_prev"; to_y: "padding_top"; }
- rel2 {relative: 1.0 0.0; to_x: "padding_btn_prev"; 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_btn_prev"; 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.0 0.0;
- color: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_COLOR_INC;
- color2: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.5 0.9;
- max: 1 0;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 107 40;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_COLOR_INC;
- color2: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC;
- }
- 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: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_COLOR_INC;
- color2: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC;
- }
- }
- 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;
- align: 0 0;
- rel2.to: "elm.text";
- }
- 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;
- rel2.to: "elm.text";
- align: 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;
- rel2.to: "elm.text";
- }
- 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";
- 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/navigationbar_backbutton/multiline_title_subtitle";
- images {
- image: "00_winset_btn_prev.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- }
- 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;
- 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: "btn_prev";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 1;
- min: 12 20;
- fixed: 1 1;
- rel1 { relative: 1.0 0.5; to_x: "padding_left"; }
- rel2 { relative: 1.0 0.5; to_x: "padding_left"; }
- align: 0.0 0.5;
- image.normal: "00_winset_btn_prev.png";
- }
- }
- part {
- name: "padding_btn_prev";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 0.0 0.5;
- rel1 { relative: 1.0 1.0; to_x: "btn_prev"; to_y: "padding_top"; }
- rel2 { relative: 1.0 0.0; to_x: "btn_prev"; to_y: "padding_bottom"; }
- fixed: 1 0;
- min: 5 5;
- 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_btn_prev"; to_y: "padding_top"; }
- rel2 {relative: 1.0 0.0; to_x: "padding_btn_prev"; 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_btn_prev"; to_y: "padding_top"; }
- rel2 {relative: 1.0 0.0; to_x: "padding_btn_prev"; 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_btn_prev"; 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: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_COLOR_INC;
- color2: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC;
- text {
- style: "btn_back_navi_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: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_COLOR_INC;
- color2: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC;
- }
- 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: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_COLOR_INC;
- color2: BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC;
- }
- }
- 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: "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_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";
- }
- }
- }
-/*
- Sound and Haptic
-*/
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/sound/default";
- images {
- image: "00_button_03_normal.png" COMP;
- image: "00_button_03_press.png" COMP;
- image: "00_button_03_focus.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- image {
- normal: "00_button_03_normal.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_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: 90 73 40 255;
- color2: 255 255 255 255;
- text {
- font: FONT_MED;
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- 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: "button_click_anim";
- //after:touch_sound ;
- }
- /*
- program { name: touch_sound;
- action: TOUCH_SOUND "button-pressed.wav" 2 ;
- }
- */
- 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/haptic/default";
- images {
- image: "00_button_03_normal.png" COMP;
- image: "00_button_03_press.png" COMP;
- image: "00_button_03_focus.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- image {
- normal: "00_button_03_normal.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_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: 90 73 40 255;
- color2: 255 255 255 255;
- text {
- font: FONT_MED;
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- 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: "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_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/sound_haptic/default";
- images {
- image: "00_button_03_normal.png" COMP;
- image: "00_button_03_press.png" COMP;
- image: "00_button_03_focus.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- image {
- normal: "00_button_03_normal.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_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: 90 73 40 255;
- color2: 255 255 255 255;
- text {
- font: FONT_MED;
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- 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: "button_click_anim";
- //after:touch_sound ;
- }
- /*
- program { name: touch_sound;
- action: TOUCH_SOUND "Waterdrop.wav" 2 ;
- }
- */
- 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/calendarpicker/prev";
- images {
- image: "00_calend_picker_bar_button.png" COMP;
- image: "00_calend_picker_bar_button_press.png" COMP;
- image: "00_calend_picker_btn_prev.png" COMP;
- image: "00_calend_picker_btn_prev_press.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 98 50;
- max: 98 50;
- image {
- normal: "00_calend_picker_bar_button.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_calend_picker_bar_button_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_calend_picker_bar_button_press.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: 10 14;
- 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: 2 14;
- 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: 2 14;
- 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: 2 14;
- fixed: 0 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "left_arrow";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 12 22;
- max: 12 22;
- align: 0.5 0.5;
- fixed: 1 0;
- 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"; }
- image.normal: "00_calend_picker_btn_prev.png";
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_calend_picker_btn_prev_press.png";
- }
- }
- 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: "left_arrow"; }
- rel2 { relative: 1.0 1.0; to: "left_arrow"; }
- fixed: 1 0;
- min: 2 0;
- color: 0 0 0 0;
- }
- }
- part { name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- 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"; }
- min: 74 50;
- max: 74 50;
- align: 0.5 0.5;
- color: 255 255 255 255;
- color2: 0 0 0 0;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 1 0;
- align: 0.5 0.5;
- max: 1 0;
- text: "Prev.";
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- color2: 0 0 0 0;
- }
- 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;
- }
- description { state: "focused" 0.0;
- inherit: "default" 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: "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 {
- set_state(PART:"elm.text", "clicked", 0.0);
- set_state(PART:"left_arrow", "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 {
- set_state(PART:"elm.text", "default", 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: "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 {
- 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 {
- 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 "default" 0.0;
- target: "elm.text";
- }
- }
- }
-
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/calendarpicker/next";
- images {
- image: "00_calend_picker_bar_button.png" COMP;
- image: "00_calend_picker_bar_button_press.png" COMP;
- image: "00_calend_picker_btn_next.png" COMP;
- image: "00_calend_picker_btn_next_press.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 98 50;
- max: 98 50;
- image {
- normal: "00_calend_picker_bar_button.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_calend_picker_bar_button_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_calend_picker_bar_button_press.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: 2 14;
- 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: 10 14;
- 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: 2 14;
- 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: 2 14;
- fixed: 0 1;
- color: 0 0 0 0;
- }
- }
- part { name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- 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"; }
- fixed: 1 0;
- color: 255 255 255 255;
- min: 74 22;
- color2: 0 0 0 0;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 1 0;
- align: 0.5 0.5;
- max: 1 0;
- text: "Next";
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- color2: 0 0 0 0;
- }
- 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;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- min: 0 0;
- color: 255 255 255 255;
- color2: 0 0 0 102;
- }
- }
- 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: "elm.text"; }
- rel2 { relative: 1.0 1.0; to: "elm.text"; }
- fixed: 1 0;
- min: 5 0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "right_arrow";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 12 22;
- max: 12 22;
- align: 0.5 0.5;
- fixed: 1 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"; }
- image.normal: "00_calend_picker_btn_next.png";
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_calend_picker_btn_next_press.png";
- }
- }
-
- 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: "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 {
- set_state(PART:"elm.text", "clicked", 0.0);
- set_state(PART:"right_arrow", "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 {
- set_state(PART:"elm.text", "default", 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: "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 {
- 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 {
- 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 "default" 0.0;
- target: "elm.text";
- }
- }
- }
-
-//###############################################
-// Nocontents Search Button Styles //
-//###############################################
-
- group { name: "elm/button/base/nocontents/search_button";
- images {
- image: "00_button_03_normal.png" COMP;
- image: "00_button_03_press.png" COMP;
- image: "00_button_03_focus.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 16 50;
- image {
- normal: "00_button_03_normal.png";
- border: 7 7 7 7;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_03_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 0;
- fixed: 1 0;
- 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"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description { state: "visible" 0.0;
- visible: 1;
- min: 40 40;
- fixed: 1 0;
- 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;
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- 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 { relative: 1.0 1.0; to: "icon_rect"; }
- fixed: 1 0;
- min: 0 0;
- color: 0 255 0 100;
- }
- description { state: "visible" 0.0;
- visible: 1;
- 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: 12 0;
- max: 12 0;
- color: 0 0 0 255;
- }
- 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_top"; }
- rel2 { relative: 0.0 0.0; to_x: "elm.text"; to_y: "padding_bottom"; }
- fixed: 1 0;
- min: 12 0;
- max: 12 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: 1.0 0.5;
- rel1 { relative: 0.0 1.0; to_x: "padding_before_text"; to_y: "padding_top"; }
- rel2 { relative: 0.0 0.0; to_x: "padding_before_text"; 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_after_icon"; to_y: "padding_top"; }
- rel2 { relative: 0.0 0.0; to_x: "padding_right"; to_y:"padding_bottom"; }
- align: 0.5 0.5;
- color: 51 102 255 255;
- color2: 255 255 255 255;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- 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: "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_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:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "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", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "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);
- }
- 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);
- }
- }
- }
- 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";
- }
- }
- }
-
-
-
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define CH(_pos) \
- part { name: "ch_"#_pos".base"; \
- type: RECT; \
- scale: 1;\
- description { state: "default" 0.0; \
- rel1 { \
- relative: (_pos % 7 / 7) 0; \
- to: "header"; \
- } \
- rel2 { \
- relative: (_pos % 7 / 7 + 1 / 7) 1; \
- to: "header"; \
- } \
- color: 0 0 0 0; \
- visible: 0; \
- } \
- } \
- part { name: "ch_"#_pos".text"; \
- type: TEXT; \
- mouse_events: 0; \
- scale: 1; \
- clip_to: "ch_"#_pos".clipper"; \
- description { \
- state: "default" 0.0; \
- rel1.to: "ch_"#_pos".base"; \
- rel2.to: "ch_"#_pos".base"; \
- color: 102 102 102 255; \
- text { \
- font: "SLP:style=Roman"; \
- size: 15; \
- min: 1 1; \
- align: 0.5 0.5; \
- } \
- } \
- } \
- part { name: "ch_"#_pos".clipper"; \
- type: RECT; \
- scale: 1; \
- description { state: "default" 0.0; \
- rel1.to: "ch_"#_pos".base"; \
- rel2.to: "ch_"#_pos".base"; \
- } \
- }
-
-#define CIT(_pos) \
- part { name: "cit_"#_pos".rect"; \
- type: RECT; \
- scale: 1;\
- description { state: "default" 0.0; \
- rel1 { \
- relative: (_pos % 7 / 7) \
- (_pos / 7 / 6 - _pos % 7 / 7 / 6); \
- to: "base"; \
- } \
- rel2 { \
- relative: (_pos % 7 / 7 + 1 / 7) \
- (_pos / 7 / 6 - _pos % 7 / 7 / 6 + 1 / 6); \
- to: "base"; \
- offset: 0 0; \
- } \
- color: 44 39 36 255; \
- visible: 1; \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- color: 242 143 7 255; \
- } \
- description { state: "expand" 0.0; \
- inherit: "default" 0.0; \
- rel1 { \
- relative: (_pos % 7 / 7) \
- (_pos / 7 / 5 - _pos % 7 / 7 / 5); \
- to: "base"; \
- } \
- rel2 { \
- relative: (_pos % 7 / 7 + 1 / 7) \
- (_pos / 7 / 5 - _pos % 7 / 7 / 5 + 1 / 5); \
- to: "base"; \
- offset: 0 0; \
- } \
- } \
- description { state: "invisible" 0.0; \
- inherit: "default" 0.0; \
- min: 0 0; \
- max: 0 0; \
- } \
- description { state: "today_normal" 0.0; \
- inherit: "default" 0.0; \
- color: 242 143 147 255; \
- } \
- description { state: "today_expand" 0.0; \
- inherit: "expand" 0.0; \
- color: 242 143 147 255; \
- } \
- } \
- part { \
- name: "cit_"#_pos".event"; \
- type: RECT; \
- scale: 1;\
- repeat_events: 1; \
- description { \
- rel1.to: "cit_"#_pos".rect"; \
- rel2.to: "cit_"#_pos".rect"; \
- state: "default" 0.0; \
- color: 0 0 0 0; \
- } \
- } \
- part { \
- name: "cit_"#_pos".bg"; \
- mouse_events: 0; \
- scale: 1;\
- description { state: "default" 0.0; \
- visible: 0; \
- color: 255 255 255 0; \
- rel1 { \
- to: "cit_"#_pos".rect"; \
- relative: 0.0 0.0; \
- } \
- rel2 { \
- to: "cit_"#_pos".rect"; \
- relative: 1.0 1.0; \
- } \
- image { \
- normal: "00_calend_picker_day_press.png"; \
- } \
- image.middle: SOLID; \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- visible: 1; \
- color: 255 255 255 255; \
- } \
- } \
- part { name: "cit_"#_pos".text"; \
- type: TEXT; \
- mouse_events: 0; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- rel1.to: "cit_"#_pos".rect"; \
- rel2.to: "cit_"#_pos".rect"; \
- color: 255 255 255 255; \
- text { \
- font: "SLP:style=Medium"; \
- size: 20; \
- min: 1 1; \
- align: 0.5 0.5; \
- } \
- } \
- description { state: "saturday" 0.0; \
- inherit: "default" 0.0; \
- color: 47 120 220 255; \
- } \
- description { state: "sunday" 0.0; \
- inherit: "default" 0.0; \
- color: 226 20 20 255; \
- } \
- } \
- part { name: "cit_"#_pos".check"; \
- mouse_events: 0; \
- scale: 1;\
- description { state: "default" 0.0; \
- rel1 { \
- to: "cit_"#_pos".rect"; \
- relative: 0.7 0.6; \
- offset: 1 1; \
- } \
- rel2 { \
- to: "cit_"#_pos".rect"; \
- relative: 1.1 1.2; \
- offset: -2 -2; \
- } \
- aspect: 1 1; \
- visible: 0; \
- color: 255 0 0 255; \
- image.normal: "check.png"; \
- } \
- description { state: "visible" 0.0; \
- inherit: "default" 0.0; \
- visible: 1; \
- } \
- } \
- programs { \
- program { \
- name: "cit_"#_pos".go_active"; \
- signal: "cit_"#_pos",selected"; \
- source: "elm"; \
- action: STATE_SET "selected" 0.0; \
- target: "cit_"#_pos".bg"; \
- } \
- program { \
- name: "cit_"#_pos".go_passive"; \
- signal: "cit_"#_pos",unselected"; \
- source: "elm"; \
- action: STATE_SET "default" 0.0; \
- target: "cit_"#_pos".bg"; \
- } \
- program { \
- name: "cit_"#_pos".weekday"; \
- signal: "cit_"#_pos",weekday"; \
- source: "elm"; \
- action: STATE_SET "default" 0.0; \
- target: "cit_"#_pos".text"; \
- } \
- program { \
- name: "cit_"#_pos".saturday"; \
- signal: "cit_"#_pos",saturday"; \
- source: "elm"; \
- action: STATE_SET "saturday" 0.0; \
- target: "cit_"#_pos".text"; \
- } \
- program { \
- name: "cit_"#_pos".sunday"; \
- signal: "cit_"#_pos",sunday"; \
- source: "elm"; \
- action: STATE_SET "sunday" 0.0; \
- target: "cit_"#_pos".text"; \
- } \
- program { \
- name: "cit_"#_pos".is_today"; \
- signal: "cit_"#_pos",today"; \
- source: "elm"; \
- script { \
- new st[31]; \
- new Float:vl; \
- get_state(PART:"cit_"#_pos".rect", st, 30, vl); \
- if (!strcmp(st, "expand")) \
- { \
- set_state(PART:"cit_"#_pos".rect", "today_expand", 0.0); \
- } \
- else \
- { \
- set_state(PART:"cit_"#_pos".rect", "today_normal", 0.0); \
- } \
- } \
- } \
- program { \
- name: "cit_"#_pos".not_today"; \
- signal: "cit_"#_pos",not_today"; \
- source: "elm"; \
- action: STATE_SET "default" 0.0; \
- target: "cit_"#_pos".rect"; \
- } \
- program { \
- source: "cit_"#_pos".clicked"; \
- signal: "mouse,clicked,1"; \
- source: "cit_"#_pos".event"; \
- action: SIGNAL_EMIT "elm,action,selected" #_pos; \
- } \
- program { \
- name: "cit_"#_pos".clear"; \
- signal: "cit_"#_pos",clear"; \
- source: "elm"; \
- action: STATE_SET "default" 0.0; \
- target: "cit_"#_pos".check"; \
- } \
- program { \
- name: "cit_"#_pos".checked"; \
- signal: "cit_"#_pos",checked"; \
- source: "elm"; \
- action: STATE_SET "visible" 0.0; \
- target: "cit_"#_pos".check"; \
- } \
- program { \
- name: "cit_"#_pos".go_expanded"; \
- signal: "cit_"#_pos",cell_expanded"; \
- source: "elm"; \
- action: STATE_SET "expand" 0.0; \
- target: "cit_"#_pos".rect"; \
- } \
- program { \
- name: "cit_"#_pos".go_default"; \
- signal: "cit_"#_pos",cell_default"; \
- source: "elm"; \
- action: STATE_SET "default" 0.0; \
- target: "cit_"#_pos".rect"; \
- } \
- program { \
- name: "cit_"#_pos".go_invisible"; \
- signal: "cit_"#_pos",cell_invisible"; \
- source: "elm"; \
- action: STATE_SET "invisible" 0.0; \
- target: "cit_"#_pos".rect"; \
- } \
- }
-
-#define CSEPV(_pos) \
- part { name: "csep_"#_pos".vertical"; \
- type: RECT; \
- scale: 1;\
- description { state: "default" 0.0; \
- rel1 { \
- relative: (_pos / 7) 0; \
- to: "base"; \
- } \
- rel2 { \
- relative: (_pos / 7) 1; \
- to: "base"; \
- offset: 1 0; \
- } \
- color: 64 64 64 255; \
- visible: 1; \
- } \
- }
-
-#define CSEPH(_pos) \
- part { name: "csep_"#_pos".horizontal"; \
- type: RECT; \
- scale: 1;\
- description { state: "default" 0.0; \
- rel1 { \
- relative: 0 (_pos / 6); \
- to: "base"; \
- } \
- rel2 { \
- relative: 1 (_pos / 6); \
- to: "base"; \
- offset: 0 1; \
- } \
- color: 64 64 64 255; \
- visible: 1; \
- } \
- description { state: "expand" 0.0; \
- rel1 { \
- relative: 0 (_pos / 5); \
- to: "base"; \
- } \
- rel2 { \
- relative: 1 (_pos / 5); \
- to: "base"; \
- offset: 0 1; \
- } \
- color: 64 64 64 255; \
- visible: 1; \
- } \
- description { state: "invisible" 0.0; \
- color: 64 64 64 0; \
- visible: 0; \
- } \
- } \
- programs { \
- program { \
- name: "cseph_"_pos".go_show"; \
- signal: "cseph_"#_pos",row_show"; \
- source: "elm"; \
- action: STATE_SET "default" 0.0; \
- target: "csep_"#_pos".horizontal"; \
- } \
- program { \
- name: "cseph_"_pos".go_hide"; \
- signal: "cseph_"#_pos",row_hide"; \
- source: "elm"; \
- action: STATE_SET "expand" 0.0; \
- target: "csep_"#_pos".horizontal"; \
- } \
- program { \
- name: "cseph_"_pos".go_invisible"; \
- signal: "cseph_"#_pos",row_invisible"; \
- source: "elm"; \
- action: STATE_SET "invisible" 0.0; \
- target: "csep_"#_pos".horizontal"; \
- } \
- }
-
- group { name: "elm/calendar/base/default";
- images {
- image: "bt_sm_base1.png" COMP;
- image: "bt_sm_shine.png" COMP;
- image: "bt_sm_hilight.png" COMP;
- image: "check.png" COMP;
- image: "00_calend_picker_btn_left.png" COMP;
- image: "00_calend_picker_btn_left_press.png" COMP;
- image: "00_calend_picker_btn_right.png" COMP;
- image: "00_calend_picker_btn_right_press.png" COMP;
- image: "00_calend_picker_day_press.png" COMP;
- }
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- //rel1.offset: 1 1;
- //rel2.offset: -2 -2;
- color: 44 39 36 255;
- align: 0.0 0.5;
- }
- }
- part { name: "spinner-base";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 24 50;
- max: 999999 50;
- rel1.to: "bg";
- rel1.offset: 5 9;
- rel2.to: "bg";
- rel2.offset: -5 -9;
- color: 44 39 36 255;
- align: 0.0 0.0;
- }
- }
- part { name: "table-base";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 256 220;
- rel1.to_x: "bg";
- rel1.to_y: "spinner-base";
- rel1.offset: 6 0;
- rel1.relative: 0 1;
- rel2.to: "bg";
- rel2.offset: -6 -3;
- color: 44 39 36 255;
- }
- }
- part { name: "header";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "table-base";
- rel1.relative: 0 0;
- rel2.to: "table-base";
- rel2.relative: 1 0.1;
- color: 44 39 36 255;
- }
- }
- part { name: "sep_header";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "header";
- rel1.relative: 0 1;
- rel2.to: "header";
- rel2.relative: 1 1;
- rel2.offset: 0 2;
- color: 102 102 102 255;
- }
- }
- part { name: "base";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to_x: "table-base";
- rel1.to_y: "sep_header";
- rel1.relative: 0 1;
- rel1.offset: 3 0;
- rel2.to: "table-base";
- rel2.relative: 1 1;
- rel2.offset: -3 -5;
- color: 202 2 2 0;
- }
- }
- part { name: "sep_vertical1";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel1.relative: 1/7 0;
- rel2.to: "base";
- rel2.relative: 1/7 1;
- rel2.offset: 1 0;
- color: 102 102 102 255;
- }
- }
- part { name: "left_bt";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel1 { to: "spinner-base";
- offset: 0 0;
- }
- rel2 { to: "spinner-base";
- offset: 0 0;
- }
- align: 0.0 0.5;
- min: 46 48;
- max: 46 48;
- fixed: 1 1;
- image {
- normal: "00_calend_picker_btn_left.png";
- }
- fill.smooth : 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_calend_picker_btn_left_press.png";
- }
- }
- part { name: "right_bt";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel1 { to: "spinner-base";
- offset: 0 0;
- }
- rel2 { to: "spinner-base";
- offset: 0 0;
- }
- align: 1.0 0.5;
- min: 46 48;
- max: 46 48;
- fixed: 1 1;
- image {
- normal: "00_calend_picker_btn_right.png";
- }
- fill.smooth : 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_calend_picker_btn_right_press.png";
- }
- }
- part { name: "month_text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- align: 0 0.5;
- fixed: 1 1;
- rel1 { relative: 1.0 0.0;
- offset: 3 2;
- to: "left_bt";
- to_y: "spinner-base";
- }
- rel2 { relative: 0.0 1.0;
- offset: -3 -2;
- to_x: "right_bt";
- to_y: "spinner-base";
- }
- color: 255 255 255 255;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- }
- CH(0) CH(1) CH(2) CH(3) CH(4) CH(5) CH(6)
- CIT(0) CIT(1) CIT(2) CIT(3) CIT(4) CIT(5) CIT(6)
- CIT(7) CIT(8) CIT(9) CIT(10) CIT(11) CIT(12) CIT(13)
- CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
- CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
- CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
- CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
- CSEPV(1) CSEPV(2) CSEPV(3) CSEPV(4) CSEPV(5) CSEPV(6)
- CSEPH(1) CSEPH(2) CSEPH(3) CSEPH(4) CSEPH(5) CSEPH(6)
- }
- programs {
- program { name: "dec_start";
- signal: "mouse,down,1";
- source: "left_bt";
- action: SIGNAL_EMIT "elm,action,decrement,start" "";
- }
- program { name: "dec_stop";
- signal: "mouse,up,1";
- source: "left_bt";
- action: SIGNAL_EMIT "elm,action,stop" "";
- }
- program { name: "inc_start";
- signal: "mouse,down,1";
- source: "right_bt";
- action: SIGNAL_EMIT "elm,action,increment,start" "";
- }
- program { name: "inc_stop";
- signal: "mouse,up,1";
- source: "right_bt";
- action: SIGNAL_EMIT "elm,action,stop" "";
- }
- program {
- name: "left_bt_click";
- signal: "mouse,down,1";
- source: "left_bt";
- action: STATE_SET "clicked" 0.0;
- target: "left_bt";
- }
- program {
- name: "left_bt_unclick";
- signal: "mouse,up,1";
- source: "left_bt";
- action: STATE_SET "default" 0.0;
- target: "left_bt";
- }
- program {
- name: "right_bt_click";
- signal: "mouse,down,1";
- source: "right_bt";
- action: STATE_SET "clicked" 0.0;
- target: "right_bt";
- }
- program {
- name: "right_bt_unclick";
- signal: "mouse,up,1";
- source: "right_bt";
- action: STATE_SET "default" 0.0;
- target: "right_bt";
- }
- }
- }
-
-#undef CIT
-#undef CH
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
- styles {
- style { name: "check_label_textblock_disabled_style";
- base: "font=SLP:style=Roman _ font_size=32 color=#888888 color3=#000000 wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
- }
- group { name: "elm/check/base/default";
- images {
- image: "00_check_bg.png" COMP;
- image: "00_check_bg_press.png" COMP;
- image: "00_check_bg_dim.png" COMP;
- image: "00_check_checking.png" COMP;
- image: "00_check_checking_dim.png" COMP;
- }
- script {
- public check_state = 0; //0:default, 1: visible, 2: disabled_visible
- }
- parts {
- part { name: "bg";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- min: 44 44;
- max: 44 44;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- visible: 1;
- image {
- normal: "00_check_bg.png";
- }
- fill.smooth : 0;
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_check_bg_press.png";
- }
- fill.smooth : 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_check_bg_dim.png";
- }
- fill.smooth : 0;
- }
- }
- part { name: "check";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- visible: 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "00_check_checking.png";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "00_check_checking.png";
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_check_checking_dim.png";
- visible: 1;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1.to_x: "bg";
- rel1.relative: 1.0 0.0;
- rel1.offset: 1 1;
- rel2.to_x: "bg";
- rel2.relative: 1.0 1.0;
- rel2.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;
- color: 128 128 128 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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_disabled_style";
- 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;
- }
- }
- }
- programs {
- program { name: "click";
- signal: "mouse,clicked,1";
- source: "events1";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- program { name: "bg_normal";
- signal: "mouse,up,1";
- source: "events2";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"check", "visible", 0.0);
- set_state(PART:"bg", "default", 0.0);
- }
- }
- program { name: "pressed";
- signal: "mouse,down,1";
- source: "events2";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"check", "pressed", 0.0);
-
- set_state(PART:"bg", "pressed", 0.0);
- }
- }
- program { name: "check_on";
- signal: "elm,state,check,on";
- source: "elm";
- script {
- set_int(check_state, 1);
- if(get_int(check_state) == 1)
- 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) == 1)
- {
- set_int(check_state, 0);
- 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: "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, 2);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- 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, 1);
- }
- else
- set_int(check_state, 0);
- }
- }
- }
- }
-
- group { name: "elm/check/base/default/extended";
- images {
- image: "00_check_bg.png" COMP;
- image: "00_check_bg_press.png" COMP;
- image: "00_check_bg_dim.png" COMP;
- image: "00_check_checking.png" COMP;
- image: "00_check_checking_dim.png" COMP;
- }
- script {
- public check_state = 0; //0:default, 1: visible, 2: disabled_visible
- }
- parts {
- part { name: "back_bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel2.relative: 0.0 1.0;
- align: 0 0.5;
- min: 60 75;
- fixed: 1 0;
- visible: 1;
- color: 0 0 0 0;
- }
- }
- part { name: "bg";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 44 44;
- max: 44 44;
- fixed: 1 1;
- rel1{ to: "back_bg"; }
- rel2{ to: "back_bg"; }
- align: 0.5 0.5;
- visible: 1;
- image {
- normal: "00_check_bg.png";
- }
- fill.smooth : 0;
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_check_bg_press.png";
- }
- fill.smooth : 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_check_bg_dim.png";
- }
- fill.smooth : 0;
- }
- }
- part { name: "check";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- visible: 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "00_check_checking.png";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "00_check_checking.png";
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_check_checking_dim.png";
- visible: 1;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1.to_x: "bg";
- rel1.relative: 1.0 0.0;
- rel1.offset: 1 1;
- rel2.to_x: "bg";
- rel2.relative: 1.0 1.0;
- rel2.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;
- color: 128 128 128 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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_disabled_style";
- 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;
- }
- }
- }
- programs {
- program { name: "click";
- signal: "mouse,clicked,1";
- source: "events1";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- program { name: "bg_normal";
- signal: "mouse,up,1";
- source: "events2";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"check", "visible", 0.0);
- set_state(PART:"bg", "default", 0.0);
- }
- }
- program { name: "pressed";
- signal: "mouse,down,1";
- source: "events2";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"check", "pressed", 0.0);
-
- set_state(PART:"bg", "pressed", 0.0);
- }
- }
- program { name: "check_on";
- signal: "elm,state,check,on";
- source: "elm";
- script {
- set_int(check_state, 1);
- if(get_int(check_state) == 1)
- 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) == 1)
- {
- set_int(check_state, 0);
- 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: "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, 2);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- 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, 1);
- }
- else
- set_int(check_state, 0);
- }
- }
- }
- }
-////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/check/base/multicheck";
- images {
- image: "00_check_bg.png" COMP;
- image: "00_check_bg_press.png" COMP;
- image: "00_check_bg_dim.png" COMP;
- image: "multicheck_0001.png" COMP;
- image: "multicheck_0002.png" COMP;
- image: "multicheck_0003.png" COMP;
- image: "multicheck_0004.png" COMP;
- image: "multicheck_0005.png" COMP;
- image: "multicheck_0006.png" COMP;
- //image: "00_check_checked.png" COMP;
- //image: "00_check_checking.png" COMP;
- image: "00_check_checking_dim.png" COMP;
- }
- script {
- public check_state = 0; //0:default, 1: visible, 2: disabled_visible
- }
- parts {
- part { name: "bg";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- min: 44 44;
- max: 44 44;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- visible: 1;
- image {
- normal: "00_check_bg.png";
- }
- fill.smooth : 0;
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_check_bg_press.png";
- }
- fill.smooth : 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_check_bg_dim.png";
- }
- fill.smooth : 0;
- }
- }
- part { name: "check";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- visible: 0;
- }
- description { state: "visible_1" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "multicheck_0001.png";
- }
- description { state: "visible_2" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "multicheck_0002.png";
- }
- description { state: "visible_3" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "multicheck_0003.png";
- }
- description { state: "visible_4" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "multicheck_0004.png";
- }
- description { state: "visible_5" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "multicheck_0005.png";
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "multicheck_0006.png";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "multicheck_0006.png";
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_check_checking_dim.png";
- visible: 1;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1.to_x: "bg";
- rel1.relative: 1.0 0.0;
- rel1.offset: 1 1;
- rel2.to_x: "bg";
- rel2.relative: 1.0 1.0;
- rel2.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;
- color: 128 128 128 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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_disabled_style";
- 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;
- }
- }
- }
- programs {
- program { name: "click";
- signal: "mouse,clicked,1";
- source: "events1";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- program { name: "bg_normal";
- signal: "mouse,up,1";
- source: "events2";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"check", "visible", 0.0);
- set_state(PART:"bg", "default", 0.0);
- }
- }
- program { name: "pressed";
- signal: "mouse,down,1";
- source: "events2";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"check", "pressed", 0.0);
-
- set_state(PART:"bg", "pressed", 0.0);
- }
- }
- program { name: "check_on";
- signal: "elm,state,check,on";
- source: "elm";
- script {
- set_int(check_state, 1);
- }
- after: "check_on_1";
- }
- program { name: "check_on_1";
- in: 0.05 0.0;
- script {
- if(get_int(check_state) == 1)
- set_state(PART:"check", "visible_1", 0.0);
- }
- after: "check_on_2";
- }
- program { name: "check_on_2";
- in: 0.05 0.0;
- script {
- if(get_int(check_state) == 1)
- set_state(PART:"check", "visible_2", 0.0);
- }
- after: "check_on_3";
- }
- program { name: "check_on_3";
- in: 0.05 0.0;
- script {
- if(get_int(check_state) == 1)
- set_state(PART:"check", "visible_3", 0.0);
- }
- after: "check_on_4";
- }
- program { name: "check_on_4";
- in: 0.05 0.0;
- script {
- if(get_int(check_state) == 1)
- set_state(PART:"check", "visible_4", 0.0);
- }
- after: "check_on_5";
- }
- program { name: "check_on_5";
- in: 0.05 0.0;
- script {
- if(get_int(check_state) == 1)
- set_state(PART:"check", "visible_5", 0.0);
- }
- after: "check_on_6";
- }
- program { name: "check_on_6";
- in: 0.05 0.0;
- script {
- if(get_int(check_state) == 1)
- 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) == 1)
- {
- set_int(check_state, 0);
- 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: "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, 2);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- 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, 1);
- }
- else
- set_int(check_state, 0);
- }
- }
- }
- }
-
-////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/check/base/on&off";
- images {
- image: "00_check_off.png" COMP;
- image: "00_check_off_press.png" COMP;
- image: "00_check_on.png" COMP;
- image: "00_check_on_press.png" COMP;
- }
- parts {
- part {
- name: "bg";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description { state: "default" 0.0;
- rel2.relative: 0.0 1.0;
- fixed: 1 0;
- align: 0.0 0.5;
- min: 122 32;
- max: 122 32;
- color: 0 0 0 0;
- }
- }
- part { name: "check";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- visible: 1;
- image {
- normal: "00_check_off.png";
- border: 16 12 14 14;
- middle: 1;
- border_scale: 1;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_check_on.png";
- }
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_check_off_press.png";
- }
- }
- description { state: "visible_pressed" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_check_on_press.png";
- }
- }
- }
- part { name: "text_onoff";
- type: TEXT;
- mouse_events: 0;
- scale:1;
- description { state: "default" 0.0;
- visible: 1;
- rel1.to: "check";
- rel2.to: "check";
- rel2.relative: 0.85 1.0;
- text {
- font: "SLP:style=Medium";
- size: 20;
- min: 0 0;
- align: 1.0 0.5;
- text: "OFF";
- }
- }
- description { state: "on" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.15 0.0;
- text {
- font: "SLP:style=Medium";
- size: 20;
- min: 0 0;
- align: 0.0 0.5;
- text: "ON";
- }
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1.to_x: "bg";
- rel1.relative: 1.0 0.0;
- rel1.offset: 1 1;
- rel2.to_x: "bg";
- rel2.relative: 1.0 1.0;
- rel2.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;
- color: 128 128 128 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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; }
- color: 255 255 255 255;
- 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_disabled_style";
- 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;
- color: 0 0 0 128;
- }
- }
- }
- programs {
- program { name: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- program { name: "pressed";
- signal: "mouse,down,1";
- source: "events";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"check", "visible_pressed", 0.0);
- else if (!strcmp(st, "default"))
- set_state(PART:"check", "pressed", 0.0);
- }
- }
- program { name: "mouseout";
- signal: "mouse,out";
- source: "events";
- after: "bg_check_normal";
- }
- program { name: "bg_check_normal";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"check", "default", 0.0);
- else if (!strcmp(st, "visible_pressed"))
- set_state(PART:"check", "visible", 0.0);
- }
- }
- program { name: "check_on";
- signal: "elm,state,check,on";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "check";
- after: "text_on";
- }
- program { name: "text_on";
- action: STATE_SET "on" 0.0;
- target: "text_onoff";
- }
- program { name: "check_off";
- signal: "elm,state,check,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "check";
- after: "text_off";
- }
- program { name: "text_off";
- action: STATE_SET "default" 0.0;
- target: "text_onoff";
- }
- 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);
- }
- }
- 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);
- }
- }
- }
- }
-
-////////////////////////////////////////////////////////////////////////////////
-// check favorite style
-
-group { name: "elm/check/base/favorite";
- images {
- image: "00_winset_icon_favorite_off.png" COMP;
- image: "00_winset_icon_favorite_on.png" COMP;
- }
- parts {
- part { name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel2.relative: 1.0 1.0;
- align: 0.0 0.5;
- min: 50 50;
- max: 50 50;
- color: 0 0 0 0;
- }
- }
- part { name: "check";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- visible: 1;
- image.normal: "00_winset_icon_favorite_off.png";
- color: 255 255 255 255;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "00_winset_icon_favorite_on.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_icon_favorite_off.png";
- color: 128 128 128 255;
- visible: 1;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_icon_favorite_on.png";
- color: 128 128 128 255;
- visible: 1;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1.to_x: "bg";
- rel1.relative: 1.0 0.0;
- rel1.offset: 1 1;
- rel2.to_x: "bg";
- rel2.relative: 1.0 1.0;
- rel2.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;
- color: 128 128 128 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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_disabled_style";
- min: 1 1;
- }
- }
- }
- part { name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- rel1.to: "bg";
- align: 0.0 0.5;
- 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" "";
- }
- 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);
- }
- }
- }
- }
-
- group { name: "elm/check/base/favorite/extended";
- images {
- image: "00_winset_icon_favorite_off.png" COMP;
- image: "00_winset_icon_favorite_on.png" COMP;
- }
- parts {
- part { name: "back_bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel2.relative: 0.0 1.0;
- align: 0 0.5;
- min: 60 75;
- fixed: 1 0;
- visible: 1;
- color: 0 0 0 0;
- }
- }
- part { name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.5;
- rel1 { to: "back_bg"; }
- rel2 { to: "back_bg"; }
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part { name: "check";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- visible: 1;
- image.normal: "00_winset_icon_favorite_off.png";
- color: 255 255 255 255;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "00_winset_icon_favorite_on.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_icon_favorite_off.png";
- color: 128 128 128 255;
- visible: 1;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_icon_favorite_on.png";
- color: 128 128 128 255;
- visible: 1;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1.to_x: "bg";
- rel1.relative: 1.0 0.0;
- rel1.offset: 1 1;
- rel2.to_x: "bg";
- rel2.relative: 1.0 1.0;
- rel2.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;
- color: 128 128 128 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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_disabled_style";
- 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;
- }
- }
- }
- programs {
- program { name: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- 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);
- }
- }
- }
- }
-
-////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/check/base/delete";
- images {
- image: "00_button_delete.png" COMP;
- image: "00_button_delete_press.png" COMP;
- image: "00_button_delete_dim.png" COMP;
- image: "00_button_delete_text.png" COMP;
- image: "00_button_delete_text_press.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part {
- name: "bg";
- mouse_events: 1;
- scale: 1;
- type: IMAGE;
- description { state: "default" 0.0;
- align: 1.0 0.5;
- min: 40 40;
- max: 40 40;
- rel1.relative: 1.0 0.0;
- fixed: 1 0;
- image.normal: "00_button_delete.png";
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_delete_press.png";
- }
- description { state: "intermediate" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "on" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_delete_dim.png";
- }
- }
- part {
- name: "clipper";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- align: 1.0 0.5;
- min: 40 40;
- max: 40 40;
- color: 255 255 255 255;
- }
- description { state: "on" 0.0;
- align: 1.0 0.5;
- min: 117 40;
- max: 117 40;
- color: 255 255 255 255;
- }
- }
- part {
- name: "bg_expand";
- mouse_events: 0;
- scale: 1;
- type: IMAGE;
- clip_to: "clipper";
- description { state: "default" 0.0;
- align: 0.0 0.5;
- min: 117 40;
- max: 117 40;
- image.normal: "00_button_delete_text.png";
- image.border: 32 16 0 0;
- image.border_scale: 1;
- rel1 { relative: 1 0; to_x: "bg"; }
- rel2 { relative: 1 1; to_x: "bg"; }
- fixed: 1 0;
- }
- description { state: "clicked" 0.0;
- align: 1.0 0.5;
- min: 117 40;
- max: 117 40;
- image.normal: "00_button_delete_text.png";
- image.border: 32 16 0 0;
- image.border_scale: 1;
- rel1 { relative: 1 0; to_x: "bg"; }
- rel2 { relative: 1 1; to_x: "bg"; }
- fixed: 1 0;
- image.normal: "00_button_delete_text_press.png";
- }
- description { state: "intermediate" 0.0;
- align: 0.0 0.5;
- min: 117 40;
- max: 117 40;
- image.normal: "00_button_delete_text.png";
- image.border: 32 16 0 0;
- image.border_scale: 1;
- rel1 { relative: 0 0; to_x: "bg"; }
- rel2 { relative: 0 1; to_x: "bg"; }
- fixed: 1 0;
- }
- description { state: "on" 0.0;
- align: 1.0 0.5;
- min: 117 40;
- max: 117 40;
- image.normal: "00_button_delete_text.png";
- image.border: 32 16 0 0;
- image.border_scale: 1;
- rel1 { relative: 1 0; to_x: "bg"; }
- rel2 { relative: 1 1; to_x: "bg"; }
- fixed: 1 0;
- }
- }
- part { name: "check";
- type: TEXT;
- mouse_events: 0;
- scale:1;
- description { state: "default" 0.0;
- visible: 0;
- align: 0.8 0.5;
- min: 0 0;
- text {
- font: "SLP:style=Medium";
- size: 20;
- min: 0 0;
- align: 0.5 0.5;
- text: "";
- }
- }
- description { state: "visible" 0.0;
- visible: 1;
- align: 0.8 0.5;
- min: 75 40;
- max: 75 40;
- color: CHECK_DELETE_TEXT_DELETE_NORMAL_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 20;
- min: 1 0;
- align: 0.0 0.5;
- text: "Delete";
- }
- }
- description { state: "visible_pressed" 0.0;
- inherit: "visible" 0.0;
- color: CHECK_DELETE_TEXT_DELETE_PRESS_COLOR_INC;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1.to_x: "bg";
- rel1.relative: 1.0 0.0;
- rel1.offset: 1 1;
- rel2.to_x: "bg";
- rel2.relative: 1.0 1.0;
- rel2.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;
- color: 128 128 128 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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: 1 1;
- rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
- rel2 { relative: 1.0 0.5; offset: -2 -2; }
- color: 255 255 255 255;
- 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_disabled_style";
- min: 1 1;
- }
- }
- }
- part { name: "events1";
- type: RECT;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.to: "bg";
- rel2.to_x: "elm.text";
- align: 0.0 0.5;
- }
- description { state: "visible" 0.0;
- color: 0 0 0 0;
- rel1.to: "bg_expand";
- rel2.to_x: "elm.text";
- align: 0.0 0.5;
- }
- }
- part { name: "events2";
- type: RECT;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.to: "bg";
- rel2.to_x: "elm.text";
- align: 0.0 0.5;
- }
- description { state: "visible" 0.0;
- color: 0 0 0 0;
- rel1.to: "bg_expand";
- rel2.to_x: "elm.text";
- align: 0.0 0.5;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- rel2.to_x: "elm.text";
- 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";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "visible_pressed"))
- set_state(PART:"check", "visible", 0.0);
- }
- after: "toggle";
- }
- program { name: "toggle";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- program { name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"bg", st, 30, vl);
- if (!strcmp(st, "on")) {
- emit("elm,action,check,toggle", "");
- }
- }
- }
- program { name: "click_down";
- signal: "mouse,down,1";
- source: "events2";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"bg_expand", "clicked", 0.0);
- set_state(PART:"check", "visible_pressed", 0.0);
- }
- else
- set_state(PART:"bg", "clicked", 0.0);
- }
- }
- program { name: "check_normal";
- signal: "mouse,up,1";
- source: "events2";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "visible_pressed"))
- {
- set_state(PART:"bg_expand", "on", 0.0);
- set_state(PART:"check", "visible", 0.0);
- }
- get_state(PART:"bg_expand", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"bg", "default", 0.0);
- }
- }
- program { name: "check_on";
- signal: "elm,state,check,on";
- source: "elm";
- action: STATE_SET "on" 0.0;
- target: "clipper";
- after: "start_expand";
- }
- program { name: "start_expand";
- action: STATE_SET "intermediate" 0.0;
- target: "bg";
- target: "bg_expand";
- after: "expand";
- }
- program { name: "expand";
- action: STATE_SET "on" 0.0;
- target: "bg_expand";
- target: "bg";
- transition: ACCELERATE 0.1;
- after: "check_visible";
- }
- program { name: "check_visible";
- action: STATE_SET "visible" 0.0;
- target: "check";
- target: "events1";
- target: "events2";
- }
- program { name: "check_off";
- signal: "elm,state,check,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "check";
- after: "contract";
- }
- program { name: "contract";
- action: STATE_SET "intermediate" 0.0;
- target: "bg_expand";
- transition: ACCELERATE 0.1;
- after: "normal_bg";
- }
- program { name: "normal_bg";
- script {
- if(get_int(button_state) !=1)
- set_state(PART:"bg", "default", 0.0);
- else
- set_state(PART:"bg", "disabled", 0.0);
- }
- after: "bg_default";
- }
- program { name: "bg_default";
- action: STATE_SET "default" 0.0;
- target: "bg_expand";
- target: "clipper";
- target: "events1";
- target: "events2";
- }
- 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: "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);
- set_int(button_state, 1);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- 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);
- set_int(button_state, 0);
- }
- }
- }
- }
-
- group { name: "elm/check/base/delete/extended";
- images {
- image: "00_button_delete.png" COMP;
- image: "00_button_delete_press.png" COMP;
- image: "00_button_delete_dim.png" COMP;
- image: "00_button_delete_text.png" COMP;
- image: "00_button_delete_text_press.png" COMP;
- }
- script {
- public button_state = 0; //0:enabled, 1: disabled
- }
- parts {
- part {
- name: "bg";
- mouse_events: 1;
- scale: 1;
- type: IMAGE;
- description { state: "default" 0.0;
- align: 1.0 0.5;
- min: 40 40;
- max: 40 40;
- rel1.relative: 1.0 0.0;
- fixed: 1 0;
- image.normal: "00_button_delete.png";
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_delete_press.png";
- }
- description { state: "intermediate" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "on" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_delete_dim.png";
- }
- }
- part {
- name: "clipper";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- align: 1.0 0.5;
- min: 40 40;
- max: 40 40;
- color: 255 255 255 255;
- }
- description { state: "on" 0.0;
- align: 1.0 0.5;
- min: 117 40;
- max: 117 40;
- color: 255 255 255 255;
- }
- }
- part {
- name: "bg_expand";
- mouse_events: 0;
- scale: 1;
- type: IMAGE;
- clip_to: "clipper";
- description { state: "default" 0.0;
- align: 0.0 0.5;
- min: 117 40;
- max: 117 40;
- image.normal: "00_button_delete_text.png";
- image.border: 32 16 0 0;
- image.border_scale: 1;
- rel1 { relative: 1 0; to_x: "bg"; }
- rel2 { relative: 1 1; to_x: "bg"; }
- fixed: 1 0;
- }
- description { state: "clicked" 0.0;
- align: 1.0 0.5;
- min: 117 40;
- max: 117 40;
- image.normal: "00_button_delete_text.png";
- image.border: 32 16 0 0;
- image.border_scale: 1;
- rel1 { relative: 1 0; to_x: "bg"; }
- rel2 { relative: 1 1; to_x: "bg"; }
- fixed: 1 0;
- image.normal: "00_button_delete_text_press.png";
- }
- description { state: "intermediate" 0.0;
- align: 0.0 0.5;
- min: 117 40;
- max: 117 40;
- image.normal: "00_button_delete_text.png";
- image.border: 32 16 0 0;
- image.border_scale: 1;
- rel1 { relative: 0 0; to_x: "bg"; }
- rel2 { relative: 0 1; to_x: "bg"; }
- fixed: 1 0;
- }
- description { state: "on" 0.0;
- align: 1.0 0.5;
- min: 117 40;
- max: 117 40;
- image.normal: "00_button_delete_text.png";
- image.border: 32 16 0 0;
- image.border_scale: 1;
- rel1 { relative: 1 0; to_x: "bg"; }
- rel2 { relative: 1 1; to_x: "bg"; }
- fixed: 1 0;
- }
- }
- part { name: "check";
- type: TEXT;
- mouse_events: 0;
- scale:1;
- description { state: "default" 0.0;
- visible: 0;
- align: 0.8 0.5;
- min: 0 0;
- text {
- font: "SLP:style=Medium";
- size: 20;
- min: 0 0;
- align: 0.5 0.5;
- text: "";
- }
- }
- description { state: "visible" 0.0;
- visible: 1;
- align: 0.8 0.5;
- min: 75 40;
- max: 75 40;
- color: CHECK_DELETE_TEXT_DELETE_NORMAL_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 20;
- min: 1 0;
- align: 0.0 0.5;
- text: "Delete";
- }
- }
- description { state: "visible_pressed" 0.0;
- inherit: "visible" 0.0;
- color: CHECK_DELETE_TEXT_DELETE_PRESS_COLOR_INC;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1.to_x: "bg";
- rel1.relative: 1.0 0.0;
- rel1.offset: 1 1;
- rel2.to_x: "bg";
- rel2.relative: 1.0 1.0;
- rel2.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;
- color: 128 128 128 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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: 1 1;
- rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
- rel2 { relative: 1.0 0.5; offset: -2 -2; }
- color: 255 255 255 255;
- 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_disabled_style";
- min: 1 1;
- }
- }
- }
- part { name: "events1";
- type: RECT;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.to: "bg";
- rel2.to_x: "elm.text";
- align: 0.0 0.5;
- fixed: 1 0;
- min: 60 75;
- }
- description { state: "visible" 0.0;
- color: 0 0 0 0;
- rel1.to: "bg_expand";
- rel2.to_x: "elm.text";
- align: 0.0 0.5;
- fixed: 1 0;
- min: 60 75;
- }
- }
- part { name: "events2";
- type: RECT;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.to: "bg";
- rel2.to_x: "elm.text";
- align: 0.0 0.5;
- fixed: 1 0;
- min: 60 75;
- }
- description { state: "visible" 0.0;
- color: 0 0 0 0;
- rel1.to: "bg_expand";
- rel2.to_x: "elm.text";
- align: 0.0 0.5;
- fixed: 1 0;
- min: 60 75;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- rel2.to_x: "elm.text";
- 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";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "visible_pressed"))
- set_state(PART:"check", "visible", 0.0);
- }
- after: "toggle";
- }
- program { name: "toggle";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- program { name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"bg", st, 30, vl);
- if (!strcmp(st, "on")) {
- emit("elm,action,check,toggle", "");
- }
- }
- }
- program { name: "click_down";
- signal: "mouse,down,1";
- source: "events2";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"bg_expand", "clicked", 0.0);
- set_state(PART:"check", "visible_pressed", 0.0);
- }
- else
- set_state(PART:"bg", "clicked", 0.0);
- }
- }
- program { name: "check_normal";
- signal: "mouse,up,1";
- source: "events2";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "visible_pressed"))
- {
- set_state(PART:"bg_expand", "on", 0.0);
- set_state(PART:"check", "visible", 0.0);
- }
- get_state(PART:"bg_expand", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"bg", "default", 0.0);
- }
- }
- program { name: "check_on";
- signal: "elm,state,check,on";
- source: "elm";
- action: STATE_SET "on" 0.0;
- target: "clipper";
- after: "start_expand";
- }
- program { name: "start_expand";
- action: STATE_SET "intermediate" 0.0;
- target: "bg";
- target: "bg_expand";
- after: "expand";
- }
- program { name: "expand";
- action: STATE_SET "on" 0.0;
- target: "bg_expand";
- target: "bg";
- transition: ACCELERATE 0.1;
- after: "check_visible";
- }
- program { name: "check_visible";
- action: STATE_SET "visible" 0.0;
- target: "check";
- target: "events1";
- target: "events2";
- }
- program { name: "check_off";
- signal: "elm,state,check,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "check";
- after: "contract";
- }
- program { name: "contract";
- action: STATE_SET "intermediate" 0.0;
- target: "bg_expand";
- transition: ACCELERATE 0.1;
- after: "normal_bg";
- }
- program { name: "normal_bg";
- script {
- if(get_int(button_state) !=1)
- set_state(PART:"bg", "default", 0.0);
- else
- set_state(PART:"bg", "disabled", 0.0);
- }
- after: "bg_default";
- }
- program { name: "bg_default";
- action: STATE_SET "default" 0.0;
- target: "bg_expand";
- target: "clipper";
- target: "events1";
- target: "events2";
- }
- 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: "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);
- set_int(button_state, 1);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- 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);
- set_int(button_state, 0);
- }
- }
- }
- }
-////////////////////////////////////////////////////////////////////////////////
- group {
- name: "elm/check/base/grid";
- images {
- image: "00_grid_select_check.png" COMP;
- }
-
- parts {
- part {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 0 0 0 0;
- visible: 1;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "bg2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.5;
- min: 40 40;
- max: 40 40;
- color: 0 0 0 0;
- visible: 1;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
-
- part {
- name: "selected_bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- color: 0 0 0 0;
- visible: 0;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- color: 0 0 0 128;
- visible: 1;
- }
- }
-
- part {
- name: "check";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "bg2";
- rel2.to: "bg2";
- visible: 0;
- image.normal: "00_grid_select_check.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1.to_x: "bg2";
- rel1.relative: 1.0 0.0;
- rel1.offset: 1 1;
- rel2.to_x: "bg2";
- rel2.relative: 1.0 1.0;
- rel2.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;
- color: 128 128 128 128;
- }
- description {
- state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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; }
- color: 255 255 255 255;
- 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_disabled_style";
- 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;
- }
- }
- }
-
- programs {
- program {
- name: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- after: "bg_normal";
- }
- program {
- name: "bg_normal";
- script {
- set_state(PART:"bg", "default", 0.0);
- set_state(PART:"bg2", "default", 0.0);
- }
- }
- program {
- name: "mouseout";
- signal: "mouse,out";
- source: "events";
- after: "bg_check_normal";
- }
- program {
- name: "bg_check_normal";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"check", "visible", 0.0);
- set_state(PART:"bg", "default", 0.0);
- set_state(PART:"bg2", "default", 0.0);
- }
- }
- program {
- name: "pressed";
- signal: "mouse,down,1";
- source: "events";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"check", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"check", "pressed", 0.0);
- set_state(PART:"bg", "pressed", 0.0);
- set_state(PART:"bg2", "pressed", 0.0);
- }
- }
- program {
- name: "check_on";
- signal: "elm,state,check,on";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "check";
- target: "selected_bg";
- }
- program {
- name: "check_off";
- signal: "elm,state,check,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "check";
- target: "selected_bg";
- }
- 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: "bg";
- target: "bg2";
- 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);
- }
- }
- program {
- name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "bg";
- target: "bg2";
- 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);
- }
- }
- }
- }
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
- group{
- name: "elm/colorpalette/bg/default";
- images{
- image: "01_dialoguegroup_bg_default.png" COMP;
- }
- parts{
- part{
- name: "bg_rect";
- type: IMAGE;
- scale: 1;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- min: 0 120;
- image.normal: "01_dialoguegroup_bg_default.png";
- image.border: 13 13 10 15;
- image.border_scale: 1;
- }
- }
- part{
- name: "padding_rect_l";
- type: RECT;
- scale: 1;
- description{
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- part{
- name: "padding_rect_r";
- type: RECT;
- scale: 1;
- description{
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- part{
- name: "padding_rect_u";
- type: RECT;
- scale: 1;
- description{
- state: "default" 0.0;
- visible: 0;
- min: 0 20;
- 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 20;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- align: 0.5 1.0;
- }
- }
- part{
- name: "palette";
- type: SWALLOW;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- rel1 {relative: 1.0 1.0; to_x: "padding_rect_l"; to_y: "padding_rect_u";}
- rel2 {relative: 0.0 0.0; to_x: "padding_rect_r"; to_y: "padding_rect_d";}
- }
- }
- }
- }
-
- group{
- name: "elm/colorpalette/bg/no_bgimg";
- parts{
- part{
- name: "bg_rect";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- min: 0 120;
- color: 0 0 0 0;
- }
- }
- part{
- name: "padding_rect_l";
- type: RECT;
- scale: 1;
- description{
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- part{
- name: "padding_rect_r";
- type: RECT;
- scale: 1;
- description{
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- part{
- name: "padding_rect_u";
- type: RECT;
- scale: 1;
- description{
- state: "default" 0.0;
- visible: 0;
- min: 0 20;
- 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 20;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- align: 0.5 1.0;
- }
- }
- part{
- name: "palette";
- type: SWALLOW;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- rel1 {relative: 1.0 1.0; to_x: "padding_rect_l"; to_y: "padding_rect_u";}
- rel2 {relative: 0.0 0.0; to_x: "padding_rect_r"; to_y: "padding_rect_d";}
- }
- }
- }
- }
-
- group{
- name: "elm/colorpalette/bg/landscape";
- images{
- image: "01_dialoguegroup_bg_default.png" COMP;
- }
- parts{
- part{
- name: "bg_rect";
- type: IMAGE;
- scale: 1;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- min: 0 86;
- fixed: 0 1;
- image.normal: "01_dialoguegroup_bg_default.png";
- image.border: 13 13 10 15;
- image.border_scale: 1;
- }
- }
- part{
- name: "padding_rect_l";
- type: RECT;
- scale: 1;
- description{
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- part{
- name: "padding_rect_r";
- type: RECT;
- scale: 1;
- description{
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- part{
- name: "padding_rect_u";
- type: RECT;
- scale: 1;
- description{
- state: "default" 0.0;
- visible: 0;
- min: 0 17;
- 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 17;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- align: 0.5 1.0;
- }
- }
- part{
- name: "palette";
- type: SWALLOW;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- rel1 {relative: 1.0 1.0; to_x: "padding_rect_l"; to_y: "padding_rect_u";}
- rel2 {relative: 0.0 0.0; to_x: "padding_rect_r"; to_y: "padding_rect_d";}
- }
- }
- }
- }
-
- group{
- name: "elm/colorpalette/bg/landscape_no_bgimg";
- parts{
- part{
- name: "bg_rect";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- min: 0 86;
- color: 0 0 0 0;
- }
- }
- part{
- name: "padding_rect_l";
- type: RECT;
- scale: 1;
- description{
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- part{
- name: "padding_rect_r";
- type: RECT;
- scale: 1;
- description{
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- part{
- name: "padding_rect_u";
- type: RECT;
- scale: 1;
- description{
- state: "default" 0.0;
- visible: 0;
- min: 0 17;
- 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 17;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- align: 0.5 1.0;
- }
- }
- part{
- name: "palette";
- type: SWALLOW;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- rel1 {relative: 1.0 1.0; to_x: "padding_rect_l"; to_y: "padding_rect_u";}
- rel2 {relative: 0.0 0.0; to_x: "padding_rect_r"; to_y: "padding_rect_d";}
- }
- }
- }
- }
-
- 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: 52 52;
- 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: 52 52;
- image.normal: "00_color_picker_palette_focus.png";
- image.border: 10 10 10 10;
- 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: 10 10 10 10;
- image.border_scale: 1;
- }
- }
- }
- }
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
- group{
- name: "elm/colorselector/bg/default";
- images {
- image: "01_dialoguegroup_bg_top.png" COMP;
- image: "01_dialoguegroup_bg_middle.png" COMP;
- image: "01_dialoguegroup_bg_bottom.png" COMP;
- }
- parts{
- part{
- name: "bg_rect";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description{
- state: "default" 0.0;
- min: 0 247;
- color: 0 0 0 0;
- }
- }
- part { name: "bottom_padding";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 81;
- fixed: 0 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 0.0;
- align: 0.5 0.0;
- }
- }
- part { name: "bottom_padding1";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 162;
- fixed: 0 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 0.0;
- align: 0.5 0.0;
- }
- }
- part { name: "bottom_padding2";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 242;
- fixed: 0 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 0.0;
- align: 0.5 0.0;
- }
- }
- part{
- name: "colorbar_0_bg";
- type: IMAGE;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- rel1.to: "elm.colorbar_0";
- rel2.to: "elm.colorbar_0";
- image.normal: "01_dialoguegroup_bg_top.png";
- image.border: 13 13 10 3;
- image.border_scale: 1;
- }
- }
- part{
- name: "elm.colorbar_0";
- type: SWALLOW;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- rel2.to_y: "bottom_padding";
- }
- }
- part{
- name: "colorbar_1_bg";
- type: IMAGE;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- rel1.to: "elm.colorbar_1";
- rel2.to: "elm.colorbar_1";
- image.normal: "01_dialoguegroup_bg_middle.png";
- image.border: 4 4 3 3;
- image.border_scale: 1;
- }
- }
- part{
- name: "elm.colorbar_1";
- type: SWALLOW;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_y: "bottom_padding";
- rel2.to_y: "bottom_padding1";
- }
- }
- part{
- name: "colorbar_2_bg";
- type: IMAGE;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- visible: 1;
- rel1.to: "elm.colorbar_2";
- rel2.to: "bg_rect";
- image.normal: "01_dialoguegroup_bg_bottom.png";
- image.border: 13 13 3 15;
- image.border_scale: 1;
- }
- }
-
- part{
- name: "elm.colorbar_2";
- type: SWALLOW;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0.0 1.0;
- rel1.to_y: "bottom_padding1";
- rel2.to_y: "bottom_padding2";
- }
- }
- }
- }
-
- 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: 75 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: 75 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 15;
- 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 (19/81); to_x: "bar_bg_padding_rect_l";}
- rel2 {relative: 0.0 (61/81); 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: 72 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: 72 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 (15/81); to_x: "arrow_bg_padding_rect_l";}
- rel2 {relative: 0.0 (65/81); to_x: "arrow_bg_padding_rect_r";}
- }
- }
- part{
- name: "elm.arrow";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description{
- state: "default" 0.0;
- min: 10 50;
- fixed: 1 1;
- align: 0 0;
- 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: 1;
- scale: 1;
- description{
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0;
- rel1 {to: "elm.arrow";}
- rel2 {to: "elm.arrow";}
- }
- }
- part{
- name: "event";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description{
- state: "default" 0.0;
- rel1 {to_x: "elm.arrow_icon";}
- rel2 {to_x: "elm.arrow_icon"; to_y: "elm.arrow_bg";}
- 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: 15 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: 15 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: 50 50;
- 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: 50 50;
- 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";
- images{
- image: "01_color_picker_color.png" COMP;
- }
- parts{
- part{
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 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_0_image";
- type: 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: "01_color_picker_color.png";
- }
- }
- }
- }
-
- group{
- name: "elm/colorselector/image/colorbar_1";
- images{
- image: "01_color_picker_opacity.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_1_image";
- type: 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: "01_color_picker_opacity.png";
- }
- }
- }
- }
- group{
- name: "elm/colorselector/image/colorbar_2";
- images{
- image: "01_color_picker_brightness.png" COMP;
- }
- parts{
- part{
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 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_2_image";
- type: 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: "01_color_picker_brightness.png";
- }
- }
- }
- }
-
- group{
- name: "elm/colorselector/image/updown";
- images{
- image:"00_color_picker_focus.png" COMP;
- }
- parts{
- part{
- name: arrow_image;
- scale: 1;
- type: IMAGE;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- image.normal: "00_color_picker_focus.png";
- }
- }
- }
- }
-
- group {
- name: "elm/colorselector/button/left";
- images {
- image: "00_color_picker_btn_left.png" COMP;
- image: "00_color_picker_btn_left_press.png" COMP;
- }
- parts {
- part {
- name: "button_image";
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- image.normal: "00_color_picker_btn_left.png";
- image.border: 6 6 6 6;
- image.border_scale: 1;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_color_picker_btn_left_press.png";
- }
- }
- }
-
- programs {
- program {
- name: "button_down";
- signal: "elm,state,left,button,down";
- source: "left_button";
- action: STATE_SET "pressed" 0.0;
- target: "button_image";
- }
-
- program {
- name: "button_up";
- signal: "elm,state,left,button,up";
- source: "left_button";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- }
- }
-
- group {
- name: "elm/colorselector/button/right";
- images {
- image: "00_color_picker_btn_right.png" COMP;
- image: "00_color_picker_btn_right_press.png" COMP;
- }
- parts {
- part {
- name: "button_image";
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- image.normal: "00_color_picker_btn_right.png";
- image.border: 6 6 6 6;
- image.border_scale: 1;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_color_picker_btn_right_press.png";
- }
- }
- }
- programs {
- program {
- name: "button_down";
- signal: "elm,state,right,button,down";
- source: "right_button";
- action: STATE_SET "pressed" 0.0;
- target: "button_image";
- }
- program {
- name: "button_up";
- signal: "elm,state,right,button,up";
- source: "right_button";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- }
- }
-
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-/////////////////////////////////////////////////////////////////////////////
- group { name: "elm/conformant/base/default";
- parts {
- part { name: "elm.swallow.shelf";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 1;
- align: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- align: 0.5 0.5;
- rel1.relative: 0.0 1.0;
- rel1.to_y: "elm.swallow.shelf";
- rel2.relative: 1.0 0.0;
- rel2.to_y: "elm.swallow.virtualkeypad";
- }
- }
- part { name: "elm.swallow.virtualkeypad";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1.relative: 0.0 1.0;
- }
- }
- }
- }
-
- group { name: "elm/conformant/base/internal_layout";
- parts {
- part { name: "elm.swallow.shelf";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 1;
- align: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- align: 0.5 0.5;
- rel1.relative: 0.0 0.0; //overlap elm.swallow.shelf
- rel1.to_y: "elm.swallow.shelf";
- rel2.relative: 1.0 0.0;
- rel2.to_y: "elm.swallow.virtualkeypad";
- }
- }
- part { name: "elm.swallow.virtualkeypad";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1.relative: 0.0 1.0;
- }
- }
- }
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-
-////////////////////////////////////////////////////////////////////////////////////////
-// controlbar icon
-///////////////////////////////////////////////////////////////////////////////////////
-
- group { name: "elm/icon/controlbar_albums/default"; min: 40 40;
- images.image: "00_winset_tab_icon_albums.png" COMP;
- parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
- aspect_preference: BOTH; image.normal: "00_winset_tab_icon_albums.png"; } } } }
-
- group { name: "elm/icon/controlbar_artists/default"; min: 40 40;
- images.image: "00_winset_tab_icon_artists.png" COMP;
- parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
- aspect_preference: BOTH; image.normal: "00_winset_tab_icon_artists.png"; } } } }
-
- group { name: "elm/icon/controlbar_songs/default"; min: 40 40;
- images.image: "00_winset_tab_icon_songs.png" COMP;
- parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
- aspect_preference: BOTH; image.normal: "00_winset_tab_icon_songs.png"; } } } }
-
- group { name: "elm/icon/controlbar_more/default"; min: 40 40;
- images.image: "00_winset_tab_icon_more.png" COMP;
- parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
- aspect_preference: BOTH; image.normal: "00_winset_tab_icon_more.png"; } } } }
-
- group { name: "elm/icon/controlbar_playlist/default"; min: 40 40;
- images.image: "00_winset_tab_icon_playlist.png" COMP;
- parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
- aspect_preference: BOTH; image.normal: "00_winset_tab_icon_playlist.png"; } } } }
-
- group { name: "elm/icon/controlbar_contacts/default"; min: 40 40;
- images.image: "00_winset_tab_icon_contacts.png" COMP;
- parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
- aspect_preference: BOTH; image.normal: "00_winset_tab_icon_contacts.png"; } } } }
-
- group { name: "elm/icon/controlbar_dialer/default"; min: 40 40;
- images.image: "00_winset_tab_icon_dialer.png" COMP;
- parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
- aspect_preference: BOTH; image.normal: "00_winset_tab_icon_dialer.png"; } } } }
-
- group { name: "elm/icon/controlbar_favorites/default"; min: 40 40;
- images.image: "00_winset_tab_icon_favorites.png" COMP;
- parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
- aspect_preference: BOTH; image.normal: "00_winset_tab_icon_favorites.png"; } } } }
-
- group { name: "elm/icon/controlbar_logs/default"; min: 40 40;
- images.image: "00_winset_tab_icon_logs.png" COMP;
- parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
- aspect_preference: BOTH; image.normal: "00_winset_tab_icon_logs.png"; } } } }
-
-////////////////////////////////////////////////////////////////////////////////////////
-// controlbar
-///////////////////////////////////////////////////////////////////////////////////////
-
- group{
- name: "elm/controlbar/base/default";
-
- parts{
- part{
- name: "bg_rect";
- type: RECT;
- scale: 1;
- 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;}
- color: 0 0 0 0;
- }
- }
- part{
- name: "bg_image";
- type: SWALLOW;
- scale: 1;
- 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;}
- }
- description{
- state: "large" 0.0;
- min: 0 TAB_BAR_H;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1 {relative: 0.0 1.0; offset: 0 -1;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- }
- description{
- state: "small" 0.0;
- min: 0 TOOL_BAR_H;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1 {relative: 0.0 1.0; offset: 0 -1;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- }
- description{
- state: "left" 0.0;
- min: TAB_BAR_H 0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 0.0 1.0; offset: 0 -1;}
- }
- description{
- state: "right" 0.0;
- min: TAB_BAR_H 0;
- fixed: 1 0;
- align: 1.0 0.5;
- rel1 {relative: 1.0 0.0; offset: -1 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- }
- }
- part{
- name: "elm.swallow.items";
- type: SWALLOW;
- scale: 1;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0; to: "bg_image";}
- rel2 {relative: 1.0 1.0; to: "bg_image";}
- }
- }
- }
- programs{
- program{
- name: "default";
- signal: "elm,state,default";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- }
- program{
- name: "large";
- signal: "elm,state,large";
- source: "elm";
- action: STATE_SET "large" 0.0;
- target: "bg_image";
- }
- program{
- name: "small";
- signal: "elm,state,small";
- source: "elm";
- action: STATE_SET "small" 0.0;
- target: "bg_image";
- }
- program{
- name: "left";
- signal: "elm,state,left";
- source: "elm";
- action: STATE_SET "left" 0.0;
- target: "bg_image";
- }
- program{
- name: "right";
- signal: "elm,state,right";
- source: "elm";
- action: STATE_SET "right" 0.0;
- target: "bg_image";
- }
- }
- }
-
- group{
- name: "elm/controlbar/background/default";
-
- images{
- image: "00_winset_softkey_bg.png" COMP;
- }
-
- parts{
- part{
- name: "bg_image";
- type: IMAGE;
- scale: 1;
- 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;}
- image.normal: "00_winset_softkey_bg.png";
- color: 255 255 255 255;
- }
- }
- }
- }
-
- group{
- name: "elm/controlbar/view/default";
-
- parts{
- part{
- name: "bg_rect";
- type: RECT;
- mouse_events:1;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- color: 0 0 0 0;
- }
- }
- part{
- name: "elm.swallow.view";
- type: SWALLOW;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0; to: "bg_rect";}
- rel2 {relative: 1.0 1.0; to: "bg_rect";}
- }
- }
- }
- }
-
- group{
- name: "elm/controlbar/item_bg/default";
- images{
- image: "00_winset_tab_press.png" COMP;
- image: "00_winset_tab_press_left.png" COMP;
- image: "00_winset_tab_press_right.png" COMP;
- image: "00_winset_toolbar_press.png" COMP;
- image: "00_winset_tab_focus.png" COMP;
- image: "00_winset_tab_focus_left.png" COMP;
- image: "00_winset_tab_focus_right.png" COMP;
- image: "01_touch_glow.png" COMP;
- }
-
- parts{
- part{
- name: "bg_rect";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- min: 0 TOOL_BAR_H;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- color: 0 0 0 0;
- }
- }
- part{
- name: "bg_img";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- rel1 {relative: 0.0 0.07; offset: 5 0;}
- rel2 {relative: 1.0 1.0; offset: -5 0;}
- }
- description{
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_tab_press.png";
- image.border: 7 7 7 0;
- visible: 1;
- }
- description{
- state: "pressed_left" 0.0;
- inherit: "default" 0.0;
- rel1 {relative: 0.0 0.0; offset: 0 5;}
- rel2 {relative: 0.93 1.0; offset: 0 -5;}
- image.normal: "00_winset_tab_press_left.png";
- image.border: 0 7 7 7;
- visible: 1;
- }
- description{
- state: "pressed_right" 0.0;
- inherit: "default" 0.0;
- rel1 {relative: 0.07 0.0; offset: 0 5;}
- rel2 {relative: 1.0 1.0; offset: 0 -5;}
- image.normal: "00_winset_tab_press_right.png";
- image.border: 7 0 7 7;
- visible: 1;
- }
- description{
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_winset_tab_focus.png";
- image.border: 7 7 7 0;
- visible: 1;
- }
- description{
- state: "focused_left" 0.0;
- inherit: "default" 0.0;
- rel1 {relative: 0.0 0.0; offset: 0 5;}
- rel2 {relative: 0.93 1.0; offset: 0 -5;}
- image.normal: "00_winset_tab_focus_left.png";
- image.border: 0 7 7 7;
- visible: 1;
- }
- description{
- state: "focused_right" 0.0;
- inherit: "default" 0.0;
- rel1 {relative: 0.07 0.0; offset: 0 5;}
- rel2 {relative: 1.0 1.0; offset: 0 -5;}
- image.normal: "00_winset_tab_focus_right.png";
- image.border: 7 0 7 7;
- visible: 1;
- }
- description{
- state: "toolbar_pressed" 0.0;
- inherit: "default" 0.0;
- rel2 {relative: 1.0 0.93; offset: -5 0;}
- image.normal: "00_winset_toolbar_press.png";
- image.border: 5 5 5 5;
- visible: 1;
- }
- }
- part{
- name: "item";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- rel1{to: "bg_rect";}
- rel2{to: "bg_rect";}
- }
- }
- part{
- name: "glow";
- type: IMAGE;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- min: 80 80;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 {relative: 0.5 0.5; }
- rel2 {relative: 0.5 0.5; }
- image.normal: "01_touch_glow.png";
- }
- description{
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part{
- name: "elm.item.default.color";
- type: RECT;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 255;
- }
- }
- part{
- name: "elm.tabbar.selected.color";
- type: RECT;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- color: 255 255 255 255;
- }
- }
- part{
- name: "elm.toolbar.pressed.color";
- type: RECT;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- color: 151 144 139 255;
- }
- }
- part{
- name: "elm.item.disable.color";
- type: RECT;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- color: 151 144 139 255;
- }
- }
- part{
- name: "elm.item.uneditable.color";
- type: RECT;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 0;
- color: 25 25 25 255;
- }
- }
- }
- programs {
- program {
- name: "selected";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "bg_img";
- }
- program {
- name: "selected_left";
- signal: "elm,state,selected_left";
- source: "elm";
- action: STATE_SET "focused_left" 0.0;
- target: "bg_img";
- }
- program {
- name: "selected_right";
- signal: "elm,state,selected_right";
- source: "elm";
- action: STATE_SET "focused_right" 0.0;
- target: "bg_img";
- }
- program {
- name: "pressed";
- signal: "elm,state,pressed";
- source: "elm";
- action: STATE_SET "pressed" 0.0;
- target: "bg_img";
- }
- program {
- name: "pressed_left";
- signal: "elm,state,pressed_left";
- source: "elm";
- action: STATE_SET "pressed_left" 0.0;
- target: "bg_img";
- }
- program {
- name: "pressed_right";
- signal: "elm,state,pressed_right";
- source: "elm";
- action: STATE_SET "pressed_right" 0.0;
- target: "bg_img";
- }
- program {
- name: "toolbar_pressed";
- signal: "elm,state,toolbar_pressed";
- source: "elm";
- action: STATE_SET "toolbar_pressed" 0.0;
- target: "bg_img";
- }
- program {
- name: "unselected";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_img";
- }
- program {
- name: "unpressed";
- signal: "elm,state,unpressed";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_img";
- }
- }
- }
-
- group{
- name: "elm/controlbar/item/default";
- parts{
- part{
- name: "bg_rect";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- rel1 {relative: 0.0 0.0; offset: 0 0;}
- rel2 {relative: 1.0 1.0; offset: -1 -1;}
- color: 0 0 0 0;
- }
- }
- part{
- name: "elm.swallow.icon_shadow";
- type: SWALLOW;
- scale: 1;
- mouse_events:1;
- description{
- state: "default" 0.0;
- min: 44 44;
- max: 44 44;
- fixed: 1 1;
- visible: 0;
- rel1{offset: 2 2; to: "elm.swallow.icon";}
- rel2{offset: 2 2; to: "elm.swallow.icon";}
- }
- description{
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part{
- name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- mouse_events:1;
- description{
- state: "default" 0.0;
- min: 44 44;
- max: 44 44;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1{to: "bg_rect";}
- rel2{to: "bg_rect";}
- }
- description{
- state: "icon_text" 0.0;
- inherit: "default" 0.0;
- align: 0.5 1.0;
- rel1 {relative: 0.0 0.1; to: "bg_rect";}
- rel2 {relative: 1.0 0.0; to_x: "bg_rect"; to_y: "elm.swallow.text";}
- }
- }
- part{
- name: "elm.swallow.text_shadow";
- type: SWALLOW;
- scale: 1;
- mouse_events:1;
- description{
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1{offset: 2 2; to: "elm.swallow.text";}
- rel2{offset: 2 2; to: "elm.swallow.text";}
- }
- description{
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part{
- name: "elm.swallow.text";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description{
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1{relative: 0.0 0.5; to: "bg_rect";}
- rel2{relative: 1.0 0.5; to: "bg_rect";}
- }
- description{
- state: "icon_text" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 {relative: 0.5 0.6; }
- rel2 {relative: 0.5 1.0; }
- }
- }
- }
-
- programs {
- program {
- name: "default";
- signal: "elm,state,default";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.text";
- target: "elm.swallow.icon";
- }
- program {
- name: "icon_text";
- signal: "elm,state,icon_text";
- source: "elm";
- action: STATE_SET "icon_text" 0.0;
- target: "elm.swallow.text";
- target: "elm.swallow.icon";
- }
- program {
- name: "shadow_show";
- signal: "elm,state,shadow_show";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.swallow.icon_shadow";
- target: "elm.swallow.text_shadow";
- }
- program {
- name: "shadow_hide";
- signal: "elm,state,shadow_hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon_shadow";
- target: "elm.swallow.text_shadow";
- }
- }
- }
-
- group{
- name: "elm/controlbar/item_bg_move/default";
- images{
- image: "00_winset_tab_focus.png" COMP;
- }
-
- parts{
- part{
- name: "bg_img";
- type: IMAGE;
- mouse_events: 0;
- 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;}
- image.normal: "00_winset_tab_focus.png";
- image.border: 7 7 7 0;
- }
- }
- }
- }
-
- group{
- name: "elm/controlbar/item_bg_move_left/default";
- images{
- image: "00_winset_tab_focus_left.png" COMP;
- }
-
- parts{
- part{
- name: "bg_img";
- type: IMAGE;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 1;
- image.normal: "00_winset_tab_focus_left.png";
- image.border: 0 7 7 7;
- }
- }
- }
- }
-
- group{
- name: "elm/controlbar/item_bg_move_right/default";
- images{
- image: "00_winset_tab_focus_right.png" COMP;
- }
-
- parts{
- part{
- name: "bg_img";
- type: IMAGE;
- mouse_events: 0;
- description{
- state: "default" 0.0;
- visible: 1;
- image.normal: "00_winset_tab_focus_right.png";
- image.border: 7 0 7 7;
- }
- }
- }
- }
-
- styles
- {
- style { name: "controlbar_textblock_style";
- base: "font=SLP:style=Medium font_size=18 align=center color=#ffffff wrap=char";
- tag: "br" "\n";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- style { name: "controlbar_textblock_wrap_style";
- base: "font=SLP:style=Medium font_size=18 align=center color=#ffffff wrap=word";
- tag: "br" "\n";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- style { name: "controlbar_textblock_wordwrap_style";
- base: "font=SLP:style=Medium font_size=22 align=center color=#ffffff wrap=word";
- tag: "br" "\n";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- }
-
- group { name: "elm/label/base/controlbar";
- data.item: "default_font_size" "18";
- data.item: "min_font_size" "14";
- data.item: "max_font_size" "60";
-
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- text {
- style: "controlbar_textblock_style";
- min: 1 1;
- }
- }
- }
- }
- }
-
- group { name: "elm/label/base_wrap/controlbar";
- data.item: "default_font_size" "22";
- data.item: "min_font_size" "18";
- data.item: "max_font_size" "60";
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- multiline: 1;
- description { state: "default" 0.0;
- text {
- style: "controlbar_textblock_wrap_style";
- min: 0 1;
- }
- }
- }
- }
- }
-
- group { name: "elm/label/base_wrap_ellipsis/controlbar";
- data.item: "default_font_size" "22";
- data.item: "min_font_size" "18";
- data.item: "max_font_size" "60";
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- 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: "controlbar_textblock_style";
- min: 0 1;
- }
- }
- description { state: "wordwrap_mode" 0.0;
- // FIXME : fixed for multiline ellipsis.
- // does it need to make another ellipsis style?
- fixed: 0 1;
- text {
- style: "controlbar_textblock_wordwrap_style";
- min: 0 1;
- }
- }
- }
- }
- programs {
- program { name: "default_on";
- signal: "elm,state,default";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program { name: "wordwrap_on";
- signal: "elm,state,wordwrap";
- source: "elm";
- action: STATE_SET "wordwrap_mode" 0.0;
- target: "elm.text";
- }
- } // end programs
- } // end group
-
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-///////////////////////////////////////////////////////////////////////////////////////
-//
-// ctxpopup
-//
-///////////////////////////////////////////////////////////////////////////////////////
-
-#define CTXPOPUP_ITEM_PADDING 15
-#define CTXPOPUP_SHADOW_PADDING 10
-#define CTXPOPUP_ITEM_HEIGHT 80
-#define CTXPOPUP_ENTRY_ITEM_HEIGHT 65
-#define CTXPOPUP_ENTRY_ITEM_WIDTH_MAX 150
-#define CTXPOPUP_BTN_HEIGHT 60
-#define CTXPOPUP_CONTENT_WIDTH_MIN 300
-#define CTXPOPUP_CONTENT_WIDTH_MAX 460
-#define CTXPOPUP_CONTENT_HEIGHT_MAX 630
-#define CTXPOPUP_SEPARATOR_COLOR 204 198 180 255
-#define CTXPOPUP_FONT_COLOR 0 0 0 255
-#define CTXPOPUP_CLICKED_FONT_COLOR 255 255 255 255
-#define CTXPOPUP_DISABLED_FONT_COLOR 0 0 0 127
-#define CTXPOPUP_DISABLED_ICON_COLOR 0 0 0 0
-#define CTXPOPUP_ICON_WIDTH 50
-#define CTXPOPUP_ICON_HEIGHT 50
-#define CTXPOPUP_ARROW_SIZE 30
-#define CTXPOPUP_LIST_PADDING 7
-#define CTXPOPUP_LIST_SHADOW_PADDING 3
-
- group {
- name: "elm/scroller/base/ctxpopup";
- 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: "01_scroller.png" COMP;
- }
- parts {
- part {
- name: "clipper";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- max: CTXPOPUP_CONTENT_WIDTH_MAX CTXPOPUP_CONTENT_HEIGHT_MAX;
- }
- }
- part {
- name: "elm.swallow.content";
- clip_to: "clipper";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- max: CTXPOPUP_CONTENT_WIDTH_MAX CTXPOPUP_CONTENT_HEIGHT_MAX;
- 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";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- 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: "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: 14 32;
- rel1 {
- relative: 0.5 0.5;
- to: "sb_vbar";
- }
- rel2 {
- relative: 0.5 0.5;
- to: "sb_vbar";
- }
- image {
- normal: "01_scroller.png";
- border: 0 0 6 6;
- 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";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- 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: "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: 32 12;
- rel1 {relative: 0.5 0.5; to: "sb_hbar";}
- rel2 {relative: 0.5 0.5; to: "sb_hbar";}
- image {
- normal: "01_scroller.png";
- border: 6 6 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);
- }
- }
- 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);
- }
- }
- }
- }
- group {
- name: "elm/ctxpopup/bg/default";
- parts {
- part {
- name: "ctxpopup_bg";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- visible: 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- color: 0 0 0 0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "clicked_event";
- signal: "mouse,clicked,1";
- source: "ctxpopup_bg";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- program {
- name: "show";
- signal: "elm,state,show";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "ctxpopup_bg";
- transition: "DECELERATE" 0.5;
- }
- program {
- name: "hide";
- signal: "elm,state,hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "ctxpopup_bg";
- transition: "DECELERATE" 0.5;
- }
- }
- }
- group {
- name: "elm/ctxpopup/base/default";
- images {
- image: "ctxpopup_bg.png" COMP;
- image: "ctxpopup_shadow.png" COMP;
- image: "ctxpopup_list_bg.png" COMP;
- image: "ctxpopup_left_bottom_corner.png" COMP;
- image: "ctxpopup_right_top_corner.png" COMP;
- image: "ctxpopup_left_top_corner.png" COMP;
- image: "ctxpopup_right_bottom_corner.png" COMP;
- }
- parts {
- part {
- name:"frame_shadow_left_top_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
- max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name:"frame_shadow_right_bottom_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- rel1{relative: 1 1;}
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "frame_shadow";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
- rel2 {to:"frame_shadow_right_bottom_padding";}
- image {
- normal: "ctxpopup_shadow.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- color: 255 255 255 0;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "ctxpopup_frame";
- type: IMAGE;
- scale: 1;
- description {
- image {
- normal: "ctxpopup_bg.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- }
- }
- part {
- name:"list_shadow_right_bottom_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
- max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- rel1 {to:"elm.swallow.scroller"; relative: 1 1;}
- }
- }
- part {
- name: "ctxpopup_list";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- max: CTXPOPUP_CONTENT_WIDTH_MAX CTXPOPUP_CONTENT_HEIGHT_MAX;
- image {
- normal: "ctxpopup_list_bg.png";
- border: 10 10 14 14;
- border_scale: 1;
- }
- rel1 {to: "elm.swallow.scroller";}
- rel2 {to: "list_shadow_right_bottom_padding";}
- color: 255 255 255 0;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name:"scroller_left_top_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name:"scroller_right_bottom_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- rel1 { to:"elm.swallow.btns"; relative: 1 0;}
- rel2 { to:"elm.swallow.btns"; relative: 1 0;}
- align: 0 1;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {to:"scroller_left_top_padding"; relative: 1 1;}
- rel2 {to:"scroller_right_bottom_padding"; relative: 0 0;}
- }
- }
- part {
- name: "elm.swallow.scroller";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {to:"scroller_left_top_padding"; relative: 1 1;}
- rel2 {to:"scroller_right_bottom_padding"; relative: 0 0;}
- }
- description {
- state: "enabled" 0.0;
- //TODO: Remove !
- min: CTXPOPUP_CONTENT_WIDTH_MIN 0;
- rel1 {to:"scroller_left_top_padding"; relative: 1 1;}
- rel2 {to:"scroller_right_bottom_padding"; relative: 0 0;}
- }
- }
- part {
- name: "list_left_bottom_corner";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 10 9;
- max: 10 9;
- rel1 { to: "elm.swallow.content"; relative: 0 1; }
- rel2 { to: "elm.swallow.content"; relative: 0 1; }
- align: 0 1;
- fixed: 1 1;
- image {
- normal: "ctxpopup_left_bottom_corner.png";
- }
- color: 255 255 255 0;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "list_right_top_corner";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 10 9;
- max: 10 9;
- rel1 { to: "elm.swallow.content"; relative: 1 0; }
- rel2 { to: "elm.swallow.content"; relative: 1 0; }
- align: 1 0;
- fixed: 1 1;
- image {
- normal: "ctxpopup_right_top_corner.png";
- }
- color: 255 255 255 0;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "list_left_top_corner";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 10 9;
- max: 10 9;
- rel1 { to: "elm.swallow.content"; relative: 0 0; }
- rel2 { to: "elm.swallow.content"; relative: 0 0; }
- align: 0 0;
- fixed: 1 1;
- image {
- normal: "ctxpopup_left_top_corner.png";
- }
- color: 255 255 255 0;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "list_right_bottom_corner";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 10 9;
- max: 10 9;
- rel1 { to: "elm.swallow.content"; relative: 1 1; }
- rel2 { to: "elm.swallow.content"; relative: 1 1; }
- align: 1 1;
- fixed: 1 1;
- image {
- normal: "ctxpopup_right_bottom_corner.png";
- }
- color: 255 255 255 0;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name:"btns_right_bottom_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: CTXPOPUP_LIST_PADDING 0;
- max: CTXPOPUP_LIST_PADDING 0;
- align: 1 1;
- fixed: 1 1;
- visible: 0;
- }
- description {
- state: "enabled" 0.0;
- min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING;
- align: 1 1;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "elm.swallow.btns";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {relative: 0 1;}
- rel2 {to: "btns_right_bottom_padding"; relative: 0 0;}
- align: 0.5 1;
- fixed: 1 1;
- }
- description {
- state: "enabled" 0.0;
- align: 0.5 1;
- fixed: 1 1;
- rel1 {to: "scroller_left_top_padding"; relative: 1 1; }
- rel2 {to: "btns_right_bottom_padding"; relative: 0 0;}
- }
- }
- }
- programs {
- program {
- name: "enable_buttons";
- signal: "elm,state,buttons,enable";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "btns_right_bottom_padding";
- target: "elm.swallow.btns";
- target: "elm.swallow.scroller";
- }
- program {
- name: "show";
- signal: "elm,state,show";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "ctxpopup_list";
- target: "frame_shadow";
- target: "list_left_top_corner";
- target: "list_left_bottom_corner";
- target: "list_right_top_corner";
- target: "list_right_bottom_corner";
- transition: "DECELERATE" 0.5;
- }
- program {
- name: "hide";
- signal: "elm,state,hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "ctxpopup_list";
- target: "frame_shadow";
- target: "ctxpopup_frame";
- target: "list_left_top_corner";
- target: "list_left_bottom_corner";
- target: "list_right_top_corner";
- target: "list_right_bottom_corner";
- }
- }
- }
- group { name: "elm/ctxpopup/arrow/default";
- images {
- image: "00_popup_tail_left.png" COMP;
- image: "00_popup_tail_right.png" COMP;
- image: "00_popup_tail_top.png" COMP;
- image: "00_popup_tail_bottom.png" COMP;
- }
- parts {
- part {
- name: "ctxpopup_arrow";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- min: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- max: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- fixed: 1 1;
- visible: 0;
- align: 0.5 0.5;
- }
- description {
- state: "left" 0.0;
- min: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- max: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- fixed: 1 1;
- align: 0.0 0.5;
- image {
- normal: "00_popup_tail_left.png";
- }
- }
- description {
- state: "right" 0.0;
- min: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- max: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- fixed: 1 1;
- align: 1.0 0.5;
- image {
- normal: "00_popup_tail_right.png";
-
- }
- }
- description {
- state: "top" 0.0;
- min: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- max: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- fixed: 1 1;
- align: 0.5 0.0;
- image {
- normal: "00_popup_tail_top.png";
- }
- }
- description {
- state: "bottom" 0.0;
- min: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- max: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- fixed: 1 1;
- align: 0.5 1.0;
- image {
- normal: "00_popup_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/separator/default";
- parts {
- part {
- name: "separator";
- type: RECT;
- scale: 1;
- description {
- state: "vertical" 0.0;
- min: 1 1;
- max: CTXPOPUP_CONTENT_WIDTH_MAX 1;
- fixed: 1 1;
- color: CTXPOPUP_SEPARATOR_COLOR;
- }
- description {
- state: "horizontal" 0.0;
- min: 1 1;
- max: 1 CTXPOPUP_ITEM_HEIGHT;
- fixed: 1 1;
- color: CTXPOPUP_SEPARATOR_COLOR;
- }
- }
- }
- programs {
- program {
- name: "vertical";
- signal: "elm,state,vertical";
- source: "elm";
- action: STATE_SET "vertical" 0.0;
- target: "separator";
- }
- program {
- name: "horizontal";
- signal: "elm,state,horizontal";
- source: "elm";
- action: STATE_SET "horizontal" 0.0;
- target: "separator";
- }
- }
- }
- group {
- name: "elm/ctxpopup/text_style_item/default";
- images {
- image: "00_list_bar_press.png" COMP;
- }
- script {
- public disabled_v;
- }
- parts {
- part {
- name: "event_blocker";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- mouse_events: 0;
- type: IMAGE;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- description {
- state: "clicked" 0.0;
- image {
- normal: "00_list_bar_press.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- }
- }
- part {
- name: "left_padding";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 30 CTXPOPUP_ITEM_HEIGHT;
- max: 30 CTXPOPUP_ITEM_HEIGHT;
- 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: 1 CTXPOPUP_ITEM_HEIGHT;
- max: (CTXPOPUP_CONTENT_WIDTH_MAX-2*CTXPOPUP_ITEM_PADDING) CTXPOPUP_ITEM_HEIGHT;
- fixed: 0 1;
- 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_FONT_COLOR;
- text {
- font: "SLP:style=Roman";
- size: 34;
- align: 0.5 0.5;
- min: 1 1;
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: CTXPOPUP_CLICKED_FONT_COLOR;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: CTXPOPUP_DISABLED_FONT_COLOR;
- }
- }
- part {
- name: "right_padding";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 30 CTXPOPUP_ITEM_HEIGHT;
- max: 30 CTXPOPUP_ITEM_HEIGHT;
- fixed: 1 0;
- align: 1.0 0.5;
- }
- }
- part {
- name: "over1";
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- }
- programs {
- program {
- name: "item_unclick3";
- signal: "mouse,up,1";
- source: "over1";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- program {
- name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- after: "disable_text";
- }
- program {
- name: "disable_text";
- script {
- set_state(PART:"elm.text", "disabled", 0.0);
- set_int( disabled_v, 1 );
- }
- }
- program {
- name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- after: "enable_text";
- }
- program {
- name: "enable_text";
- script {
- set_state(PART:"elm.text", "enabled", 0.0);
- set_int( disabled_v, 0 );
- }
- }
- program {
- name: "item_click";
- signal: "mouse,down,1";
- source: "over2";
- script {
- if(!get_int( disabled_v)) {
- set_state(PART:"elm.text", "clicked", 0.0);
- set_state(PART:"bg", "clicked", 0.0);
- }
- }
- }
- }
- program {
- name: "item_unclick";
- signal: "mouse,up,1";
- source: "over2";
- script {
- if(!get_int(disabled_v)) {
- set_state(PART:"elm.text", "default", 0.0);
- set_state(PART:"bg", "default", 0.0);
- }
- }
- }
- }
- group {
- name: "elm/ctxpopup/icon_style_item/default";\
- images {
- image: "00_list_bar_press.png" COMP;
- }
- script {
- public disabled_v;
- }
- parts {
- part {
- name: "event_blocker";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- mouse_events: 0;
- type: IMAGE;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- description {
- state: "clicked" 0.0;
- image {
- normal: "00_list_bar_press.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- }
- }
- part {
- name: "left_top_padding";
- type: RECT;
- scale: 1;
- description {
- min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_PADDING;
- max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_PADDING;
- visible: 0;
- align: 0 0;
- fixed: 1 1;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- min: (CTXPOPUP_ICON_WIDTH+30) CTXPOPUP_ICON_HEIGHT;
- max: (CTXPOPUP_ICON_WIDTH+30) CTXPOPUP_ICON_HEIGHT;
- align: 0.5 0.5;
- aspect: 1.0 1.0;
- rel1 { to: "left_top_padding"; relative: 1 1; }
- rel2 { to: "right_bottom_padding"; relative: 0 0; }
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: CTXPOPUP_DISABLED_ICON_COLOR;
- }
- }
- part {
- name: "right_bottom_padding";
- type: RECT;
- scale: 1;
- description {
- min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_PADDING;
- max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_PADDING;
- visible: 0;
- align: 1 1;
- fixed: 1 1;
- }
- }
- part {
- name: "over1";
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- }
- programs {
- program {
- name: "item_unclick3";
- signal: "mouse,up,1";
- source: "over1";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- program {
- name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- after: "disable_icon";
- }
- program {
- name: "disable_icon";
- script {
- set_state(PART:"elm.swallow.icon", "disabled", 0.0);
- set_int(disabled_v, 1);
- }
- }
- program {
- name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- after: "enable_icon";
- }
- program {
- name: "enable_icon";
- script {
- set_state(PART:"elm.swallow.icon", "default", 0.0);
- set_int(disabled_v, 0);
- }
- }
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- script {
- if(!get_int( disabled_v)) {
- set_state(PART:"bg", "clicked", 0.0);
- }
- }
- }
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over2";
- script {
- if(!get_int(disabled_v)) {
- set_state(PART:"bg", "default", 0.0);
- }
- }
- }
- }
-group {
- name: "elm/ctxpopup/icon_text_style_item/default";
- images {
- image: "00_list_bar_press.png" COMP;
- }
- script {
- public disabled_v;
- }
- parts {
- part {
- name: "event_blocker";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- }
- }
- part {
- name: "bg";
- mouse_events: 0;
- type: IMAGE;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- description {
- state: "clicked" 0.0;
- image {
- normal: "00_list_bar_press.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- }
- }
- part {
- name: "icon_left_padding";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
- max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- min: CTXPOPUP_ICON_WIDTH CTXPOPUP_ICON_HEIGHT;
- max: CTXPOPUP_ICON_WIDTH CTXPOPUP_ICON_HEIGHT;
- align: 0 0.5;
- aspect: 1.0 1.0;
- rel1 { to:"icon_left_padding"; relative: 1 0; }
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: CTXPOPUP_DISABLED_ICON_COLOR;
- }
- }
- part {
- name: "icon_right_padding";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
- max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
- 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;
- max: (CTXPOPUP_CONTENT_WIDTH_MAX-(3*CTXPOPUP_ITEM_PADDING)-CTXPOPUP_ICON_WIDTH) CTXPOPUP_ITEM_HEIGHT;
- fixed: 0 1;
- align: 0.5 0.5;
- rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";}
- rel2 {relative: 0.0 1.0; to_x: "text_right_padding";}
- color: CTXPOPUP_FONT_COLOR;
- text {
- font: "SLP:style=Roman";
- size: 30;
- align: 0.0 0.5;
- min: 1 1;
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: CTXPOPUP_CLICKED_FONT_COLOR;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: CTXPOPUP_DISABLED_FONT_COLOR;
- }
- }
- part {
- name: "text_right_padding";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- min: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
- max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT;
- fixed: 1 0;
- align: 1.0 0.5;
- }
- }
- part {
- name: "over1";
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- }
- programs {
- program {
- name: "item_unclick3";
- signal: "mouse,up,1";
- source: "over1";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- program {
- name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- after: "disable_text";
- }
- program {
- name: "disable_text";
- script {
- set_state(PART:"elm.text", "disabled", 0.0);
- set_int( disabled_v, 1 );
- }
- }
- program {
- name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- after: "enable_text";
- }
- program {
- name: "enable_text";
- script {
- set_state(PART:"elm.text", "enabled", 0.0);
- set_int( disabled_v, 0 );
- }
- }
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- script {
- if(!get_int( disabled_v)) {
- set_state(PART:"elm.text", "clicked", 0.0);
- set_state(PART:"bg", "clicked", 0.0);
- }
- }
- }
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over2";
- script {
- if(!get_int(disabled_v)) {
- set_state(PART:"elm.text", "default", 0.0);
- set_state(PART:"bg", "default", 0.0);
- }
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
-#define CTXPOPUP_ENTRY_LIST_PADDING_LEFT_TOP 5
-#define CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM 9
-#define CTXPOPUP_ENTRY_FONT_COLOR 118 118 118 255
-#define CTXPOPUP_ENTRY_SEPARATOR_COLOR 171 171 171 255
-
- group {
- name: "elm/ctxpopup/base/extended/entry";
- images {
- image: "ctxpopup_bg.png" COMP;
- image: "ctxpopup_shadow.png" COMP;
- image: "00_btn_copy&paste_n.png" COMP;
- image: "ctxpopup_left_bottom_corner.png" COMP;
- image: "ctxpopup_right_top_corner.png" COMP;
- image: "ctxpopup_left_top_corner.png" COMP;
- image: "ctxpopup_right_bottom_corner.png" COMP;
- }
- parts {
- part {
- name:"frame_shadow_left_top_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
- max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING;
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name:"frame_shadow_right_bottom_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM;
- max: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM;
- rel1{relative: 1 1;}
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "frame_shadow";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;}
- rel2 {to:"frame_shadow_right_bottom_padding";}
- image {
- normal: "ctxpopup_shadow.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- color: 255 255 255 0;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "ctxpopup_frame";
- type: IMAGE;
- scale: 1;
- description {
- image {
- normal: "00_btn_copy&paste_n.png";
- border: 6 10 10 10;
- border_scale: 1;
- }
- }
- }
- part {
- name:"list_shadow_right_bottom_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
- max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING;
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- rel1 {to:"elm.swallow.scroller"; relative: 1 1;}
- }
- }
- part {
- name: "ctxpopup_list";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- max: CTXPOPUP_CONTENT_WIDTH_MAX CTXPOPUP_CONTENT_HEIGHT_MAX;
- //image {
- // normal: "ctxpopup_list_bg.png";
- // border: 10 10 14 14;
- // border_scale: 1;
- //}
- rel1 {to: "elm.swallow.scroller";}
- rel2 {to: "list_shadow_right_bottom_padding";}
- color: 255 255 255 0;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name:"scroller_left_top_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: CTXPOPUP_ENTRY_LIST_PADDING_LEFT_TOP CTXPOPUP_ENTRY_LIST_PADDING_LEFT_TOP;
- max: CTXPOPUP_ENTRY_LIST_PADDING_LEFT_TOP CTXPOPUP_ENTRY_LIST_PADDING_LEFT_TOP;
- align: 0 0;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name:"scroller_right_bottom_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- min: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM;
- max: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM;
- rel1 { to:"elm.swallow.btns"; relative: 1 0;}
- rel2 { to:"elm.swallow.btns"; relative: 1 0;}
- align: 0 1;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {to:"scroller_left_top_padding"; relative: 1 1;}
- rel2 {to:"scroller_right_bottom_padding"; relative: 0 0;}
- }
- }
- part {
- name: "elm.swallow.scroller";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 {to:"scroller_left_top_padding"; relative: 1 1;}
- rel2 {to:"scroller_right_bottom_padding"; relative: 0 0;}
- }
- description {
- state: "enabled" 0.0;
- min: CTXPOPUP_CONTENT_WIDTH_MIN 0;
- rel1 {to:"scroller_left_top_padding"; relative: 1 1;}
- rel2 {to:"scroller_right_bottom_padding"; relative: 0 0;}
- }
- }
- part {
- name: "list_left_bottom_corner";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 10 9;
- max: 10 9;
- rel1 { to: "elm.swallow.content"; relative: 0 1; }
- rel2 { to: "elm.swallow.content"; relative: 0 1; }
- align: 0 1;
- fixed: 1 1;
- //image {
- // normal: "ctxpopup_left_bottom_corner.png";
- //}
- color: 255 255 255 0;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "list_right_top_corner";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 10 9;
- max: 10 9;
- rel1 { to: "elm.swallow.content"; relative: 1 0; }
- rel2 { to: "elm.swallow.content"; relative: 1 0; }
- align: 1 0;
- fixed: 1 1;
- //image {
- // normal: "ctxpopup_right_top_corner.png";
- //}
- color: 255 255 255 0;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "list_left_top_corner";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 10 9;
- max: 10 9;
- rel1 { to: "elm.swallow.content"; relative: 0 0; }
- rel2 { to: "elm.swallow.content"; relative: 0 0; }
- align: 0 0;
- fixed: 1 1;
- //image {
- // normal: "ctxpopup_left_top_corner.png";
- //}
- color: 255 255 255 0;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "list_right_bottom_corner";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 10 9;
- max: 10 9;
- rel1 { to: "elm.swallow.content"; relative: 1 1; }
- rel2 { to: "elm.swallow.content"; relative: 1 1; }
- align: 1 1;
- fixed: 1 1;
- //image {
- // normal: "ctxpopup_right_bottom_corner.png";
- //}
- color: 255 255 255 0;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name:"btns_right_bottom_padding";
- type:RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM 0;
- max: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM 0;
- align: 1 1;
- fixed: 1 1;
- visible: 0;
- }
- description {
- state: "enabled" 0.0;
- min: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM;
- max: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM CTXPOPUP_ENTRY_LIST_PADDING_RIGHT_BOTTOM;
- align: 1 1;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "elm.swallow.btns";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {relative: 0 1;}
- rel2 {to: "btns_right_bottom_padding"; relative: 0 0;}
- align: 0.5 1;
- fixed: 1 1;
- }
- description {
- state: "enabled" 0.0;
- align: 0.5 1;
- fixed: 1 1;
- rel1 {to: "scroller_left_top_padding"; relative: 1 1; }
- rel2 {to: "btns_right_bottom_padding"; relative: 0 0;}
- }
- }
- }
- programs {
- program {
- name: "enable_buttons";
- signal: "elm,state,buttons,enable";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "btns_right_bottom_padding";
- target: "elm.swallow.btns";
- target: "elm.swallow.scroller";
- }
- program {
- name: "show";
- signal: "elm,state,show";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "ctxpopup_list";
- target: "frame_shadow";
- target: "list_left_top_corner";
- target: "list_left_bottom_corner";
- target: "list_right_top_corner";
- target: "list_right_bottom_corner";
- transition: "DECELERATE" 0.5;
- }
- program {
- name: "hide";
- signal: "elm,state,hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "ctxpopup_list";
- target: "frame_shadow";
- target: "list_left_top_corner";
- target: "list_left_bottom_corner";
- target: "list_right_top_corner";
- target: "list_right_bottom_corner";
- }
- }
- }
- group { name: "elm/ctxpopup/arrow/extended/entry";
- parts {
- part {
- name: "ctxpopup_arrow";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- min: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- max: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- fixed: 1 1;
- visible: 0;
- align: 0.5 0.5;
- }
- description {
- state: "left" 0.0;
- min: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- max: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- fixed: 1 1;
- align: 0.0 0.5;
- }
- description {
- state: "right" 0.0;
- min: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- max: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- fixed: 1 1;
- align: 1.0 0.5;
- }
- description {
- state: "top" 0.0;
- min: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- max: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- fixed: 1 1;
- align: 0.5 0.0;
- }
- description {
- state: "bottom" 0.0;
- min: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- max: CTXPOPUP_ARROW_SIZE CTXPOPUP_ARROW_SIZE;
- fixed: 1 1;
- align: 0.5 1.0;
- }
- }
- }
- 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/separator/default";
- parts {
- part {
- name: "separator";
- type: RECT;
- scale: 1;
- description {
- state: "vertical" 0.0;
- min: 1 1;
- max: CTXPOPUP_CONTENT_WIDTH_MAX 1;
- fixed: 1 1;
- color: CTXPOPUP_ENTRY_SEPARATOR_COLOR;
- }
- description {
- state: "horizontal" 0.0;
- min: 1 1;
- max: 1 CTXPOPUP_ITEM_HEIGHT;
- fixed: 1 1;
- color: CTXPOPUP_ENTRY_SEPARATOR_COLOR;
- }
- }
- }
- programs {
- program {
- name: "vertical";
- signal: "elm,state,vertical";
- source: "elm";
- action: STATE_SET "vertical" 0.0;
- target: "separator";
- }
- program {
- name: "horizontal";
- signal: "elm,state,horizontal";
- source: "elm";
- action: STATE_SET "horizontal" 0.0;
- target: "separator";
- }
- }
- }
- group {
- name: "elm/ctxpopup/text_style_item/extended/entry";
- images {
- image: "00_list_bar_press.png" COMP;
- }
- script {
- public disabled_v;
- }
- parts {
- part {
- name: "event_blocker";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- mouse_events: 0;
- type: IMAGE;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- description {
- state: "clicked" 0.0;
- image {
- normal: "00_list_bar_press.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- }
- }
- part {
- name: "left_padding";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 16 CTXPOPUP_ENTRY_ITEM_HEIGHT;
- max: 16 CTXPOPUP_ENTRY_ITEM_HEIGHT;
- 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: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT;
- max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT;
- fixed: 0 1;
- 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_ENTRY_FONT_COLOR;
- text {
- font: "SLP:style=Roman";
- size: 26;
- align: 0.5 0.5;
- min: 1 1;
- }
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: CTXPOPUP_CLICKED_FONT_COLOR;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: CTXPOPUP_DISABLED_FONT_COLOR;
- }
- }
- part {
- name: "right_padding";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 16 CTXPOPUP_ENTRY_ITEM_HEIGHT;
- max: 16 CTXPOPUP_ENTRY_ITEM_HEIGHT;
- fixed: 1 0;
- align: 1.0 0.5;
- }
- }
- part {
- name: "over1";
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "over2";
- mouse_events: 1;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- }
- programs {
- program {
- name: "item_unclick3";
- signal: "mouse,up,1";
- source: "over1";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- program {
- name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- after: "disable_text";
- }
- program {
- name: "disable_text";
- script {
- set_state(PART:"elm.text", "disabled", 0.0);
- set_int( disabled_v, 1 );
- }
- }
- program {
- name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- after: "enable_text";
- }
- program {
- name: "enable_text";
- script {
- set_state(PART:"elm.text", "enabled", 0.0);
- set_int( disabled_v, 0 );
- }
- }
- program {
- name: "item_click";
- signal: "mouse,down,1";
- source: "over2";
- script {
- if(!get_int( disabled_v)) {
- set_state(PART:"elm.text", "clicked", 0.0);
- set_state(PART:"bg", "clicked", 0.0);
- }
- }
- }
- }
- program {
- name: "item_unclick";
- signal: "mouse,up,1";
- source: "over2";
- script {
- if(!get_int(disabled_v)) {
- set_state(PART:"elm.text", "default", 0.0);
- set_state(PART:"bg", "default", 0.0);
- }
- }
- }
- }
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define DATE_HEIGHT 80
-#define HYBRID_PADDING 5
-#define TIME_PADDING 12
-
-images {
- image: "00_list_group_bg.png" COMP;
- image: "00_datepicker_button_normal.png" COMP;
- image: "00_datepicker_button_focus.png" COMP;
- image: "00_datepicker_editfield_left.png" COMP;
- image: "00_datepicker_editfield_right.png" COMP;
- image: "00_datepicker_editfield_whole.png" COMP;
- image: "00_calend_picker_day_press.png" COMP;
-}
-
-/////// time and date mode ////////
-group {
- name: "elm/datefield/dateandtime/default";
- alias: "elm/datefield/base/default";
-
- parts {
- part {
- name: "elm.image.date";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 DATE_HEIGHT;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 0.527 1.0; }
- image {
- normal: "00_list_group_bg.png";
- border: 12 12 12 12;
- border_scale: 1;
- }
- }
- }
- part {
- name: "elm.image.date.focus";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.image.date"; }
- rel2 { relative: 1.0 0.94; to: "elm.image.date"; }
- image {
- normal: "00_datepicker_editfield_whole.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.rect.date.left.pad";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.038 1.0; to: "elm.image.date"; }
- }
- }
- part {
- name: "elm.rect.date.right.pad";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 { relative: 0.966 0.0; to: "elm.image.date"; }
- rel2 { relative: 1.0 1.0; to: "elm.image.date"; }
- }
- }
- part {
- name: "elm.image.date.year.focus";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.date.year"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.date.year"; }
- image {
- normal: "00_calend_picker_day_press.png";
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.date.year";
- type: SWALLOW;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- rel1 { relative: 0.5 0.5; to: "elm.rect.date.year.over"; }
- rel2 { relative: 0.5 0.5; to: "elm.rect.date.year.over"; }
- }
- }
- part {
- name: "elm.image.date.month.focus";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.date.month"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.date.month"; }
- image {
- normal: "00_calend_picker_day_press.png";
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.date.month";
- type: SWALLOW;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- rel1 { relative: 0.463 0.5; to: "elm.rect.date.month.over"; }
- rel2 { relative: 0.463 0.5; to: "elm.rect.date.month.over"; }
- }
- }
- part {
- name: "elm.text.date.comma";
- type: TEXT;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- text {
- font: "SLP:style=Roman";
- size: 32;
- align: 0.7 0.5;
- }
- rel1 { relative: 0.813 0.5; to: "elm.rect.date.month.over"; }
- rel2 { relative: 1.0 0.5; to: "elm.rect.date.month.over"; }
- color: 0 0 0 255;
- }
- }
- part {
- name: "elm.image.date.day.focus";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.date.day"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.date.day"; }
- image {
- normal: "00_calend_picker_day_press.png";
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.date.day";
- type: SWALLOW;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- rel1 { relative: 0.5 0.5; to: "elm.rect.date.day.over"; }
- rel2 { relative: 0.5 0.5; to: "elm.rect.date.day.over"; }
- }
- }
- part {
- name: "elm.rect.date.year.over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0; //mmddyy
- color: 0 0 0 0;
- rel1 { relative: 0.595 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.966 1.0; to: "elm.image.date"; }
- }
- description {
- state: "yymmdd" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.038 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.409 1.0; to: "elm.image.date"; }
- }
- description {
- state: "yyddmm" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.038 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.409 1.0; to: "elm.image.date"; }
- }
- description {
- state: "mmyydd" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.376 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.747 1.0; to: "elm.image.date"; }
- }
- description {
- state: "ddyymm" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.257 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.629 1.0; to: "elm.image.date"; }
- }
- description {
- state: "ddmmyy" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.595 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.966 1.0; to: "elm.image.date"; }
- }
- }
- part {
- name: "elm.rect.date.month.over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0; //mmddyy
- color: 0 0 0 0;
- rel1 { relative: 0.038 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.376 1.0; to: "elm.image.date"; }
- }
- description {
- state: "mmyydd" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.038 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.376 1.0; to: "elm.image.date"; }
- }
- description {
- state: "yymmdd" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.409 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.747 1.0; to: "elm.image.date"; }
- }
- description {
- state: "ddmmyy" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.257 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.595 1.0; to: "elm.image.date"; }
- }
- description {
- state: "ddyymm" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.629 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.966 1.0; to: "elm.image.date"; }
- }
- description {
- state: "yyddmm" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.629 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.966 1.0; to: "elm.image.date"; }
- }
- }
- part {
- name: "elm.rect.date.day.over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0; //mmddyy
- color: 0 0 0 0;
- rel1 { relative: 0.376 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.595 1.0; to: "elm.image.date"; }
- }
- description {
- state: "ddmmyy" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.038 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.257 1.0; to: "elm.image.date"; }
- }
- description {
- state: "ddyymm" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.038 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.257 1.0; to: "elm.image.date"; }
- }
- description {
- state: "yyddmm" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.409 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.629 1.0; to: "elm.image.date"; }
- }
- description {
- state: "yymmdd" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.747 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.966 1.0; to: "elm.image.date"; }
- }
- description {
- state: "mmyydd" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.747 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.966 1.0; to: "elm.image.date"; }
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: HYBRID_PADDING 0;
- fixed: 1 1;
- align: 0.0 0.5;
- visible: 0;
- rel1 { relative: 1.0 0.0; to: "elm.image.date"; }
- rel2 { relative: 1.0 1.0; to: "elm.image.date"; }
- }
- }
- part {
- name: "elm.image.time";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad2"; }
- image {
- normal: "00_list_group_bg.png";
- border: 12 12 12 12;
- border_scale: 1;
- }
- }
- }
- part {
- name: "elm.image.time.left.focus";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.image.time"; }
- rel2 { relative: 0.5 0.94; to: "elm.image.time"; }
- image {
- normal: "00_datepicker_editfield_left.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.image.time.right.focus";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.5.0 0.0; to: "elm.image.time"; }
- rel2 { relative: 1.0 0.94; to: "elm.image.time"; }
- image {
- normal: "00_datepicker_editfield_right.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.text.colon";
- type: TEXT;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- text {
- font: "SLP:style=Roman";
- size: 32;
- align: 0.6 0.5;
- }
- rel1 { relative: 0.408 0.5; to: "elm.image.time"; }
- rel2 { relative: 0.592 0.5; to: "elm.image.time"; }
- color: 0 0 0 255;
- }
- }
- part {
- name: "elm.image.time.hour.focus";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.time.hour"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.time.hour"; }
- image {
- normal: "00_calend_picker_day_press.png";
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.time.hour";
- type: SWALLOW;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- rel1 { relative: 0.538 0.5; to: "elm.rect.time.hour.over"; }
- rel2 { relative: 0.538 0.5; to: "elm.rect.time.hour.over"; }
- }
- }
- part {
- name: "elm.image.time.min.focus";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.time.min"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.time.min"; }
- image {
- normal: "00_calend_picker_day_press.png";
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.time.min";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- rel1 { relative: 0.462 0.5; to: "elm.rect.time.min.over"; }
- rel2 { relative: 0.462 0.5; to: "elm.rect.time.min.over"; }
- }
- }
- part {
- name: "elm.rect.time.hour.over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.image.time"; }
- rel2 { relative: 0.5 1.0; to: "elm.image.time"; }
- }
- }
- part {
- name: "elm.rect.time.min.over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 { relative: 0.5 0.0; to: "elm.image.time"; }
- rel2 { relative: 1.0 1.0; to: "elm.image.time"; }
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: HYBRID_PADDING 0;
- fixed: 1 1;
- align: 1.0 0.5;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.image.ampm"; }
- rel2 { relative: 0.0 1.0; to: "elm.image.ampm"; }
- }
- description {
- state: "hidden" 0.0;
- inherit: "default" 0.0;
- min: 0 0;
- }
- }
- part {
- name: "elm.image.ampm";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- //min: 0 DATE_HEIGHT;
- rel1 { relative: 0.838 0.0; }
- rel2 { relative: 1.0 1.0; }
- image {
- normal: "00_datepicker_button_normal.png";
- border: 12 12 12 12;
- border_scale: 1;
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_datepicker_button_focus.png";
- border: 12 12 12 12;
- border_scale: 1;
- }
- }
- description {
- state: "hidden" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 1.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.text.ampm";
- type: TEXT;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- text {
- font: "SLP:style=Roman";
- size: 32;
- align: 0.5 0.5;
- }
- rel1 { relative: 0.0 0.5; to: "elm.image.ampm"; }
- rel2 { relative: 1.0 0.5.; to: "elm.image.ampm"; }
- color: 0 0 0 255;
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "elm.rect.time.ampm.over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.image.ampm"; }
- rel2 { relative: 1.0 1.0; to: "elm.image.ampm"; }
- }
- }
- }
- programs {
- program {
- name: "year_focus_in";
- signal: "elm,state,year,focus,in";
- source: "elm";
- action: STATE_SET "focus" 0.0;
- target: "elm.image.date.focus";
- target: "elm.image.date.year.focus";
- }
- program {
- name: "year_focus_out";
- signal: "elm,state,year,focus,out";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.image.date.year.focus";
- target: "elm.image.date.focus";
- }
- program {
- name: "month_focus_in";
- signal: "elm,state,month,focus,in";
- source: "elm";
- action: STATE_SET "focus" 0.0;
- target: "elm.image.date.focus";
- target: "elm.image.date.month.focus";
- }
- program {
- name: "month_focus_out";
- signal: "elm,state,month,focus,out";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.image.date.month.focus";
- target: "elm.image.date.focus";
- }
- program {
- name: "day_focus_in";
- signal: "elm,state,day,focus,in";
- source: "elm";
- action: STATE_SET "focus" 0.0;
- target: "elm.image.date.focus";
- target: "elm.image.date.day.focus";
- }
- program {
- name: "day_focus_out";
- signal: "elm,state,day,focus,out";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.image.date.day.focus";
- target: "elm.image.date.focus";
- }
- program {
- name: "hour_focus_in";
- signal: "elm,state,hour,focus,in";
- source: "elm";
- action: STATE_SET "focus" 0.0;
- target: "elm.image.time.left.focus";
- target: "elm.image.time.hour.focus";
- }
- program {
- name: "hour_focus_out";
- signal: "elm,state,hour,focus,out";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.image.time.hour.focus";
- target: "elm.image.time.left.focus";
- }
- program {
- name: "min_focus_in";
- signal: "elm,state,min,focus,in";
- source: "elm";
- action: STATE_SET "focus" 0.0;
- target: "elm.image.time.right.focus";
- target: "elm.image.time.min.focus";
- }
- program {
- name: "min_focus_out";
- signal: "elm,state,min,focus,out";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.image.time.min.focus";
- target: "elm.image.time.right.focus";
- }
- program {
- name: "ampm_focus_in";
- signal: "mouse,down,1";
- source: "elm.rect.time.ampm.over";
- action: STATE_SET "focus" 0.0;
- target: "elm.image.ampm";
- target: "elm.text.ampm";
- }
- program {
- name: "ampm_focus_out";
- signal: "mouse,up,1";
- source: "elm.rect.time.ampm.over";
- action: STATE_SET "default" 0.0;
- target: "elm.image.ampm";
- target: "elm.text.ampm";
- }
- program {
- name: "format_yyddmm";
- signal: "elm,state,format,yyddmm";
- source: "elm";
- action: STATE_SET "yyddmm" 0.0;
- target: "elm.rect.date.year.over";
- target: "elm.rect.date.month.over";
- target: "elm.rect.date.day.over";
- target: "elm.text.date.comma";
- }
- program {
- name: "format_yymmdd";
- signal: "elm,state,format,yymmdd";
- source: "elm";
- action: STATE_SET "yymmdd" 0.0;
- target: "elm.rect.date.year.over";
- target: "elm.rect.date.month.over";
- target: "elm.rect.date.day.over";
- target: "elm.text.date.comma";
- }
- program {
- name: "format_mmyydd";
- signal: "elm,state,format,mmyydd";
- source: "elm";
- action: STATE_SET "mmyydd" 0.0;
- target: "elm.rect.date.year.over";
- target: "elm.rect.date.month.over";
- target: "elm.rect.date.day.over";
- target: "elm.text.date.comma";
- }
- program {
- name: "format_ddyymm";
- signal: "elm,state,format,ddyymm";
- source: "elm";
- action: STATE_SET "ddyymm" 0.0;
- target: "elm.rect.date.year.over";
- target: "elm.rect.date.month.over";
- target: "elm.rect.date.day.over";
- target: "elm.text.date.comma";
- }
- program {
- name: "format_mmddyy";
- signal: "elm,state,format,mmddyy";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.date.year.over";
- target: "elm.rect.date.month.over";
- target: "elm.rect.date.day.over";
- target: "elm.text.date.comma";
- }
- program {
- name: "format_ddmmyy";
- signal: "elm,state,format,ddmmyy";
- source: "elm";
- action: STATE_SET "ddmmyy" 0.0;
- target: "elm.rect.date.year.over";
- target: "elm.rect.date.month.over";
- target: "elm.rect.date.day.over";
- target: "elm.text.date.comma";
- }
- program {
- name: "24h_mode";
- signal: "elm,state,mode,24h";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.rect.pad2";
- target: "elm.image.ampm";
- }
- program {
- name: "12h_mode";
- signal: "elm,state,mode,12h";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad2";
- target: "elm.image.ampm";
- }
- }
-}
-
-//////////// time mode /////////////
-group {
- name: "elm/datefield/time/default";
-
- parts {
- part {
- name: "elm.image.time";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 DATE_HEIGHT;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 0.665 1.0; }
- image {
- normal: "00_list_group_bg.png";
- border: 12 12 12 12;
- border_scale: 1;
- }
- }
- description {
- state: "hidden" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.image.time.left.focus";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.image.time"; }
- rel2 { relative: 0.502 0.94; to: "elm.image.time"; }
- image {
- normal: "00_datepicker_editfield_left.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.image.time.right.focus";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.502 0.0; to: "elm.image.time"; }
- rel2 { relative: 1.0 0.94; to: "elm.image.time"; }
- image {
- normal: "00_datepicker_editfield_right.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.text.colon";
- type: TEXT;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- text {
- font: "SLP:style=Roman";
- size: 40;
- align: 0.8 0.5;
- }
- rel1 { relative: 0.462 0.5; to: "elm.image.time"; }
- rel2 { relative: 0.538 0.5; to: "elm.image.time"; }
- color: 0 0 0 255;
- }
- }
- part {
- name: "elm.image.time.hour.focus";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.time.hour"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.time.hour"; }
- image {
- normal: "00_calend_picker_day_press.png";
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.time.hour";
- type: SWALLOW;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- rel1 { relative: 0.6 0.5; to: "elm.rect.time.hour.over"; }
- rel2 { relative: 0.6 0.5; to: "elm.rect.time.hour.over"; }
- }
- }
- part {
- name: "elm.image.time.min.focus";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.time.min"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.time.min"; }
- image {
- normal: "00_calend_picker_day_press.png";
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.time.min";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- rel1 { relative: 0.4 0.5; to: "elm.rect.time.min.over"; }
- rel2 { relative: 0.4 0.5; to: "elm.rect.time.min.over"; }
- }
- }
- part {
- name: "elm.rect.time.hour.over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.image.time"; }
- rel2 { relative: 0.502 1.0; to: "elm.image.time"; }
- }
- }
- part {
- name: "elm.rect.time.min.over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 { relative: 0.502 0.0; to: "elm.image.time"; }
- rel2 { relative: 1.0 1.0; to: "elm.image.time"; }
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: TIME_PADDING 0;
- fixed: 1 1;
- align: 0.0 0.5;
- visible: 0;
- rel1 { relative: 1.0 0.0; to: "elm.image.time"; }
- rel2 { relative: 1.0 1.0; to: "elm.image.time"; }
- }
- description {
- state: "hidden" 0.0;
- inherit: "default" 0.0;
- min: 0 0;
- }
- }
- part {
- name: "elm.image.ampm";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 1.0 1.0; }
- image {
- normal: "00_datepicker_button_normal.png";
- border: 12 12 12 12;
- border_scale: 1;
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_datepicker_button_focus.png";
- border: 12 12 12 12;
- border_scale: 1;
- }
- }
- }
- part {
- name: "elm.text.ampm";
- type: TEXT;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- text {
- font: "SLP:style=Roman";
- size: 40;
- align: 0.5 0.5;
- }
- rel1 { relative: 0.0 0.5; to: "elm.image.ampm"; }
- rel2 { relative: 1.0 0.5.; to: "elm.image.ampm"; }
- color: 0 0 0 255;
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "elm.rect.time.ampm.over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.image.ampm"; }
- rel2 { relative: 1.0 1.0; to: "elm.image.ampm"; }
- }
- }
- }
- programs {
- program {
- name: "hour_focus_in";
- signal: "elm,state,hour,focus,in";
- source: "elm";
- action: STATE_SET "focus" 0.0;
- target: "elm.image.time.left.focus";
- target: "elm.image.time.hour.focus";
- }
- program {
- name: "hour_focus_out";
- signal: "elm,state,hour,focus,out";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.image.time.hour.focus";
- target: "elm.image.time.left.focus";
- }
- program {
- name: "min_focus_in";
- signal: "elm,state,min,focus,in";
- source: "elm";
- action: STATE_SET "focus" 0.0;
- target: "elm.image.time.right.focus";
- target: "elm.image.time.min.focus";
- }
- program {
- name: "min_focus_out";
- signal: "elm,state,min,focus,out";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.image.time.min.focus";
- target: "elm.image.time.right.focus";
- }
- program {
- name: "ampm_focus_in";
- signal: "mouse,down,1";
- source: "elm.rect.time.ampm.over";
- action: STATE_SET "focus" 0.0;
- target: "elm.image.ampm";
- target: "elm.text.ampm";
- }
- program {
- name: "ampm_focus_out";
- signal: "mouse,up,1";
- source: "elm.rect.time.ampm.over";
- action: STATE_SET "default" 0.0;
- target: "elm.image.ampm";
- target: "elm.text.ampm";
- }
- program {
- name: "24h_mode";
- signal: "elm,state,mode,24h";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.rect.pad2";
- target: "elm.image.time";
- }
- program {
- name: "12h_mode";
- signal: "elm,state,mode,12h";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad2";
- target: "elm.image.time";
- }
- }
-}
-
-/////////// date mode ////////////
-group {
- name: "elm/datefield/date/default";
-
- parts {
- part {
- name: "elm.image.date";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 DATE_HEIGHT;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- image {
- normal: "00_list_group_bg.png";
- border: 12 12 12 12;
- border_scale: 1;
- }
- }
- }
- part {
- name: "elm.image.date.focus";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.image.date"; }
- rel2 { relative: 1.0 0.94; to: "elm.image.date"; }
- image {
- normal: "00_datepicker_editfield_whole.png";
- border: 10 10 10 10;
- border_scale: 1;
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.rect.date.left.pad";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.064 1.0; to: "elm.image.date"; }
- }
- }
- part {
- name: "elm.rect.date.right.pad";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel1 { relative: 0.938 0.0; to: "elm.image.date"; }
- rel2 { relative: 1.0 1.0; to: "elm.image.date"; }
- }
- }
- part {
- name: "elm.image.date.year.focus";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.date.year"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.date.year"; }
- image {
- normal: "00_calend_picker_day_press.png";
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.date.year";
- type: SWALLOW;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- rel1 { relative: 0.5 0.5; to: "elm.rect.date.year.over"; }
- rel2 { relative: 0.5 0.5; to: "elm.rect.date.year.over"; }
- }
- }
- part {
- name: "elm.image.date.month.focus";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.date.month"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.date.month"; }
- image {
- normal: "00_calend_picker_day_press.png";
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.date.month";
- type: SWALLOW;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- rel1 { relative: 0.5 0.5; to: "elm.rect.date.month.over"; }
- rel2 { relative: 0.5 0.5; to: "elm.rect.date.month.over"; }
- }
- }
- part {
- name: "elm.text.date.comma";
- type: TEXT;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- text {
- font: "SLP:style=Roman";
- size: 32;
- align: 0.54 0.5;
- }
- rel1 { relative: 0.791 0.5; to: "elm.rect.date.month.over"; }
- rel2 { relative: 1.0 0.5; to: "elm.rect.date.month.over"; }
- color: 0 0 0 255;
- }
- }
- part {
- name: "elm.image.date.day.focus";
- type: IMAGE;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.date.day"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.date.day"; }
- image {
- normal: "00_calend_picker_day_press.png";
- }
- }
- description {
- state: "focus" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.date.day";
- type: SWALLOW;
- //ignore_flags: ON_HOLD;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- rel1 { relative: 0.5 0.5; to: "elm.rect.date.day.over"; }
- rel2 { relative: 0.5 0.5; to: "elm.rect.date.day.over"; }
- }
- }
- part {
- name: "elm.rect.date.year.over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0; //mmddyy
- color: 0 0 0 0;
- rel1 { relative: 0.596 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.938 1.0; to: "elm.image.date"; }
- }
- description {
- state: "yymmdd" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.064 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.407 1.0; to: "elm.image.date"; }
- }
- description {
- state: "yyddmm" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.064 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.407 1.0; to: "elm.image.date"; }
- }
- description {
- state: "mmyydd" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.362 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.704 1.0; to: "elm.image.date"; }
- }
- description {
- state: "ddyymm" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.298 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.64 1.0; to: "elm.image.date"; }
- }
- description {
- state: "ddmmyy" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.596 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.938 1.0; to: "elm.image.date"; }
- }
- }
- part {
- name: "elm.rect.date.month.over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0; //mmddyy
- color: 0 0 0 0;
- rel1 { relative: 0.064 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.362 1.0; to: "elm.image.date"; }
- }
- description {
- state: "mmyydd" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.064 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.362 1.0; to: "elm.image.date"; }
- }
- description {
- state: "yymmdd" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.407 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.704 1.0; to: "elm.image.date"; }
- }
- description {
- state: "ddmmyy" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.298 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.596 1.0; to: "elm.image.date"; }
- }
- description {
- state: "ddyymm" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.64 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.938 1.0; to: "elm.image.date"; }
- }
- description {
- state: "yyddmm" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.64 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.938 1.0; to: "elm.image.date"; }
- }
- }
- part {
- name: "elm.rect.date.day.over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0; //mmddyy
- color: 0 0 0 0;
- rel1 { relative: 0.362 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.596 1.0; to: "elm.image.date"; }
- }
- description {
- state: "ddmmyy" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.064 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.298 1.0; to: "elm.image.date"; }
- }
- description {
- state: "ddyymm" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.064 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.298 1.0; to: "elm.image.date"; }
- }
- description {
- state: "yyddmm" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.407 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.64 1.0; to: "elm.image.date"; }
- }
- description {
- state: "yymmdd" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.704 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.938 1.0; to: "elm.image.date"; }
- }
- description {
- state: "mmyydd" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.704 0.0; to: "elm.image.date"; }
- rel2 { relative: 0.938 1.0; to: "elm.image.date"; }
- }
- }
- }
- programs {
- program {
- name: "year_focus_in";
- signal: "elm,state,year,focus,in";
- source: "elm";
- action: STATE_SET "focus" 0.0;
- target: "elm.image.date.focus";
- target: "elm.image.date.year.focus";
- }
- program {
- name: "year_focus_out";
- signal: "elm,state,year,focus,out";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.image.date.year.focus";
- target: "elm.image.date.focus";
- }
- program {
- name: "month_focus_in";
- signal: "elm,state,month,focus,in";
- source: "elm";
- action: STATE_SET "focus" 0.0;
- target: "elm.image.date.focus";
- target: "elm.image.date.month.focus";
- }
- program {
- name: "month_focus_out";
- signal: "elm,state,month,focus,out";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.image.date.month.focus";
- target: "elm.image.date.focus";
- }
- program {
- name: "day_focus_in";
- signal: "elm,state,day,focus,in";
- source: "elm";
- action: STATE_SET "focus" 0.0;
- target: "elm.image.date.focus";
- target: "elm.image.date.day.focus";
- }
- program {
- name: "day_focus_out";
- signal: "elm,state,day,focus,out";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.image.date.day.focus";
- target: "elm.image.date.focus";
- }
- program {
- name: "format_yyddmm";
- signal: "elm,state,format,yyddmm";
- source: "elm";
- action: STATE_SET "yyddmm" 0.0;
- target: "elm.rect.date.year.over";
- target: "elm.rect.date.month.over";
- target: "elm.rect.date.day.over";
- target: "elm.text.date.comma";
- }
- program {
- name: "format_yymmdd";
- signal: "elm,state,format,yymmdd";
- source: "elm";
- action: STATE_SET "yymmdd" 0.0;
- target: "elm.rect.date.year.over";
- target: "elm.rect.date.month.over";
- target: "elm.rect.date.day.over";
- target: "elm.text.date.comma";
- }
- program {
- name: "format_mmyydd";
- signal: "elm,state,format,mmyydd";
- source: "elm";
- action: STATE_SET "mmyydd" 0.0;
- target: "elm.rect.date.year.over";
- target: "elm.rect.date.month.over";
- target: "elm.rect.date.day.over";
- target: "elm.text.date.comma";
- }
- program {
- name: "format_ddyymm";
- signal: "elm,state,format,ddyymm";
- source: "elm";
- action: STATE_SET "ddyymm" 0.0;
- target: "elm.rect.date.year.over";
- target: "elm.rect.date.month.over";
- target: "elm.rect.date.day.over";
- target: "elm.text.date.comma";
- }
- program {
- name: "format_mmddyy";
- signal: "elm,state,format,mmddyy";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.date.year.over";
- target: "elm.rect.date.month.over";
- target: "elm.rect.date.day.over";
- target: "elm.text.date.comma";
- }
- program {
- name: "format_ddmmyy";
- signal: "elm,state,format,ddmmyy";
- source: "elm";
- action: STATE_SET "ddmmyy" 0.0;
- target: "elm.rect.date.year.over";
- target: "elm.rect.date.month.over";
- target: "elm.rect.date.day.over";
- target: "elm.text.date.comma";
- }
- }
-}
-
-///// datefield entry ///////
-group {
- name: "elm/entry/base-single/datefield";
- data.item: "default_font_size" "40";
- data.item: "min_font_size" "8";
- data.item: "max_font_size" "60";
- styles
- {
- style {
- name: "datefield_textblock_style";
- base: "font=SLP:style=Roman font_size=40 align=0.5 color=#000000 wrap=none";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#800 underline=on underline_color=#8008";
- tag: "hilight" "+ font=SLP:style=Bold";
- }
- style {
- name: "datefield_textblock_focus_style";
- base: "font=SLP:style=Roman font_size=40 align=0.5 color=#ffffff wrap=none";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#800 underline=on underline_color=#8008";
- tag: "hilight" "+ font=SLP:style=Bold";
- }
- }
- parts {
- part {
- name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 1;
- scale: 1;
- entry_mode: EDITABLE;
- multiline: 0;
- description {
- state: "default" 0.0;
- text {
- style: "datefield_textblock_style";
- min: 1 1;
- max: 0 1;
- }
- }
- description {
- state: "focus" 0.0;
- text {
- style: "datefield_textblock_focus_style";
- min: 1 1;
- max: 0 1;
- }
- }
- }
- }
- programs {
- program {
- name: "focus";
- signal: "load";
- source: "";
- action: FOCUS_SET;
- target: "elm.text";
- }
- program {
- name: "focus_in";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focus" 0.0;
- target: "elm.text";
- }
- program {
- name: "focus_out";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- }
-}
-
-group {
- name: "elm/entry/base-single/datefield/hybrid";
- data.item: "default_font_size" "32";
- data.item: "min_font_size" "8";
- data.item: "max_font_size" "60";
- styles
- {
- style {
- name: "datefield_hybrid_textblock_style";
- base: "font=SLP:style=Roman font_size=32 align=0.5 color=#000000 wrap=none";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#800 underline=on underline_color=#8008";
- tag: "hilight" "+ font=SLP:style=Bold";
- }
- style {
- name: "datefield_hybrid_textblock_focus_style";
- base: "font=SLP:style=Roman font_size=32 align=0.5 color=#ffffff wrap=none";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#800 underline=on underline_color=#8008";
- tag: "hilight" "+ font=SLP:style=Bold";
- }
- }
- parts {
- part {
- name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 1;
- scale: 1;
- entry_mode: EDITABLE;
- multiline: 0;
- description {
- state: "default" 0.0;
- text {
- style: "datefield_hybrid_textblock_style";
- min: 1 1;
- max: 0 1;
- }
- }
- description {
- state: "focus" 0.0;
- text {
- style: "datefield_hybrid_textblock_focus_style";
- min: 1 1;
- max: 0 1;
- }
- }
- }
- }
- programs {
- program {
- name: "focus";
- signal: "load";
- source: "";
- action: FOCUS_SET;
- target: "elm.text";
- }
- program {
- name: "focus_in";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focus" 0.0;
- target: "elm.text";
- }
- program {
- name: "focus_out";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- }
-}
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define DAYSELECTOR_CHECK_WIDTH 60
-#define DAYSELECTOR_CHECK_HEIGHT 76
-#define DAYSELECTOR_TOTAL_WIDTH (DAYSELECTOR_CHECK_WIDTH*7)
-group {
- name: "elm/dayselector/base/default";
- alias: "elm/dayselector/base/sun_first";
- min: (DAYSELECTOR_CHECK_WIDTH*7) DAYSELECTOR_CHECK_HEIGHT;
- parts {
- part {
- name: "sun";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*1)/DAYSELECTOR_TOTAL_WIDTH) 1;}
- }
- }
- part {
- name: "mon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- rel1 { to: "sun"; relative: 1 0; }
- rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*2)/DAYSELECTOR_TOTAL_WIDTH) 1;}
- }
- }
- part {
- name: "tue";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- rel1 { to: "mon"; relative: 1 0; }
- rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*3)/DAYSELECTOR_TOTAL_WIDTH) 1;}
- }
- }
- part {
- name: "wed";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- rel1 { to: "tue"; relative: 1 0; }
- rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*4)/DAYSELECTOR_TOTAL_WIDTH) 1;}
- }
- }
- part {
- name: "thu";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- rel1 { to: "wed"; relative: 1 0; }
- rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*5)/DAYSELECTOR_TOTAL_WIDTH) 1;}
- }
- }
- part {
- name: "fri";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- rel1 { to: "thu"; relative: 1 0; }
- rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*6)/DAYSELECTOR_TOTAL_WIDTH) 1;}
- }
- }
- part {
- name: "sat";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- rel1 { to: "fri"; relative: 1 0; }
- }
- }
- }
-}
-group {
- name: "elm/dayselector/base/mon_first";
- min: (DAYSELECTOR_CHECK_WIDTH*7) DAYSELECTOR_CHECK_HEIGHT;
- parts {
- part {
- name: "mon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*1)/DAYSELECTOR_TOTAL_WIDTH) 1;}
- }
- }
- part {
- name: "tue";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- rel1 { to: "mon"; relative: 1 0; }
- rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*2)/DAYSELECTOR_TOTAL_WIDTH) 1;}
- }
- }
- part {
- name: "wed";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- rel1 { to: "tue"; relative: 1 0; }
- rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*3)/DAYSELECTOR_TOTAL_WIDTH) 1;}
- }
- }
- part {
- name: "thu";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- rel1 { to: "wed"; relative: 1 0; }
- rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*4)/DAYSELECTOR_TOTAL_WIDTH) 1;}
- }
- }
- part {
- name: "fri";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- rel1 { to: "thu"; relative: 1 0; }
- rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*5)/DAYSELECTOR_TOTAL_WIDTH) 1;}
- }
- }
- part {
- name: "sat";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- rel1 { to: "fri"; relative: 1 0; }
- rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*6)/DAYSELECTOR_TOTAL_WIDTH) 1;}
- }
- }
- part {
- name: "sun";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- rel1 { to: "sat"; relative: 1 0; }
- }
- }
- }
-}
-group {
- name: "elm/check/base/dayselector/sun_first_sun";
- images {
- image: "00_alarm_repeat_button_normal_01.png" COMP;
- image: "00_alarm_repeat_button_press_01.png" COMP;
- }
- parts {
- part {
- name: "bg";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- image {
- normal: "00_alarm_repeat_button_normal_01.png";
- border: 5 5 5 5;
- border_scale: 1;
- }
- }
- }
- part {
- name: "check";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- visible: 0;
- image {
- normal: "00_alarm_repeat_button_press_01.png";
- border: 5 5 5 5;
- border_scale: 1;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- 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";
- rel1.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;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- effect: SHADOW;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- color: 255 60 0 255;
- align: 0.5 0.5;
- text {
- font: "SLP:style=Medium";
- size: 32;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description {
- state: "checked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- program {
- name: "check_on";
- signal: "elm,state,check,on";
- source: "elm";
- after: "checkon";
- }
- program {
- name: "checkon";
- script {
- set_state(PART:"check", "visible", 0.0);
- set_state(PART:"elm.text", "checked", 0.0);
- }
- }
- program {
- name: "check_off";
- signal: "elm,state,check,off";
- source: "elm";
- after:"checkoff";
- }
- program {
- name: "checkoff";
- script {
- set_state(PART:"check", "default", 0.0);
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- 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 "hide" 0.0;
- target: "elm.text";
- }
- }
-}
-group {
- name: "elm/check/base/dayselector/mon_first_mon";
- images {
- image: "00_alarm_repeat_button_normal_01.png" COMP;
- image: "00_alarm_repeat_button_press_01.png" COMP;
- }
- parts {
- part {
- name: "bg";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- image {
- normal: "00_alarm_repeat_button_normal_01.png";
- border: 5 5 5 5;
- border_scale: 1;
- }
- }
- }
- part {
- name: "check";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- visible: 0;
- image {
- normal: "00_alarm_repeat_button_press_01.png";
- border: 5 5 5 5;
- border_scale: 1;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- 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";
- rel1.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;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- effect: SHADOW;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- color: 90 73 40 255;
- align: 0.5 0.5;
- text {
- font: "SLP:style=Medium";
- size: 32;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description {
- state: "checked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- program {
- name: "check_on";
- signal: "elm,state,check,on";
- source: "elm";
- after: "checkon";
- }
- program {
- name: "checkon";
- script {
- set_state(PART:"check", "visible", 0.0);
- set_state(PART:"elm.text", "checked", 0.0);
- }
- }
- program {
- name: "check_off";
- signal: "elm,state,check,off";
- source: "elm";
- after:"checkoff";
- }
- program {
- name: "checkoff";
- script {
- set_state(PART:"check", "default", 0.0);
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- 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 "hide" 0.0;
- target: "elm.text";
- }
- }
-}
-group {
- name: "elm/check/base/dayselector/sun_first_mon";
- alias: "elm/check/base/dayselector/sun_first_tue";
- alias: "elm/check/base/dayselector/sun_first_wed";
- alias: "elm/check/base/dayselector/sun_first_thu";
- alias: "elm/check/base/dayselector/sun_first_fri";
- alias: "elm/check/base/dayselector/mon_first_tue";
- alias: "elm/check/base/dayselector/mon_first_wed";
- alias: "elm/check/base/dayselector/mon_first_thu";
- alias: "elm/check/base/dayselector/mon_first_fri";
- images {
- image: "00_alarm_repeat_button_normal_02.png" COMP;
- image: "00_alarm_repeat_button_press_02.png" COMP;
- }
- parts {
- part {
- name: "bg";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- image {
- normal: "00_alarm_repeat_button_normal_02.png";
- border: 5 5 5 5;
- border_scale: 1;
- }
- }
- }
- part {
- name: "check";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- visible: 0;
- image {
- normal: "00_alarm_repeat_button_press_02.png";
- border: 5 5 5 5;
- border_scale: 1;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- 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";
- rel1.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;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- effect: SHADOW;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- color: 90 73 40 255;
- align: 0.5 0.5;
- text {
- font: "SLP:style=Medium";
- size: 32;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description {
- state: "checked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- program {
- name: "check_on";
- signal: "elm,state,check,on";
- source: "elm";
- after: "checkon";
- }
- program {
- name: "checkon";
- script {
- set_state(PART:"check", "visible", 0.0);
- set_state(PART:"elm.text", "checked", 0.0);
- }
- }
- program {
- name: "check_off";
- signal: "elm,state,check,off";
- source: "elm";
- after:"checkoff";
- }
- program {
- name: "checkoff";
- script {
- set_state(PART:"check", "default", 0.0);
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- 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 "hide" 0.0;
- target: "elm.text";
- }
- }
-}
-
-group {
- name: "elm/check/base/dayselector/mon_first_sat";
- images {
- image: "00_alarm_repeat_button_normal_02.png" COMP;
- image: "00_alarm_repeat_button_press_02.png" COMP;
- }
- parts {
- part {
- name: "bg";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- image {
- normal: "00_alarm_repeat_button_normal_02.png";
- border: 5 5 5 5;
- border_scale: 1;
- }
- }
- }
- part {
- name: "check";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- visible: 0;
- image {
- normal: "00_alarm_repeat_button_press_02.png";
- border: 5 5 5 5;
- border_scale: 1;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- 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";
- rel1.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;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- effect: SHADOW;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- color: 0 114 255 255;
- align: 0.5 0.5;
- text {
- font: "SLP:style=Medium";
- size: 32;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description {
- state: "checked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- program {
- name: "check_on";
- signal: "elm,state,check,on";
- source: "elm";
- after: "checkon";
- }
- program {
- name: "checkon";
- script {
- set_state(PART:"check", "visible", 0.0);
- set_state(PART:"elm.text", "checked", 0.0);
- }
- }
- program {
- name: "check_off";
- signal: "elm,state,check,off";
- source: "elm";
- after:"checkoff";
- }
- program {
- name: "checkoff";
- script {
- set_state(PART:"check", "default", 0.0);
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- 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 "hide" 0.0;
- target: "elm.text";
- }
- }
-}
-
-group {
- name: "elm/check/base/dayselector/sun_first_sat";
- images {
- image: "00_alarm_repeat_button_normal_03.png" COMP;
- image: "00_alarm_repeat_button_press_03.png" COMP;
- }
- parts {
- part {
- name: "bg";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- image {
- normal: "00_alarm_repeat_button_normal_03.png";
- border: 5 5 5 5;
- border_scale: 1;
- }
- }
- }
- part {
- name: "check";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- visible: 0;
- image {
- normal: "00_alarm_repeat_button_press_03.png";
- border: 5 5 5 5;
- border_scale: 1;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- 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";
- rel1.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;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- effect: SHADOW;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- color: 0 114 255 255;
- align: 0.5 0.5;
- text {
- font: "SLP:style=Medium";
- size: 32;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description {
- state: "checked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- program {
- name: "check_on";
- signal: "elm,state,check,on";
- source: "elm";
- after: "checkon";
- }
- program {
- name: "checkon";
- script {
- set_state(PART:"check", "visible", 0.0);
- set_state(PART:"elm.text", "checked", 0.0);
- }
- }
- program {
- name: "check_off";
- signal: "elm,state,check,off";
- source: "elm";
- after:"checkoff";
- }
- program {
- name: "checkoff";
- script {
- set_state(PART:"check", "default", 0.0);
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- 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 "hide" 0.0;
- target: "elm.text";
- }
- }
-}
-
-group {
- name: "elm/check/base/dayselector/mon_first_sun";
- images {
- image: "00_alarm_repeat_button_normal_03.png" COMP;
- image: "00_alarm_repeat_button_press_03.png" COMP;
- }
- parts {
- part {
- name: "bg";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- image {
- normal: "00_alarm_repeat_button_normal_03.png";
- border: 5 5 5 5;
- border_scale: 1;
- }
- }
- }
- part {
- name: "check";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- visible: 0;
- image {
- normal: "00_alarm_repeat_button_press_03.png";
- border: 5 5 5 5;
- border_scale: 1;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- 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";
- rel1.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;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- effect: SHADOW;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- color: 255 60 0 255;
- align: 0.5 0.5;
- text {
- font: "SLP:style=Medium";
- size: 32;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description {
- state: "checked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part {
- name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- rel1 {to: "bg";}
- rel2 {to: "bg";}
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- program {
- name: "check_on";
- signal: "elm,state,check,on";
- source: "elm";
- after: "checkon";
- }
- program {
- name: "checkon";
- script {
- set_state(PART:"check", "visible", 0.0);
- set_state(PART:"elm.text", "checked", 0.0);
- }
- }
- program {
- name: "check_off";
- signal: "elm,state,check,off";
- source: "elm";
- after:"checkoff";
- }
- program {
- name: "checkoff";
- script {
- set_state(PART:"check", "default", 0.0);
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- 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 "hide" 0.0;
- target: "elm.text";
- }
- }
-}
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-
-//////////////////////////////////////////////// dialogue group /////////////////////////////////////////////////////////
-#define DIALOGUE_GROUP_BACKGROUND(group_name, location, height_offset, r_border, l_border, t_border, b_border, r_p_border, l_p_border, t_p_border, b_p_border) \
- group{ \
- name: "elm/dialoguegroup/"group_name"_"location"/default";\
- images{\
- image: "01_dialoguegroup_"group_name"_"location".png" COMP;\
- image: "00_list_bar_group_"location"_focus.png" COMP;\
- }\
- script {\
- public press_off = 0;\
- public set_press_effect_on() {\
- set_int(press_off, 0);\
- }\
- public set_press_effect_off() {\
- set_int(press_off, 1);\
- }\
- public thumb_down() {\
- if(get_int(press_off) == 1) {\
- set_state(PART:"bg_press", "default", 0.0);\
- } else {\
- set_state(PART:"bg_press", "pressed", 0.0);\
- }\
- }\
- }\
- parts{\
- part{\
- name: "left";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "left1";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 15 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right1";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 15 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "bg";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- image.normal: "01_dialoguegroup_"group_name"_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- }\
- part{\
- name: "bg_press";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- image.normal: "00_list_bar_group_"location"_focus.png" ;\
- image.border: r_p_border l_p_border t_p_border b_p_border;\
- image.border_scale: 1;\
- }\
- description{\
- state: "pressed" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- }\
- }\
- part{\
- name: "swallow";\
- type: SWALLOW;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left1";\
- rel1.to_y: "bg";\
- rel1.offset: 0 0;\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right1";\
- rel2.to_y: "bg";\
- rel2.offset: -1 height_offset;\
- }\
- }\
- part{\
- name: "over";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- rel1.to: "bg";\
- rel2.to: "bg";\
- color: 255 255 255 180;\
- image.normal: "01_dialoguegroup_"group_name"_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- description{\
- state: "disabled" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- }\
- }\
- }\
- programs {\
- program {\
- name: "mouse_down";\
- signal: "mouse,down,1";\
- source: "swallow";\
- script: {\
- thumb_down();\
- }\
- }\
- program {\
- name: "mouse_up";\
- signal: "mouse,up,1";\
- source: "swallow";\
- action: STATE_SET "default" 0.0;\
- target: "bg_press";\
- }\
- program { \
- name: "press_effect_on";\
- signal: "elm,state,press,on";\
- source: "elm";\
- script {\
- set_press_effect_on();\
- }\
- }\
- program { \
- name: "press_effect_off";\
- signal: "elm,state,press,off";\
- source: "elm";\
- script {\
- set_press_effect_off();\
- }\
- }\
- program { \
- name: "disabled";\
- signal: "elm,state,disabled";\
- source: "elm";\
- action: STATE_SET "disabled" 0.0;\
- target: "over";\
- }\
- program { \
- name: "enabled";\
- signal: "elm,state,enabled";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "over";\
- }\
- }\
- }
-
-DIALOGUE_GROUP_BACKGROUND("bg", "default", -5, 13, 13, 10, 15, 13, 13, 39, 39);
-DIALOGUE_GROUP_BACKGROUND("bg", "top", -1, 13, 13, 10, 3, 13, 13, 39, 39);
-DIALOGUE_GROUP_BACKGROUND("bg", "middle", -1, 4, 4, 3, 3, 13, 13, 39, 39);
-DIALOGUE_GROUP_BACKGROUND("bg", "bottom", -5, 13, 13, 3, 15, 13, 13, 39, 44);
-
-#define DIALOGUE_GROUP_SUB_BACKGROUND(group_name, location, height_offset, r_border, l_border, t_border, b_border, r_p_border, l_p_border, t_p_border, b_p_border) \
- group{ \
- name: "elm/dialoguegroup/"group_name"_"location"/default";\
- images{\
- image: "01_dialoguegroup_"group_name"_"location".png" COMP;\
- image: "00_list_bar_group_"location"_focus.png" COMP;\
- image: "01_dialoguegroup_sub_move.png" COMP ;\
- }\
- script {\
- public press_off = 0;\
- public set_press_effect_on() {\
- set_int(press_off, 0);\
- }\
- public set_press_effect_off() {\
- set_int(press_off, 1);\
- }\
- public thumb_down() {\
- if(get_int(press_off) == 1) {\
- set_state(PART:"bg_press", "default", 0.0);\
- } else {\
- set_state(PART:"bg_press", "pressed", 0.0);\
- }\
- }\
- }\
- parts{\
- part { \
- name: "point"; \
- type: RECT; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- color: 0 0 0 0; \
- rel1 { relative: 0.0 0.0; } \
- rel2 { relative: 1.0 0.0; } \
- } \
- }\
- part{\
- name: "left";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "left1";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 15 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right1";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 15 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "bg_rect";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left1";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right1";\
- image.normal: "01_dialoguegroup_sub_move.png" ;\
- }\
- description { \
- state: "map_transition" 0.0; \
- inherit: "default" 0.0; \
- map { \
- perspective: "point"; \
- on: 1; \
- smooth: 1; \
- perspective_on: 1; \
- backface_cull: 1; \
- rotation { \
- center: "point"; \
- x: -90.0; \
- y: 0.0; \
- z: 0.0; \
- } \
- } \
- }\
- description { \
- state: "map_rotate" 0.0; \
- inherit: "default" 0.0; \
- map.rotation.x: 0.0; \
- map.rotation.y: 0.0; \
- map.rotation.z: 0.0; \
- }\
- description { \
- state: "show_bg" 0.0; \
- inherit: "default" 0.0; \
- visible: 0;\
- }\
- }\
- part{\
- name: "bg";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- image.normal: "01_dialoguegroup_"group_name"_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- description { \
- state: "show_bg" 0.0; \
- inherit: "default" 0.0; \
- visible: 1;\
- }\
- }\
- part{\
- name: "bg_press";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- image.normal: "00_list_bar_group_"location"_focus.png" ;\
- image.border: r_p_border l_p_border t_p_border b_p_border;\
- image.border_scale: 1;\
- }\
- description{\
- state: "pressed" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- }\
- }\
- part{\
- name: "swallow";\
- type: SWALLOW;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left1";\
- rel1.to_y: "bg";\
- rel1.offset: 0 0;\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right1";\
- rel2.to_y: "bg";\
- rel2.offset: -1 height_offset;\
- }\
- description { \
- state: "map_transition" 0.0; \
- inherit: "default" 0.0; \
- map { \
- perspective: "point"; \
- on: 1; \
- smooth: 1; \
- perspective_on: 1; \
- backface_cull: 1; \
- rotation { \
- center: "point"; \
- x: -90.0; \
- y: 0.0; \
- z: 0.0; \
- } \
- } \
- }\
- description { \
- state: "map_rotate" 0.0; \
- inherit: "default" 0.0; \
- map.rotation.x: 0.0; \
- map.rotation.y: 0.0; \
- map.rotation.z: 0.0; \
- }\
- }\
- part{\
- name: "over";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- rel1.to: "bg";\
- rel2.to: "bg";\
- color: 255 255 255 180;\
- image.normal: "01_dialoguegroup_"group_name"_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- }\
- }\
- programs {\
- program {\
- name: "mouse_down";\
- signal: "mouse,down,1";\
- source: "swallow";\
- script: {\
- thumb_down();\
- }\
- }\
- program {\
- name: "mouse_up";\
- signal: "mouse,up,1";\
- source: "swallow";\
- action: STATE_SET "default" 0.0;\
- target: "bg_press";\
- }\
- program { \
- name: "press_effect_on";\
- signal: "elm,state,press,on";\
- source: "elm";\
- script {\
- set_press_effect_on();\
- }\
- }\
- program { \
- name: "press_effect_off";\
- signal: "elm,state,press,off";\
- source: "elm";\
- script {\
- set_press_effect_off();\
- }\
- }\
- program { \
- name: "disabled";\
- signal: "elm,state,disabled";\
- source: "elm";\
- action: STATE_SET "disabled" 0.0;\
- target: "over";\
- }\
- program { \
- name: "enabled";\
- signal: "elm,state,enabled";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "over";\
- }\
- program { \
- name: "rotaion_transition"; \
- signal: "flip_item"; \
- action: STATE_SET "map_transition" 0.0; \
- after: "rotation"; \
- target: "bg_rect";\
- target: "swallow";\
- }\
- program {\
- name: "rotation"; \
- action: STATE_SET "map_rotate" 0.0; \
- transition: LINEAR 0.4; \
- after: "rotation_finish";\
- target: "bg_rect";\
- target: "swallow";\
- }\
- program {\
- name: "rotation_finish"; \
- action: STATE_SET "show_bg" 0.0; \
- target: "bg_rect";\
- target: "bg";\
- }\
- }\
- }
-
-DIALOGUE_GROUP_SUB_BACKGROUND("sub", "default", -5, 13, 13, 10, 15, 13, 13, 39, 39);
-DIALOGUE_GROUP_SUB_BACKGROUND("sub", "top", -1, 13, 13, 10, 3, 13, 13, 39, 39);
-DIALOGUE_GROUP_SUB_BACKGROUND("sub", "middle", -1, 4, 4, 3, 3, 13, 13, 39, 39);
-DIALOGUE_GROUP_SUB_BACKGROUND("sub", "bottom", -5, 13, 13, 3, 15, 13, 13, 39, 44);
-
-
-#define DIALOGUE_GROUP_EDIT_BACKGROUND(location, height_offset, r_border, l_border, t_border, b_border) \
- group{ \
- name: "elm/dialoguegroup/editfield_"location"/default";\
- images{\
- image: "01_dialoguegroup_bg_"location".png" COMP;\
- image: "01_dialoguegroup_edit_"location".png" COMP;\
- }\
- parts{\
- part{\
- name: "left";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "left1";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 15 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right1";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 15 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "bg";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- image.normal: "01_dialoguegroup_bg_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- }\
- part{\
- name: "inner_bg";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- image.normal: "01_dialoguegroup_edit_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- }\
- part{\
- name: "swallow";\
- type: SWALLOW;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left1";\
- rel1.to_y: "inner_bg";\
- rel1.offset: 0 0;\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right1";\
- rel2.to_y: "inner_bg";\
- rel2.offset: -1 height_offset;\
- }\
- }\
- part{\
- name: "over";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- rel1.to: "bg";\
- rel2.to: "bg";\
- color: 255 255 255 180;\
- image.normal: "01_dialoguegroup_bg_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- description{\
- state: "disabled" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- }\
- }\
- }\
- programs {\
- program { \
- name: "disabled";\
- signal: "elm,state,disabled";\
- source: "elm";\
- action: STATE_SET "disabled" 0.0;\
- target: "over";\
- }\
- program { \
- name: "enabled";\
- signal: "elm,state,enabled";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "over";\
- }\
- }\
- }
-
-DIALOGUE_GROUP_EDIT_BACKGROUND("default", -5, 13, 13, 10, 15);
-DIALOGUE_GROUP_EDIT_BACKGROUND("top", -1, 13, 13, 10, 4);
-DIALOGUE_GROUP_EDIT_BACKGROUND("middle", -1, 13, 13, 5, 5);
-DIALOGUE_GROUP_EDIT_BACKGROUND("bottom", -5, 13, 13, 5, 14);
-
-#define DIALOGUE_GROUP_EDIT_WITH_TITLE_BACKGROUND(location, inner_loc, height_offset, r_border, l_border, t_border, b_border, in_rborder, in_lborder, in_tborder, in_bborder) \
- group{ \
- name: "elm/dialoguegroup/editfield_with_title_"location"/default";\
- images{\
- image: "01_dialoguegroup_bg_"location".png" COMP;\
- image: "01_dialoguegroup_edit_"location".png" COMP;\
- }\
- parts{\
- part { name: "top";\
- type: RECT;\
- scale: 1;\
- ignore_flags: ON_HOLD;\
- description {\
- state: "default" 0.0;\
- visible: 0;\
- min: 0 30;\
- fixed: 1 1;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 1.0 0.0;\
- align: 0.5 0;\
- }\
- }\
- part{\
- name: "left";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "left1";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 15 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right1";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 15 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "bg";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- image.normal: "01_dialoguegroup_bg_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- }\
- part{\
- name: "inner_bg";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 1.0;\
- rel1.to_x: "left";\
- rel1.to_y: "top";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- image.normal: "01_dialoguegroup_edit_"inner_loc".png" ;\
- image.border: in_rborder in_lborder in_tborder in_bborder;\
- image.border_scale: 1;\
- }\
- }\
- part{\
- name: "swallow";\
- type: SWALLOW;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left1";\
- rel1.to_y: "bg";\
- rel1.offset: 0 0;\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right1";\
- rel2.to_y: "bg";\
- rel2.offset: -1 height_offset;\
- }\
- }\
- part{\
- name: "over";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- rel1.to: "bg";\
- rel2.to: "bg";\
- color : 255 255 255 180;\
- image.normal: "01_dialoguegroup_bg_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- description{\
- state: "disabled" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- }\
- }\
- }\
- programs {\
- program { \
- name: "disabled";\
- signal: "elm,state,disabled";\
- source: "elm";\
- action: STATE_SET "disabled" 0.0;\
- target: "over";\
- }\
- program { \
- name: "enabled";\
- signal: "elm,state,enabled";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "over";\
- }\
- }\
- }
-
-DIALOGUE_GROUP_EDIT_WITH_TITLE_BACKGROUND("default", "bottom", -5, 13, 13, 10, 15, 13, 13, 5, 14);
-DIALOGUE_GROUP_EDIT_WITH_TITLE_BACKGROUND("top", "middle", -1, 13, 13, 10, 4, 13, 13, 5, 5);
-DIALOGUE_GROUP_EDIT_WITH_TITLE_BACKGROUND("middle", "middle", -1, 13, 13, 5, 5, 13, 13, 5, 5);
-DIALOGUE_GROUP_EDIT_WITH_TITLE_BACKGROUND("bottom", "bottom", -5, 13, 13, 5, 14, 13, 13, 5, 14);
-
-#define DIALOGUE_GROUP_EDIT_TITLE_BACKGROUND(location, height_offset, r_border, l_border, t_border, b_border) \
- group{ \
- name: "elm/dialoguegroup/edit_title_"location"/default";\
- images{\
- image: "01_dialoguegroup_bg_"location".png" COMP;\
- image: "01_dialoguegroup_title_"location".png" COMP;\
- }\
- parts{\
- part{\
- name: "left";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "left1";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 15 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right1";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 15 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "bg";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- image.normal: "01_dialoguegroup_bg_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- }\
- part{\
- name: "inner_bg";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- image.normal: "01_dialoguegroup_title_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- }\
- part{\
- name: "swallow";\
- type: SWALLOW;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left1";\
- rel1.to_y: "inner_bg";\
- rel1.offset: 0 0;\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right1";\
- rel2.to_y: "inner_bg";\
- rel2.offset: -1 height_offset;\
- }\
- }\
- part{\
- name: "over";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- rel1.to: "inner_bg";\
- rel2.to: "inner_bg";\
- image.normal: "01_dialoguegroup_title_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- color: 255 255 255 180;\
- }\
- description{\
- state: "disabled" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- }\
- }\
- }\
- programs {\
- program { \
- name: "disabled";\
- signal: "elm,state,disabled";\
- source: "elm";\
- action: STATE_SET "disabled" 0.0;\
- target: "over";\
- }\
- program { \
- name: "enabled";\
- signal: "elm,state,enabled";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "over";\
- }\
- }\
- }
-
-DIALOGUE_GROUP_EDIT_TITLE_BACKGROUND("default", -5, 13, 13, 10, 15);
-DIALOGUE_GROUP_EDIT_TITLE_BACKGROUND("top", -1, 13, 13, 10, 4);
-
-#define DIALOGUE_GROUP_HIDDEN_BACKGROUND(location, height_offset, r_border, l_border, t_border, b_border) \
- group{ \
- name: "elm/dialoguegroup/hidden_"location"/default";\
- images{\
- image: "01_dialoguegroup_bg_"location".png" COMP;\
- image: "01_dialoguegroup_hidden_"location".png" COMP;\
- }\
- parts{\
- part{\
- name: "left";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "left1";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 15 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right1";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 15 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "bg";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- image.normal: "01_dialoguegroup_bg_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- }\
- part{\
- name: "inner_bg";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- image.normal: "01_dialoguegroup_hidden_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- }\
- part{\
- name: "swallow";\
- type: SWALLOW;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left1";\
- rel1.to_y: "inner_bg";\
- rel1.offset: 0 0;\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right1";\
- rel2.to_y: "inner_bg";\
- rel2.offset: -1 height_offset;\
- }\
- }\
- part{\
- name: "over";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- rel1.to: "inner_bg";\
- rel2.to: "inner_bg";\
- color: 255 255 255 180;\
- image.normal: "01_dialoguegroup_hidden_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- description{\
- state: "disabled" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- }\
- }\
- }\
- programs {\
- program { \
- name: "disabled";\
- signal: "elm,state,disabled";\
- source: "elm";\
- action: STATE_SET "disabled" 0.0;\
- target: "over";\
- }\
- program { \
- name: "enabled";\
- signal: "elm,state,enabled";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "over";\
- }\
- }\
- }
-
-DIALOGUE_GROUP_HIDDEN_BACKGROUND("default", -5, 13, 13, 10, 15);
-DIALOGUE_GROUP_HIDDEN_BACKGROUND("top", -1, 13, 13, 10, 4);
-DIALOGUE_GROUP_HIDDEN_BACKGROUND("middle", -1, 13, 13, 5, 5);
-DIALOGUE_GROUP_HIDDEN_BACKGROUND("bottom", -5, 13, 13, 5, 14);
-
-#define DIALOGUE_GROUP_DATAVIEW_BACKGROUND(location, height_offset, r_border, l_border, t_border, b_border) \
- group{ \
- name: "elm/dialoguegroup/dataview_"location"/default";\
- images{\
- image: "01_dialoguegroup_dataview_"location".png" COMP;\
- }\
- parts{\
- part{\
- name: "left";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "left1";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 15 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right1";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 15 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "bg";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- image.normal: "01_dialoguegroup_dataview_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- }\
- part{\
- name: "swallow";\
- type: SWALLOW;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left1";\
- rel1.to_y: "bg";\
- rel1.offset: 0 0;\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right1";\
- rel2.to_y: "bg";\
- rel2.offset: -1 height_offset;\
- }\
- }\
- part{\
- name: "over";\
- type: IMAGE;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- rel1.to: "bg";\
- rel2.to: "bg";\
- color: 255 255 255 180;\
- image.normal: "01_dialoguegroup_dataview_"location".png" ;\
- image.border: r_border l_border t_border b_border;\
- image.border_scale: 1;\
- }\
- description{\
- state: "disabled" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- }\
- }\
- }\
- programs {\
- program { \
- name: "disabled";\
- signal: "elm,state,disabled";\
- source: "elm";\
- action: STATE_SET "disabled" 0.0;\
- target: "over";\
- }\
- program { \
- name: "enabled";\
- signal: "elm,state,enabled";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "over";\
- }\
- }\
- }
-
-DIALOGUE_GROUP_DATAVIEW_BACKGROUND("default", -5, 13, 13, 10, 15);
-DIALOGUE_GROUP_DATAVIEW_BACKGROUND("top", -1, 13, 13, 10, 4);
-DIALOGUE_GROUP_DATAVIEW_BACKGROUND("middle", -1, 13, 13, 5, 5);
-DIALOGUE_GROUP_DATAVIEW_BACKGROUND("bottom", -5, 13, 13, 5, 14);
-
-#define DIALOGUE_GROUP_NO_BACKGROUND(location, height_offset) \
- group{ \
- name: "elm/dialoguegroup/no_bg_"location"/default";\
- parts{\
- part{\
- name: "left";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 0 0.5;\
- rel1.relative: 0.0 0.0;\
- rel2.relative: 0.0 1.0;\
- }\
- }\
- part{\
- name: "right";\
- type: RECT;\
- scale: 1;\
- mouse_events: 0;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- min: 11 0;\
- fixed: 1 0;\
- align: 1 0.5;\
- rel1.relative: 1.0 0.0;\
- rel2.relative: 1.0 1.0;\
- }\
- }\
- part{\
- name: "bg";\
- type: RECT;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left";\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- color: 0 0 0 0;\
- }\
- }\
- part{\
- name: "swallow";\
- type: SWALLOW;\
- description{\
- state: "default" 0.0;\
- rel1.relative: 1.0 0.0;\
- rel1.to_x: "left";\
- rel1.to_y: "bg";\
- rel1.offset: 0 0;\
- rel2.relative: 0.0 1.0;\
- rel2.to_x: "right";\
- rel2.to_y: "bg";\
- rel2.offset: -1 height_offset;\
- }\
- }\
- part{\
- name: "over";\
- type: RECT;\
- mouse_events: 1;\
- description{\
- state: "default" 0.0;\
- visible: 0;\
- rel1.to: "bg";\
- rel2.to: "bg";\
- color: 0 0 0 0;\
- }\
- description{\
- state: "disabled" 0.0;\
- inherit: "default" 0.0;\
- visible: 1;\
- }\
- }\
- }\
- programs {\
- program { \
- name: "disabled";\
- signal: "elm,state,disabled";\
- source: "elm";\
- action: STATE_SET "disabled" 0.0;\
- target: "over";\
- }\
- program { \
- name: "enabled";\
- signal: "elm,state,enabled";\
- source: "elm";\
- action: STATE_SET "default" 0.0;\
- target: "over";\
- }\
- }\
- }
-
-DIALOGUE_GROUP_NO_BACKGROUND("default", -5);
-DIALOGUE_GROUP_NO_BACKGROUND("top", -1);
-DIALOGUE_GROUP_NO_BACKGROUND("middle", -1);
-DIALOGUE_GROUP_NO_BACKGROUND("bottom", -5);
-
-
-group { name: "elm/dialoguegroup/title/default";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 30;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding";
- rel2.relative: 1.0 0.5;
-
- color: DIALOGUEGROUP_ITEM_TITLE_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 20;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/default";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 80;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "right_padding_e";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 5 0;
- max: 5 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "content";
-
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
- }
- }
- part { name: "content_extended";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding_e";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding_e";
- }
- }
- part { name: "over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,1";
- source: "over";
- action: STATE_SET "pressed" 0.0;
- target: "text";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "over";
- action: STATE_SET "default" 0.0;
- target: "text";
- }
- program {
- name: "highlight_off";
- signal: "elm,text,highlight,off";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "over";
- }
- program {
- name: "highlight_on";
- signal: "elm,text,highlight,on";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "over";
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/text_with_button";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 80;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "right_padding_e";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 5 0;
- max: 5 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "content";
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
- }
- }
- part { name: "content_extended";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding_e";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding_e";
- }
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/text_with_button_2_wrap";
- styles{
- style { name: "dialogue_text_style";
- base: "font=SLP:style=Roman font_size=32 align=left color="DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC_HEX" wrap=word";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- style { name: "dialogue_text_pressed_style";
- base: "font=SLP:style=Roman font_size=32 align=left color="DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC_HEX" wrap=word";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 80;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "right_padding_e";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 5 0;
- max: 5 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part {
- name: "text";
- type: TEXTBLOCK;
- effect: SHADOW;
- scale:1;
- description {
- state: "default" 0.0;
- text {
- style: "dialogue_text_style";
- min: 0 0;
- max: 0 1;
- }
- rel1 { relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to_x: "content"; to_y: "bg"; }
- align: 0.0 0.5;
- }
- description {
- state: "pressed" 0.0;
- text {
- style: "dialogue_text_pressed_style";
- min: 0 0;
- max: 0 1;
- }
- rel1 { relative: 1.0 0.0; to_x: "left_padding"; to_y: "bg"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to_x: "content"; to_y: "bg"; }
- align: 0.0 0.5;
- }
- }
- part { name: "over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
- }
- }
- part { name: "content_extended";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding_e";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding_e";
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,1";
- source: "over";
- action: STATE_SET "pressed" 0.0;
- target: "text";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "over";
- action: STATE_SET "default" 0.0;
- target: "text";
- }
- program {
- name: "highlight_off";
- signal: "elm,text,highlight,off";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "over";
- }
- program {
- name: "highlight_on";
- signal: "elm,text,highlight,on";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "over";
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/text_with_button_2";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 80;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "right_padding_e";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 5 0;
- max: 5 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "content";
-
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
- }
- }
- part { name: "content_extended";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding_e";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding_e";
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,1";
- source: "over";
- action: STATE_SET "pressed" 0.0;
- target: "text";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "over";
- action: STATE_SET "default" 0.0;
- target: "text";
- }
- program {
- name: "highlight_off";
- signal: "elm,text,highlight,off";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "over";
- }
- program {
- name: "highlight_on";
- signal: "elm,text,highlight,on";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "over";
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/button_with_text";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 80;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "left_padding1";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 10 0;
- max: 10 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel1.to_x: "content";
- rel2.to_x: "content";
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 10 0;
- max: 10 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding1";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
-
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding";
- rel2.relative: 1.0 0.5;
- rel2.to_x: "left_padding";
- }
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/text_with_arrow";
- images{
- image: "00_list_on_arrow.png" COMP;
- image: "00_list_on_arrow_press.png" COMP;
- }
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 80;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "arrow_image";
-
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "arrow_image";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- min: 15 28;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
- image.normal: "00_list_on_arrow.png" ;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_list_on_arrow_press.png" ;
- }
- }
- part { name: "over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,1";
- source: "over";
- action: STATE_SET "pressed" 0.0;
- target: "text";
- target: "arrow_image";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "over";
- action: STATE_SET "default" 0.0;
- target: "text";
- target: "arrow_image";
- }
- program {
- name: "highlight_off";
- signal: "elm,text,highlight,off";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "over";
- }
- program {
- name: "highlight_on";
- signal: "elm,text,highlight,on";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "over";
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/default_dim";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 80;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "right_padding_e";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 5 0;
- max: 5 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
-
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "content";
-
- color: 163 157 138 255;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
- }
- }
- part { name: "content_extended";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding_e";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding_e";
- }
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/dataview";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 66;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 0;
- align: 0.0 0.0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 5 0;
- fixed: 1 0;
- align: 1.0 0.0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "right_padding1";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 176 0;
- fixed: 1 0;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "left.text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding1";
- color: 0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 30;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- }
- part { name: "right.text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding1";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
- color: 90 73 40 255;
- text {
- font: "SLP:style=Medium";
- size: 26;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/two_line_text_with_button_2";
- parts {
- part { name: "base";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- min: 0 90;
- 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 50;
- 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 10;
- fixed: 1 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0;
- }
- }
- part { name: "left";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "right_e";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 5 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "top.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left";
- to_y: "top2";
- }
- rel2 {
- relative: 0.0 0.5;
- to_x: "content";
- }
- color: DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_1_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "bottom.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left";
- to_y: "top1";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "content";
- }
- color: DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_1_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "over";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- repeat_events: 0;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right";
- }
- }
- part { name: "content_extended";
- type: SWALLOW;
- scale: 1;
- repeat_events: 0;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_e";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_e";
- }
- }
-
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,1";
- source: "over";
- action: STATE_SET "pressed" 0.0;
- target: "top.text";
- target: "bottom.text";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "over";
- action: STATE_SET "default" 0.0;
- target: "top.text";
- target: "bottom.text";
- }
- program {
- name: "highlight_off";
- signal: "elm,text,highlight,off";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "over";
- }
- program { name: "highlight_on";
- signal: "elm,text,highlight,on";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "over";
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/two_line_text_with_button";
- parts {
- part { name: "base";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- min: 0 90;
- 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 50;
- 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 10;
- fixed: 1 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0;
- }
- }
- part { name: "left";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "right_e";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 5 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "top.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left";
- to_y: "top2";
- }
- rel2 {
- relative: 1.0 0.5;
- to_x: "content";
- }
- color: DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_1_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- }
- part { name: "bottom.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left";
- to_y: "top1";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "content";
- }
- color: DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_1_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- repeat_events: 0;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right";
- }
- }
- part { name: "content_extended";
- type: SWALLOW;
- scale: 1;
- repeat_events: 0;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_e";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_e";
- }
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/two_line_text";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- min: 0 90;
- 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 50;
- 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 10;
- fixed: 1 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0;
- }
- }
- part { name: "left";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "right_e";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 5 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
-
- part { name: "top.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left";
- to_y: "top2";
- }
- rel2 {
- relative: 1.0 0.5;
- to_x: "content";
- }
- color: DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_1_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "bottom.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left";
- to_y: "top1";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "content";
- }
- color: DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_1_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right";
- }
- }
- part { name: "content_extended";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_e";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_e";
- }
- }
- part { name: "over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- color: 0 0 0 0;
- visible: 1;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,1";
- source: "over";
- action: STATE_SET "pressed" 0.0;
- target: "top.text";
- target: "bottom.text";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "over";
- action: STATE_SET "default" 0.0;
- target: "top.text";
- target: "bottom.text";
- }
- program {
- name: "highlight_off";
- signal: "elm,text,highlight,off";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "over";
- }
- program {
- name: "highlight_on";
- signal: "elm,text,highlight,on";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "over";
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/two_line_text_with_arrow";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- min: 0 90;
- 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 50;
- 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 10;
- fixed: 1 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0;
- }
- }
- part { name: "left";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "top.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left";
- to_y: "top2";
- }
- rel2 {
- relative: 1.0 0.5;
- to_x: "arrow_image";
- }
- color: DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_1_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "bottom.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left";
- to_y: "top1";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "arrow_image";
- }
- color: DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_1_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "arrow_image";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- min: 15 28;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right";
- image.normal: "00_list_on_arrow.png" ;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_list_on_arrow_press.png" ;
- }
- }
- part { name: "over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,1";
- source: "over";
- action: STATE_SET "pressed" 0.0;
- target: "top.text";
- target: "bottom.text";
- target: "arrow_image";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "over";
- action: STATE_SET "default" 0.0;
- target: "top.text";
- target: "bottom.text";
- target: "arrow_image";
- }
- program {
- name: "highlight_off";
- signal: "elm,text,highlight,off";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "over";
- }
- program {
- name: "highlight_on";
- signal: "elm,text,highlight,on";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "over";
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/edit_title_with_button";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 80;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "right_padding_e";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 5 0;
- max: 5 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "content";
-
- color: 255 255 255 255;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
- }
- }
- part { name: "content_extended";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding_e";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding_e";
- }
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/edit_two_line_text";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- min: 0 90;
- 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 40;
- 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 10;
- fixed: 1 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0;
- }
- }
- part { name: "left";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "right_e";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 5 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "top.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left";
- to_y: "top2";
- }
- rel2 {
- relative: 0.0 0.5;
- to_x: "content";
- }
- color: DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_2_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "bottom.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left";
- to_y: "top1";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "content";
- }
- color: DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_2_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right";
- }
- }
- part { name: "content_extended";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_e";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_e";
- }
- }
- part { name: "over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,1";
- source: "over";
- action: STATE_SET "pressed" 0.0;
- target: "top.text";
- target: "bottom.text";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "over";
- action: STATE_SET "default" 0.0;
- target: "top.text";
- target: "bottom.text";
- }
- program {
- name: "highlight_off";
- signal: "elm,text,highlight,off";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "over";
- }
- program {
- name: "highlight_on";
- signal: "elm,text,highlight,on";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "over";
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/edit_two_line_text_with_arrow";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- min: 0 90;
- 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 40;
- 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 10;
- fixed: 1 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0;
- }
- }
- part { name: "left";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "top.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left";
- to_y: "top2";
- }
- rel2 {
- relative: 1.0 0.5;
- to_x: "arrow_image";
- }
- color: DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_2_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "bottom.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left";
- to_y: "top1";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "arrow_image";
- }
- color: DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_2_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "arrow_image";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- min: 15 28;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right";
- image.normal: "00_list_on_arrow.png" ;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_list_on_arrow_press.png" ;
- }
- }
- part { name: "over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,1";
- source: "over";
- action: STATE_SET "pressed" 0.0;
- target: "top.text";
- target: "bottom.text";
- target: "arrow_image";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "over";
- action: STATE_SET "default" 0.0;
- target: "top.text";
- target: "bottom.text";
- target: "arrow_image";
- }
- program {
- name: "highlight_off";
- signal: "elm,text,highlight,off";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "over";
- }
- program {
- name: "highlight_on";
- signal: "elm,text,highlight,on";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "over";
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/edit_two_line_text_with_button";
- parts {
- part { name: "base";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- min: 0 90;
- 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 40;
- 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 10;
- fixed: 1 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0;
- }
- }
- part { name: "left";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "right_e";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 5 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "top.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left";
- to_y: "top2";
- }
- rel2 {
- relative: 0.0 0.5;
- to_x: "content";
- }
- color: DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_2_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- }
- part { name: "bottom.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "left";
- to_y: "top1";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "content";
- }
- color: DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_2_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.0;
- }
- }
- }
- part { name: "content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right";
- }
- }
- part { name: "content_extended";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_e";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_e";
- }
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/list_on_off";
- images{
- image: "00_list_on_arrow.png" COMP;
- image: "00_list_on_arrow_press.png" COMP;
- }
- script {
- public off_style = 0;
-
- public set_on_style() {
- set_int(off_style, 0);
- set_state(PART:"on_off_text", "default", 0.0);
- }
- public set_off_style() {
- set_int(off_style, 1);
- set_state(PART:"on_off_text", "off_style", 0.0);
- }
- public thumb_up() {
- if(get_int(off_style) == 1)
- set_state(PART:"on_off_text", "off_style", 0.0);
- else
- set_state(PART:"on_off_text", "default", 0.0);
- set_state(PART:"text", "default", 0.0);
- set_state(PART:"arrow_image", "default", 0.0);
- }
- }
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 80;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- color: 0 0 0 0;
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- color: 0 0 0 0;
- }
- }
- part { name: "text_icon_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- rel1.relative : 0.0 0.0;
- rel1.to_x : "arrow_image";
- rel2.relative : 0.0 1.0;
- rel2.to_x : "arrow_image";
- color: 0 0 0 0;
- }
- }
- part { name: "text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "on_off_text";
- color: DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "on_off_text";
- type: TEXT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "text_icon_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "text_icon_padding";
- color: DIALOGUEGROUP_ITEM_ON_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 1 1;
- align: 1.0 0.5;
- }
- }
- description {
- state: "off_style" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_OFF_TEXT_COLOR_INC;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC;
- }
- }
- part { name: "arrow_image";
- type: IMAGE;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 1.0 0.5;
- min: 15 28;
- fixed: 1 1;
- rel1.relative: 0.0 0.5;
- rel1.to_x: "right_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
- image.normal: "00_list_on_arrow.png" ;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_list_on_arrow_press.png" ;
- }
- }
- part { name: "over";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- }
- programs {
- program {
- name: "on_style";
- signal: "elm,state,on,style";
- source: "elm";
- script {
- set_on_style();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,off,style";
- source: "elm";
- script {
- set_off_style();
- }
- }
- program {
- name: "mouse_down";
- signal: "mouse,down,1";
- source: "over";
- action: STATE_SET "pressed" 0.0;
- target: "text";
- target: "on_off_text";
- target: "arrow_image";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "over";
- script {
- thumb_up();
- }
- }
- program {
- name: "highlight_off";
- signal: "elm,text,highlight,off";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "over";
- }
- program { name: "highlight_on";
- signal: "elm,text,highlight,on";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "over";
- }
- }
-}
-
-group { name: "elm/dialogueitem/base/slider";
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 80;
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 0.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 0.0 0.0;
- rel2.relative : 0.0 1.0;
- }
- }
- part { name: "right_padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- max: 15 9999;
- fixed: 1 1;
- align: 1.0 0.0;
- color: 0 0 0 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- }
- part { name: "slider";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- rel1.relative: 1.0 0.5;
- rel1.to_x: "left_padding";
- rel2.relative: 0.0 0.5;
- rel2.to_x: "right_padding";
- }
- }
- }
-}
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
- group { name: "elm/editfield/base/default";
- images {
- image: "00_field_btn_delete.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- min: 0 80;
- 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 20;
- fixed: 1 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0;
- }
- description {
- state: "elm.text.show" 0.0;
- inherit: "default" 0.0;
- min: 0 35;
- }
- }
- part { name: "top2";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 6;
- fixed: 1 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0;
- }
- description {
- state: "edit" 0.0;
- inherit: "default" 0.0;
- min: 0 3;
- }
- }
- part { name: "left1";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 15 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: 15 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: 15 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- description {
- state: "elm.eraser.show" 0.0;
- inherit: "default" 0.0;
- min: 55 0;
- }
- }
- part { name: "right2";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 5 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 20;
- fixed: 1 1;
- align: 0 1;
- rel1.relative: 0.0 1.0;
- }
- description {
- state: "elm.text.show" 0.0;
- inherit: "default" 0.0;
- min: 0 5;
- }
- }
- part { name: "bottom2";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 20;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- align: 0 1;
- }
- description {
- state: "elm.text.show" 0.0;
- inherit: "default" 0.0;
- min: 0 5;
- }
- }
- part { name: "bottom3";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 70;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- align: 0 1;
- }
- description {
- state: "elm.text.show" 0.0;
- inherit: "default" 0.0;
- min: 0 60;
- }
- }
- part { name: "elm.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- visible: 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: "SLP:style=Medium";
- size: 24;
- min: 1 1;
- align: 0.0 0.0;
- }
- }
- description {
- state: "elm.text.show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- 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: 163 157 138 255;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- 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: "over";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- description {
- state: "edit" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "eraser_image";
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- min: 40 40;
- fixed: 1 1;
- align: 1 1;
- rel1 {
- relative: 0.0 0.0;
- to_x : "right2";
- to_y : "bottom2";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x : "right2";
- to_y : "bottom2";
- }
- image.normal: "00_field_btn_delete.png";
- image.border: 15 15 15 15;
- image.border_scale: 1;
- }
- description {
- state: "elm.eraser.show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "eraser";
- mouse_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 0.0;
- to_x : "eraser_image";
- to_y : "bottom3";
- }
- }
- description {
- state: "elm.eraser.show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program { name: "guidetext_show";
- signal: "elm,state,guidetext,visible";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.guidetext";
- }
- program { name: "guidetext_hide";
- signal: "elm,state,guidetext,hidden";
- 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: "right1";
- target: "eraser_image";
- target: "eraser";
- }
- program { name: "eraser_hide";
- signal: "elm,state,eraser,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "right1";
- target: "eraser_image";
- target: "eraser";
- }
- program { name: "editing";
- signal: "elm,state,over,hide";
- source: "elm";
- action: STATE_SET "edit" 0.0;
- target: "over";
- target: "top2";
- }
- program { name: "no_editing";
- signal: "elm,state,over,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "over";
- target: "top2";
- }
- program { name: "label_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "elm.text.show" 0.0;
- target: "elm.text";
- target: "top1";
- target: "bottom1";
- target: "bottom2";
- target: "bottom3";
- }
- program { name: "label_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- target: "top1";
- target: "bottom1";
- target: "bottom2";
- target: "bottom3";
- }
- }
- }
-
-group { name: "elm/editfield/base/searchbar";
- images {
- image: "00_field_btn_delete.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- min: 0 30;
- 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 6;
- fixed: 1 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0;
- }
- description {
- state: "elm.text.show" 0.0;
- inherit: "default" 0.0;
- min: 0 10.5;
- }
- }
- part { name: "top2";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 10;
- fixed: 1 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0;
- }
- description {
- state: "edit" 0.0;
- inherit: "default" 0.0;
- min: 0 3;
- }
- }
- part { name: "top3";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 6;
- fixed: 0 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0;
- }
- description {
- state: "elm.text.show" 0.0;
- inherit: "default" 0.0;
- min: 0 10.5;
- }
- }
- part { name: "top4";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 50;
- 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: 15 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: 15 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: 15 0;
- fixed: 1 1;
- align: 1 0;
- rel1.relative : 1.0 0.0;
- rel2.relative : 1.0 1.0;
- }
- description {
- state: "elm.eraser.show" 0.0;
- inherit: "default" 0.0;
- min: 55 0;
- }
- }
- part { name: "right2";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 5 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 8;
- fixed: 1 1;
- align: 0 1;
- rel1.relative: 0.0 1.0;
- }
- description {
- state: "elm.text.show" 0.0;
- inherit: "default" 0.0;
- min: 0 2;
- }
- }
- part { name: "bottom2";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 8;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- align: 0 1;
- }
- description {
- state: "elm.text.show" 0.0;
- inherit: "default" 0.0;
- min: 0 2;
- }
- }
- part { name: "bottom3";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 60;
- fixed: 0 1;
- rel1.relative: 0.0 1.0;
- align: 0 1;
- }
- description {
- state: "elm.text.show" 0.0;
- inherit: "default" 0.0;
- min: 0 50;
- }
- }
- part { name: "elm.text";
- type: TEXT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.0;
- min: 0 30;
- 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: "SLP:style=Medium";
- size: 24;
- min: 1 1;
- align: 0.0 0.0;
- }
- }
- description {
- state: "elm.text.show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- 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: 163 157 138 255;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- 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: "over";
- type: RECT;
- scale: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- description {
- state: "edit" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "eraser_image";
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- min: 40 40;
- fixed: 1 1;
- align: 1 1;
- rel1 {
- relative: 0.0 0.0;
- to_x : "right2";
- to_y : "bottom2";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x : "right2";
- to_y : "bottom2";
- }
- image.normal: "00_field_btn_delete.png";
- image.border: 15 15 15 15;
- image.border_scale: 1;
- }
- description {
- state: "elm.eraser.show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "eraser";
- mouse_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 0.0;
- to_x : "eraser_image";
- to_y : "bottom3";
- }
- }
- description {
- state: "elm.eraser.show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program { name: "guidetext_show";
- signal: "elm,state,guidetext,visible";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.guidetext";
- }
- program { name: "guidetext_hide";
- signal: "elm,state,guidetext,hidden";
- 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: "right1";
- target: "eraser_image";
- target: "eraser";
- }
- program { name: "eraser_hide";
- signal: "elm,state,eraser,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "right1";
- target: "eraser_image";
- target: "eraser";
- }
- program { name: "editing";
- signal: "elm,state,over,hide";
- source: "elm";
- action: STATE_SET "edit" 0.0;
- target: "over";
- target: "top2";
- }
- program { name: "no_editing";
- signal: "elm,state,over,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "over";
- target: "top2";
- }
- program { name: "label_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "elm.text.show" 0.0;
- target: "elm.text";
- target: "bottom1";
- target: "bottom2";
- target: "bottom3";
- }
- program { name: "label_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- target: "bottom1";
- target: "bottom2";
- target: "bottom3";
- }
- }
- }
+++ /dev/null
- group { name: "elm/entry/base/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=SLP:style=Roman font_size=24 color=#000000 wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#800 underline=on underline_color=#8008";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "preedit" "+ underline=on underline_color=#000000FF";
- tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
- }
- style { name: "entry_textblock_disabled_style";
- base: "font=SLP:style=Roman font_size=24 color=#00000080 wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "preedit" "+ underline=on underline_color=#000000FF";
- tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
- }
- }
- data {
- item: context_menu_orientation "horizontal";
- }
- parts {
- part { name: "entry.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- }
- parts {
- 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: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
- source4: "elm/entry/cursor/default"; // cursorover
- source5: "elm/entry/anchor/default"; // anchor under
-// source6: "X"; // anchor over
- description { state: "default" 0.0;
- fixed: 1 0;
- text {
- style: "entry_textblock_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: "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-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: "entry.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- }
- parts {
- 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: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
- source4: "elm/entry/cursor/default"; // cursorover
- source5: "elm/entry/anchor/default"; // anchor under
- description { state: "default" 0.0;
- text {
- style: "entry_textblock_style";
- min: 1 1;
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- text {
- style: "entry_textblock_disabled_style";
- min: 0 1;
- }
- }
- }
-/*
- part { name: "sel";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 1.0 1.0;
- max: 16 16;
- aspect: 1.0 1.0;
- color: 255 0 0 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 50;
- }
- }
- */
- }
- 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: "selmode0";
- signal: "elm,state,select,on";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "sel";
- }
- program { name: "selmode1";
- signal: "elm,state,select,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "sel";
- }
- */
- }
- }
-
- group { name: "elm/entry/base/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";
-
- 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=SLP:style=Roman font_size=32 color=#000000 wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#800 underline=on underline_color=#8008";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "preedit" "+ underline=on underline_color=#000000FF";
- tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
- }
- style { name: "editfield_textblock_disabled_style";
- base: "font=SLP:style=Roman font_size=32 color=#00000080 wrap=char linesize=44";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "preedit" "+ underline=on underline_color=#000000FF";
- tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
- }
- }
- data {
- item: context_menu_orientation "horizontal";
- }
- parts {
- part { name: "entry.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- }
- parts {
- 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: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
- source4: "elm/entry/cursor/default"; // cursorover
- source5: "elm/entry/anchor/default"; // anchor under
- //source6: "X"; // anchor over
- description { state: "default" 0.0;
- fixed: 1 0;
- text {
- style: "editfield_textblock_style";
- min: 0 1;
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- text {
- style: "editfield_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";
- }
- }
- }
-
- 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=SLP:style=Roman font_size=32 color=#000000 wrap=none";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#800 underline=on underline_color=#8008";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "preedit" "+ underline=on underline_color=#000000FF";
- tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
- }
- style { name: "editfield_single_textblock_disabled_style";
- base: "font=SLP:style=Roman font_size=32 color=#00000080 wrap=none";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "preedit" "+ underline=on underline_color=#000000FF";
- tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
- }
- }
- data {
- item: context_menu_orientation "horizontal";
- }
- parts {
- part { name: "entry.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- }
- parts {
- 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: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
- source4: "elm/entry/cursor/default"; // cursorover
- source5: "elm/entry/anchor/default"; // anchor under
- description { state: "default" 0.0;
- text {
- style: "editfield_single_textblock_style";
- min: 1 1;
- max: 0 1;
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- text {
- style: "editfield_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";
- }
- }
- }
-
- 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: "entry.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- }
- parts {
- 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: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
- source4: "elm/entry/cursor/default"; // cursorover
- source5: "elm/entry/anchor/default"; // anchor under
- description { state: "default" 0.0;
- text {
- style: "entry_textblock_style";
- min: 1 1;
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- text {
- style: "entry_textblock_disabled_style";
- min: 0 1;
- }
- }
- }
-/*
- part { name: "sel";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 1.0 1.0;
- max: 16 16;
- aspect: 1.0 1.0;
- color: 255 0 0 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 50;
- }
- }
- */
- }
- 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: "selmode0";
- signal: "elm,state,select,on";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "sel";
- }
- program { name: "selmode1";
- signal: "elm,state,select,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "sel";
- }
- */
-
- }
- }
-
- 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=SLP:style=Roman font_size=24 color=#000000 wrap=none";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#800 underline=on underline_color=#8008";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "preedit" "+ underline=on underline_color=#000000FF";
- tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
- }
- style { name: "entry_single_textblock_disabled_style";
- base: "font=SLP:style=Roman font_size=24 color=#00000080 wrap=none";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "preedit" "+ underline=on underline_color=#000000FF";
- tag: "preedit_sel" "+ backing=on backing_color=#000000FF color=#FFFFFFFF";
- }
- }
- data {
- item: context_menu_orientation "horizontal";
- }
- parts {
- part { name: "entry.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- }
- parts {
- 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: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
- source4: "elm/entry/cursor/default"; // cursorover
- source5: "elm/entry/anchor/default"; // anchor under
- 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";
- }
-
- }
- }
-
- 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: "entry.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- }
- parts {
- 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: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
- source5: "elm/entry/anchor/default"; // anchor under
- 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";
- }
-
- }
- }
-
- 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: "entry.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- }
- parts {
- 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: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
- source5: "elm/entry/anchor/default"; // anchor under
- description { state: "default" 0.0;
- fixed: 1 0;
- text {
- style: "entry_textblock_style";
- min: 0 1;
- }
- }
- 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-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: "entry.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- }
- parts {
- 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: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
- source5: "elm/entry/anchor/default"; // anchor under
- description { state: "default" 0.0;
- fixed: 1 0;
- text {
- style: "entry_textblock_style_charwrap";
- min: 0 1;
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- text {
- style: "entry_textblock_disabled_style_charwrap";
- }
- }
- }
- }
- 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-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: "entry.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- }
- parts {
- 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: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
- source5: "elm/entry/anchor/default"; // anchor under
- description { state: "default" 0.0;
- text {
- style: "entry_textblock_style";
- min: 1 1;
- }
- }
- 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-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: "entry.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- }
- parts {
- 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: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
- source4: "elm/entry/cursor/default"; // cursorover
- source5: "elm/entry/anchor/default"; // anchor under
- 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";
- }
- }
- }
-
- group { name: "elm/entry/custom-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.text";
- type: TEXTBLOCK;
- mouse_events: 1;
- scale: 1;
- entry_mode: PASSWORD_SHOW_LAST_CHARACTER;
- select_mode: BLOCK_HANDLE;
- multiline: 0;
- source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
- source4: "elm/entry/cursor/default"; // cursorover
- source5: "elm/entry/anchor/default"; // anchor under
- 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: "password_stop";
- signal: "cursor,changed";
- source: "elm.text";
- action: ACTION_STOP;
- target: "password_start";
- after: "password_start";
- }
- program { name: "password_start";
- in: 2.0 0.0;
- action: HIDE_VISIBLE_PASSWORD;
- 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/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";
- 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: 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: 229 134 22 255;
- }
- 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: 138 183 223 128;
- }
- }
- }
- }
-
- group { name: "elm/entry/selection/block_handle";
- data.item: "position" "BOTH";
- images {
- image: "reader_handler_up.png" COMP;
- }
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description { state: "default" 0.0;
- visible: 1;
- fixed: 1 1;
- align: 0.5 0.25;
- min: 120 150;
- color: 0 0 0 0;
- }
- }
- part { name: "handle";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 48 66;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- image {
- normal: "reader_handler_up.png";
- border: 0 0 0 0;
- }
- image.middle: SOLID;
- fill.smooth: 0;
- }
- description { state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program { name: "focused";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "handle";
- }
- program { name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "handle";
- }
- }
- }
-
- group { name: "elm/entry/selection/block_handle_top";
- data.item: "position" "BOTH";
- images {
- image: "reader_handler_down.png" COMP;
- }
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description { state: "default" 0.0;
- visible: 1;
- fixed: 1 1;
- align: 0.5 0.75;
- min: 120 150;
- color: 0 0 0 0;
- }
- }
- part { name: "handle";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.5 1.0;
- min: 48 66;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- image {
- normal: "reader_handler_down.png";
- border: 0 0 0 0;
- }
- image.middle: SOLID;
- fill.smooth: 0;
- }
- description { state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program { name: "focused";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "handle";
- }
- program { name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "handle";
- }
- }
- }
-
-
- group { name: "elm/entry/selection/block_bar";
- images {
- image: "reader_longtap_blue.png" COMP;
- }
- parts {
- part { name: "bar_bg";
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- image {
- normal: "reader_longtap_blue.png";
- border: 0 0 0 0;
- }
- image.middle: SOLID;
- fill.smooth: 0;
- }
- }
- }
- }
-
-
-
- group { name: "elm/entry/anchor/default";
- parts {
- part { name: "bg";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- color: 128 0 0 64;
- }
- }
- }
- }
-
- 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;
- }
- }
- }
- }
-
- 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";
- }
- }
- }
- }
- }
+++ /dev/null
-/*\r
- * nBeat-theme\r
- *\r
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.\r
- *\r
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>, \r
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>, \r
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>\r
- * \r
- * This library is free software; you can redistribute it and/or modify it under\r
- * the terms of the GNU Lesser General Public License as published by the\r
- * Free Software Foundation; either version 2.1 of the License, or (at your option)\r
- * any later version.\r
- * \r
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY\r
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or\r
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public\r
- * License for more details.\r
- *\r
- * You should have received a copy of the GNU Lesser General Public License\r
- * along with this library; if not, write to the Free Software Foundation, Inc., 51\r
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\r
- *\r
- */\r
-\r
-group {\r
- name: "elm/gengrid/item/default_grid/default";\r
-\r
- data.item: "icons" "elm.swallow.icon elm.swallow.end";\r
-\r
- parts {\r
- part {\r
- name: "bg";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; }\r
- rel2 { relative: 1.0 1.0; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.icon";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; to: "bg"; }\r
- rel2 { relative: 1.0 0.0; to: "bottom_gap"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "bottom_gap";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 10;\r
- fixed: 0 1;\r
- align: 0.0 1.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 1.0; to: "bg"; }\r
- rel2 { relative: 1.0 1.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.end";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; to: "elm.swallow.icon"; }\r
- rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; }\r
- }\r
- }\r
- }\r
-}\r
-\r
-group { \r
- name: "elm/gengrid/item/default_gridtext/default";\r
-\r
- data.item: "labels" "elm.text";\r
- data.item: "icons" "elm.swallow.icon elm.swallow.end";\r
- \r
- parts {\r
- part {\r
- name: "bg";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; }\r
- rel2 { relative: 1.0 1.0; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.icon";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; to: "bg"; }\r
- rel2 { relative: 1.0 0.0; to: "bottom_gap"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "bottom_gap";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 10;\r
- fixed: 0 1;\r
- align: 0.0 1.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 1.0; to: "bg"; }\r
- rel2 { relative: 1.0 1.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "label_bg";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- color: 0 0 0 128;\r
- rel1 { relative: 0.0 0.833; offset: 0 0; to: "elm.swallow.icon"; }\r
- rel2 { relative: 1.0 1.0; offset: -1 0; to: "elm.swallow.icon"; }\r
- }\r
- }\r
-\r
- part { \r
- name: "elm.text";\r
- type: TEXT;\r
- mouse_events: 0;\r
- scale: 1;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; to: "label_bg"; }\r
- rel2 { relative: 1.0 1.0; to: "label_bg"; }\r
- color: 255 255 255 255;\r
- text {\r
- font: "SLP:style=Roman";\r
- size: 16;\r
- align: 0.5 0.5;\r
- }\r
- }\r
- }\r
-\r
- part { \r
- name: "elm.swallow.end";\r
- type: SWALLOW;\r
- description { \r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; to: "elm.swallow.icon"; }\r
- rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; }\r
- }\r
- }\r
- }\r
-}\r
-\r
-group {\r
- name: "elm/gengrid/item/photoframe_default/default";\r
-\r
- data.item: "labels" "elm.text";\r
- data.item: "icons" "elm.swallow.icon elm.swallow.end";\r
-\r
- parts {\r
- part {\r
- name: "bg";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; }\r
- rel2 { relative: 1.0 1.0; }\r
- }\r
- }\r
-\r
- part {\r
- name: "area_bg";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- color: 0 0 0 0;\r
- min: 120 120;\r
- align: 0.5 0.0;\r
- rel1 { relative: 0.0 0.0; to: "bg"; }\r
- rel2 { relative: 1.0 0.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.icon";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; to: "bg"; }\r
- rel2 { relative: 1.0 0.0; to: "bottom_gap"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "bottom_gap";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 10;\r
- fixed: 0 1;\r
- align: 0.0 1.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 1.0; to: "bg"; }\r
- rel2 { relative: 1.0 1.0; to: "bg"; }\r
- }\r
- }\r
- \r
- part {\r
- name: "elm.swallow.end";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; to: "elm.swallow.icon"; }\r
- rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; }\r
- }\r
- }\r
- }\r
-}\r
-\r
-group {\r
- name: "elm/gengrid/item/photoframe_video/default";\r
-\r
- images {\r
- image : "00_button_play.png" COMP;\r
- }\r
-\r
- data.item: "labels" "elm.text";\r
- data.item: "icons" "elm.swallow.icon elm.swallow.end";\r
-\r
- parts {\r
- part {\r
- name: "bg";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; }\r
- rel2 { relative: 1.0 1.0; }\r
- }\r
- }\r
-\r
- part {\r
- name: "area_bg";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- color: 0 0 0 0;\r
- min: 120 120;\r
- align: 0.5 0.0;\r
- rel1 { relative: 0.0 0.0; to: "bg"; }\r
- rel2 { relative: 1.0 0.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.icon";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; to: "bg"; }\r
- rel2 { relative: 1.0 0.0; to: "bottom_gap"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "bottom_gap";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 10;\r
- fixed: 0 1;\r
- align: 0.0 1.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 1.0; to: "bg"; }\r
- rel2 { relative: 1.0 1.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.image.btn";\r
- type: IMAGE;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: (40/120) (40/120); to: "elm.swallow.icon"; }\r
- rel2 { relative: ((120-40)/120) ((120-40)/120); to: "elm.swallow.icon"; }\r
- image.normal: "00_button_play.png";\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.text";\r
- type: TEXT;\r
- mouse_events: 0;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 18;\r
- fixed: 0 1;\r
- align: 0.5 1.0;\r
- rel1 { relative: 0.0 1.0; to: "area_bg"; }\r
- rel2 { relative: 1.0 1.0; to: "area_bg"; }\r
- color: 255 255 255 255;\r
- text {\r
- font: "SLP:style=Bold";\r
- size: 18;\r
- align: 0.5 0.5;\r
- }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.end";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; to: "elm.swallow.icon"; }\r
- rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; }\r
- }\r
- }\r
- }\r
-}\r
-\r
-group\r
-{\r
- name: "elm/gengrid/photoframe/horizontal_layout";\r
-\r
- parts {\r
- part {\r
- name: "bg";\r
- type: RECT;\r
- mouse_events: 1;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; }\r
- rel2 { relative: 1.0 1.0; }\r
- color: 0 0 0 0;\r
- }\r
- }\r
-\r
- part {\r
- name: "icon_bg";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- color: 255 255 255 255;\r
- rel1 { relative: (((120-104)/2)/120) (((120-74)/2)/120); to: "bg"; }\r
- rel2 { relative: ((120-(120-104)/2)/120) ((120-(120-74)/2)/120); to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.icon";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; offset: 2 2; to: "icon_bg"; }\r
- rel2 { relative: 1.0 1.0; offset: (-2-1) (-2-1); to: "icon_bg"; }\r
- }\r
- }\r
- }\r
-}\r
-\r
-group\r
-{\r
- name: "elm/gengrid/photoframe/vertical_layout";\r
-\r
- parts {\r
- part {\r
- name: "bg";\r
- type: RECT;\r
- mouse_events: 1;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; }\r
- rel2 { relative: 1.0 1.0; }\r
- color: 0 0 0 0;\r
- }\r
- }\r
-\r
- part {\r
- name: "icon_bg";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- color: 255 255 255 255;\r
- rel1 { relative: (((120-74)/2)/120) (((120-104)/2)/120); to: "bg"; }\r
- rel2 { relative: ((120-(120-74)/2)/120) ((120-(120-104)/2)/120); to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.icon";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; offset: 2 2; to: "icon_bg"; }\r
- rel2 { relative: 1.0 1.0; offset: (-2-1) (-2-1); to: "icon_bg"; }\r
- }\r
- }\r
- }\r
-}\r
-\r
-group {\r
- name: "elm/gengrid/item/stackedgrid_album/default";\r
-\r
- data.item: "labels" "elm.text.name elm.text.count";\r
- data.item: "icons" "elm.swallow.icon elm.swallow.mark";\r
-\r
- parts {\r
- part {\r
- name: "bg";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; }\r
- rel2 { relative: 1.0 1.0; }\r
- }\r
- }\r
-\r
- part {\r
- name: "left_padding";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 9 0;\r
- fixed: 1 0;\r
- align: 0.0 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; to: "bg"; }\r
- rel2 { relative: 0.0 1.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "right_padding";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 9 0;\r
- fixed: 1 0;\r
- align: 1.0 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 1.0 0.0; to: "bg"; }\r
- rel2 { relative: 1.0 1.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.icon";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 1.0 0.0; to: "left_padding"; }\r
- rel2 { relative: 0.0 0.0; to_x: "right_padding"; to_y: "bottom_gap"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.mark";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- min: 46 46;\r
- fixed : 1 1;\r
- align: 1.0 0.0;\r
- rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; }\r
- rel2 { relative: 1.0 0.0; to: "elm.swallow.icon"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "bottom_gap";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 71;\r
- fixed: 0 1;\r
- align: 0.0 1.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 1.0; to: "bg"; }\r
- rel2 { relative: 1.0 1.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.text.name";\r
- type: TEXT;\r
- mouse_events: 0;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 20;\r
- fixed: 0 1;\r
- align: 0.5 0.0;\r
- rel1 { relative: 0.0 0.0; to: "bottom_gap"; }\r
- rel2 { relative: 1.0 0.0; to: "bottom_gap"; }\r
- color: 255 255 255 255;\r
-\r
- text {\r
- font: "SLP:style=Bold";\r
- size: 18;\r
- align: 0.5 0.5;\r
- }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.text.count";\r
- type: TEXT;\r
- mouse_events: 0;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 20;\r
- fixed: 0 1;\r
- align: 0.5 0.0;\r
- rel1 { relative: 0.0 1.0; to: "elm.text.name"; }\r
- rel2 { relative: 1.0 1.0; to: "elm.text.name"; }\r
- color: 204 204 204 255;\r
-\r
- text {\r
- font: "SLP";\r
- size: 18;\r
- align: 0.5 0.5;\r
- }\r
- }\r
- }\r
- }\r
-}\r
-\r
-group {\r
- name: "elm/gengrid/item/stackedgrid_album_edit/default";\r
-\r
- images {\r
- image : "00_grid_edit_text_bg.png" COMP;\r
- }\r
-\r
- data.item: "labels" "elm.text.name elm.text.count";\r
- data.item: "icons" "elm.swallow.icon elm.swallow.mark elm.swallow.end";\r
-\r
- parts {\r
- part {\r
- name: "bg";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; }\r
- rel2 { relative: 1.0 1.0; }\r
- }\r
- }\r
-\r
- part {\r
- name: "left_padding";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 9 0;\r
- fixed: 1 0;\r
- align: 0.0 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; to: "bg"; }\r
- rel2 { relative: 0.0 1.0; to: "bg"; }\r
- }\r
- }\r
- \r
- part {\r
- name: "right_padding";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 9 0;\r
- fixed: 1 0;\r
- align: 1.0 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 1.0 0.0; to: "bg"; }\r
- rel2 { relative: 1.0 1.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.icon";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 1.0 0.0; to: "left_padding"; }\r
- rel2 { relative: 0.0 0.0; to_x: "right_padding"; to_y: "bottom_gap"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.mark";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- min: 46 46;\r
- fixed : 1 1;\r
- align: 1.0 0.0;\r
- rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; }\r
- rel2 { relative: 1.0 0.0; to: "elm.swallow.icon"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "bottom_gap";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 71;\r
- fixed: 0 1;\r
- align: 0.0 1.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 1.0; to: "bg"; }\r
- rel2 { relative: 1.0 1.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "edit_text_bg_top_padding";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 7;\r
- fixed: 0 1;\r
- align: 0.0 1.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; to: "bottom_gap"; }\r
- rel2 { relative: 1.0 0.0; to: "bottom_gap"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.end";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; to: "elm.swallow.icon"; }\r
- rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "edit_text_bg";\r
- type: IMAGE;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 54;\r
- fixed: 0 1;\r
- align: 0.0 0.0;\r
- rel1 { relative: 0.0 0.0; to: "edit_text_bg_top_padding"; }\r
- rel2 { relative: 1.0 0.0; to: "edit_text_bg_top_padding"; }\r
- image.normal: "00_grid_edit_text_bg.png";\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.text.name";\r
- type: TEXT;\r
- mouse_events: 0;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 20;\r
- fixed: 0 1;\r
- align: 0.5 0.0;\r
- rel1 { relative: 0.0 0.0; to: "bottom_gap"; }\r
- rel2 { relative: 1.0 0.0; to: "bottom_gap"; }\r
- color: 255 255 255 255;\r
- \r
- text {\r
- font: "SLP:style=Bold";\r
- size: 18;\r
- align: 0.5 0.5;\r
- }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.text.count";\r
- type: TEXT;\r
- mouse_events: 0;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 20;\r
- fixed: 0 1;\r
- align: 0.5 0.0;\r
- rel1 { relative: 0.0 1.0; to: "elm.text.name"; }\r
- rel2 { relative: 1.0 1.0; to: "elm.text.name"; }\r
- color: 204 204 204 255;\r
-\r
- text {\r
- font: "SLP";\r
- size: 18;\r
- align: 0.5 0.5;\r
- }\r
- }\r
- }\r
- }\r
-}\r
-\r
-group {\r
- name: "elm/gengrid/item/stackedgrid_photo/default";\r
-\r
- data.item: "labels" "elm.text.name elm.text.count";\r
- data.item: "icons" "elm.swallow.icon elm.swallow.mark";\r
-\r
- parts {\r
- part {\r
- name: "bg";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; }\r
- rel2 { relative: 1.0 1.0; }\r
- }\r
- }\r
-\r
- part {\r
- name: "left_padding";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 8 0;\r
- fixed: 1 0;\r
- align: 0.0 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; to: "bg"; }\r
- rel2 { relative: 0.0 1.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "right_padding";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 8 0;\r
- fixed: 1 0;\r
- align: 1.0 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 1.0 0.0; to: "bg"; }\r
- rel2 { relative: 1.0 1.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.icon";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 1.0 0.0; to: "left_padding"; }\r
- rel2 { relative: 0.0 0.0; to_x: "right_padding"; to_y: "bottom_gap"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.mark";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- min: 46 46;\r
- fixed : 1 1;\r
- align: 1.0 0.0;\r
- rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; }\r
- rel2 { relative: 1.0 0.0; to: "elm.swallow.icon"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "bottom_gap";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 69;\r
- fixed: 0 1;\r
- align: 0.0 1.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 1.0; to: "bg"; }\r
- rel2 { relative: 1.0 1.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "bottom_gap_top_padding";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 9;\r
- fixed: 0 1;\r
- align: 0.0 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; to: "bottom_gap"; }\r
- rel2 { relative: 1.0 0.0; to: "bottom_gap"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.text.name";\r
- type: TEXT;\r
- mouse_events: 0;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 20;\r
- fixed: 0 1;\r
- align: 0.5 0.0;\r
- rel1 { relative: 0.0 1.0; to: "bottom_gap_top_padding"; }\r
- rel2 { relative: 1.0 1.0; to: "bottom_gap_top_padding"; }\r
- color: 255 255 255 255;\r
-\r
- text {\r
- font: "SLP:style=Bold";\r
- size: 18;\r
- align: 0.5 0.5;\r
- }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.text.count";\r
- type: TEXT;\r
- mouse_events: 0;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 20;\r
- fixed: 0 1;\r
- align: 0.5 0.0;\r
- rel1 { relative: 0.0 1.0; to: "elm.text.name"; }\r
- rel2 { relative: 1.0 1.0; to: "elm.text.name"; }\r
- color: 204 204 204 255;\r
-\r
- text {\r
- font: "SLP";\r
- size: 18;\r
- align: 0.5 0.5;\r
- }\r
- }\r
- }\r
- }\r
-}\r
-\r
-group {\r
- name: "elm/gengrid/item/stackedgrid_photo_edit/default";\r
-\r
- images {\r
- image : "00_grid_edit_text_bg.png" COMP;\r
- }\r
-\r
- data.item: "labels" "elm.text.name elm.text.count";\r
- data.item: "icons" "elm.swallow.icon elm.swallow.mark elm.swallow.end";\r
-\r
- parts {\r
- part {\r
- name: "bg";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; }\r
- rel2 { relative: 1.0 1.0; }\r
- }\r
- }\r
-\r
- part {\r
- name: "left_padding";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 8 0;\r
- fixed: 1 0;\r
- align: 0.0 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; to: "bg"; }\r
- rel2 { relative: 0.0 1.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "right_padding";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 8 0;\r
- fixed: 1 0;\r
- align: 1.0 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 1.0 0.0; to: "bg"; }\r
- rel2 { relative: 1.0 1.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.icon";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 1.0 0.0; to: "left_padding"; }\r
- rel2 { relative: 0.0 0.0; to_x: "right_padding"; to_y: "bottom_gap"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.mark";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- min: 46 46;\r
- fixed : 1 1;\r
- align: 1.0 0.0;\r
- rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; }\r
- rel2 { relative: 1.0 0.0; to: "elm.swallow.icon"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "bottom_gap";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 69;\r
- fixed: 0 1;\r
- align: 0.0 1.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 1.0; to: "bg"; }\r
- rel2 { relative: 1.0 1.0; to: "bg"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "bottom_gap_top_padding";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 9;\r
- fixed: 0 1;\r
- align: 0.0 0.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; to: "bottom_gap"; }\r
- rel2 { relative: 1.0 0.0; to: "bottom_gap"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "edit_text_bg_top_padding";\r
- type: RECT;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 2;\r
- fixed: 0 1;\r
- align: 0.0 1.0;\r
- color: 0 0 0 0;\r
- rel1 { relative: 0.0 0.0; to: "bottom_gap"; }\r
- rel2 { relative: 1.0 0.0; to: "bottom_gap"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.swallow.end";\r
- type: SWALLOW;\r
- description {\r
- state: "default" 0.0;\r
- rel1 { relative: 0.0 0.0; to: "elm.swallow.icon"; }\r
- rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; }\r
- }\r
- }\r
-\r
- part {\r
- name: "edit_text_bg";\r
- type: IMAGE;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 54;\r
- fixed: 0 1;\r
- align: 0.0 0.0;\r
- rel1 { relative: 0.0 1.0; to: "edit_text_bg_top_padding"; }\r
- rel2 { relative: 1.0 1.0; to: "edit_text_bg_top_padding"; }\r
- image.normal: "00_grid_edit_text_bg.png";\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.text.name";\r
- type: TEXT;\r
- mouse_events: 0;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 20;\r
- fixed: 0 1;\r
- align: 0.5 0.0;\r
- rel1 { relative: 0.0 1.0; to: "bottom_gap_top_padding"; }\r
- rel2 { relative: 1.0 1.0; to: "bottom_gap_top_padding"; }\r
- color: 255 255 255 255;\r
-\r
- text {\r
- font: "SLP:style=Bold";\r
- size: 18;\r
- align: 0.5 0.5;\r
- }\r
- }\r
- }\r
-\r
- part {\r
- name: "elm.text.count";\r
- type: TEXT;\r
- mouse_events: 0;\r
- description {\r
- state: "default" 0.0;\r
- min: 0 20;\r
- fixed: 0 1;\r
- align: 0.5 0.0;\r
- rel1 { relative: 0.0 1.0; to: "elm.text.name"; }\r
- rel2 { relative: 1.0 1.0; to: "elm.text.name"; }\r
- color: 204 204 204 255;\r
-\r
- text {\r
- font: "SLP";\r
- size: 18;\r
- align: 0.5 0.5;\r
- }\r
- }\r
- }\r
- }\r
-}\r
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-/*
- * vim:ts=3
-*/
-
-#include "genlist_macro.edc"
-#include "genlist_macro_ext.edc"
-
-#include "genlist_styles.edc"
-#include "genlist_sweep.edc"
-#include "genlist_group_title.edc"
-#include "genlist_expandable_list.edc"
-#include "genlist_edit.edc"
-
- group { name: "elm/list/base/matchlist";
- script {
- public sbvis_v, sbvis_h, sbnever_v, 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.png" COMP;
- image: "bt_sm_shine.png" COMP;
- image: "bt_sm_hilight.png" COMP;
- image: "sb_runnerh.png" COMP;
- image: "sb_runnerv.png" COMP;
- image: "01_dialoguegroup_bg_default.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: "bg_image";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- rel1.offset: -5 -3;
- rel2.offset: 4 10;
- image {
- normal: "01_dialoguegroup_bg_default.png";
- border: 13 13 10 15;
- border_scale: 1;
- }
- fill.smooth: 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: "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: 8 8;
- align: 1.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- offset: -1 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 -1;
- to_y: "sb_hbar";
- }
- }
- }
- part { name: "sb_vbar_runner";
- clip_to: "sb_vbar_clip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 8 8;
- max: 8 99999;
- rel1.to: "sb_vbar";
- rel2.to: "sb_vbar";
- visible: 0;
- image {
- normal: "sb_runnerv.png";
- border: 0 0 4 4;
- 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: 8 8;
- 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.png";
- border: 3 3 3 3;
- 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: 6 6 6 0;
- 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: 6 6 6 0;
- 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: "sb_hbar";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- min: 50 8;
- align: 0.0 1.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -1;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -1 -1;
- to_x: "sb_vbar";
- }
- }
- }
- part { name: "sb_hbar_runner";
- clip_to: "sb_hbar_clip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 50 8;
- max: 99999 8;
- rel1.to: "sb_hbar";
- rel2.to: "sb_hbar";
- visible: 0;
- image {
- normal: "sb_runnerh.png";
- border: 4 4 0 0;
- 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: 50 8;
- 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.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- image.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: 6 6 6 0;
- 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: 6 6 6 0;
- 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);
- set_int(sbnever_v, 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);
- }
- set_int(sbnever_v, 0);
- }
- }
- 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);
- }
- }
- set_int(sbnever_v, 0);
- }
- }
- program { name: "vbar_hide_always";
- signal: "elm,action,hide_always,vbar";
- source: "elm";
- script {
- new v1, v2;
- v1 = get_int(sbnever_v);
- if (!v1) {
- set_int(sbnever_v, 1);
- set_int(sbalways_v, 0);
- v2 = get_int(sbvis_v);
- if (!v2) {
- 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, v1;
- v = get_int(sbvis_v);
- v |= get_int(sbalways_v);
- v1 = get_int(sbnever_v);
- if (!v && !v1) {
- 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(0.5, "timer0", 0);
- set_int(sbvis_timer, v);
- }
- }
- }
- }
-
-
- group { name: "elm/scroller/base/default";
- alias: "elm/list/base/default";
- alias: "elm/genlist/base/default";
- alias: "elm/carousel/base/default";
- alias: "elm/gengrid/base/default";
- script {
- public sbvis_v, sbvis_h, sbnever_v, 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.png" COMP;
- image: "bt_sm_shine.png" COMP;
- image: "bt_sm_hilight.png" COMP;
- image: "sb_runnerh.png" COMP;
- image: "sb_runnerv.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: "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: 8 8;
- align: 1.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- offset: -1 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 -1;
- to_y: "sb_hbar";
- }
- }
- }
- part { name: "sb_vbar_runner";
- clip_to: "sb_vbar_clip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 8 8;
- max: 8 99999;
- rel1.to: "sb_vbar";
- rel2.to: "sb_vbar";
- visible: 0;
- image {
- normal: "sb_runnerv.png";
- border: 0 0 4 4;
- 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: 8 8;
- 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.png";
- border: 3 3 3 3;
- 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: 6 6 6 0;
- 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: 6 6 6 0;
- 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: "sb_hbar";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- min: 50 8;
- align: 0.0 1.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -1;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -1 -1;
- to_x: "sb_vbar";
- }
- }
- }
- part { name: "sb_hbar_runner";
- clip_to: "sb_hbar_clip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 50 8;
- max: 99999 8;
- rel1.to: "sb_hbar";
- rel2.to: "sb_hbar";
- visible: 0;
- image {
- normal: "sb_runnerh.png";
- border: 4 4 0 0;
- 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: 50 8;
- 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.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- image.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: 6 6 6 0;
- 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: 6 6 6 0;
- 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);
- set_int(sbnever_v, 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);
- }
- set_int(sbnever_v, 0);
- }
- }
- 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);
- }
- }
- set_int(sbnever_v, 0);
- }
- }
- program { name: "vbar_hide_always";
- signal: "elm,action,hide_always,vbar";
- source: "elm";
- script {
- new v1, v2;
- v1 = get_int(sbnever_v);
- if (!v1) {
- set_int(sbnever_v, 1);
- set_int(sbalways_v, 0);
- v2 = get_int(sbvis_v);
- if (!v2) {
- 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, v1;
- v = get_int(sbvis_v);
- v |= get_int(sbalways_v);
- v1 = get_int(sbnever_v);
- if (!v && !v1) {
- 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(0.5, "timer0", 0);
- set_int(sbvis_timer, v);
- }
- }
- }
- }
-
- group { name: "elm/scroller/base/unclipped";
- alias: "elm/list/base/unclipped";
- alias: "elm/genlist/base/unclipped";
- alias: "elm/carousel/base/unclipped";
- alias: "elm/gengrid/base/unclipped";
- script {
- public sbvis_v, sbvis_h, sbnever_v, 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.png" COMP;
- image: "bt_sm_shine.png" COMP;
- image: "bt_sm_hilight.png" COMP;
- image: "sb_runnerh.png" COMP;
- image: "sb_runnerv.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: "elm.swallow.content";
- 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: "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: 8 8;
- align: 1.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- offset: -1 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 -1;
- to_y: "sb_hbar";
- }
- }
- }
- part { name: "sb_vbar_runner";
- clip_to: "sb_vbar_clip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 8 8;
- max: 8 99999;
- rel1.to: "sb_vbar";
- rel2.to: "sb_vbar";
- visible: 0;
- image {
- normal: "sb_runnerv.png";
- border: 0 0 4 4;
- 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: 8 8;
- 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.png";
- border: 3 3 3 3;
- 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: 6 6 6 0;
- 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: 6 6 6 0;
- 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: "sb_hbar";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- min: 50 8;
- align: 0.0 1.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -1;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -1 -1;
- to_x: "sb_vbar";
- }
- }
- }
- part { name: "sb_hbar_runner";
- clip_to: "sb_hbar_clip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 50 8;
- max: 99999 8;
- rel1.to: "sb_hbar";
- rel2.to: "sb_hbar";
- visible: 0;
- image {
- normal: "sb_runnerh.png";
- border: 4 4 0 0;
- 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: 50 8;
- 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.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- image.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: 6 6 6 0;
- 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: 6 6 6 0;
- 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);
- set_int(sbnever_v, 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);
- }
- set_int(sbnever_v, 0);
- }
- }
- 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);
- }
- }
- set_int(sbnever_v, 0);
- }
- }
- program { name: "vbar_hide_always";
- signal: "elm,action,hide_always,vbar";
- source: "elm";
- script {
- new v1, v2;
- v1 = get_int(sbnever_v);
- if (!v1) {
- set_int(sbnever_v, 1);
- set_int(sbalways_v, 0);
- v2 = get_int(sbvis_v);
- if (!v2) {
- 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, v1;
- v = get_int(sbvis_v);
- v |= get_int(sbalways_v);
- v1 = get_int(sbnever_v);
- if (!v && !v1) {
- 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(0.5, "timer0", 0);
- set_int(sbvis_timer, v);
- }
- }
- }
- }
-
- group { name: "elm/scroller/base/handler";
- alias: "elm/list/base/handler";
- alias: "elm/genlist/base/handler";
- alias: "elm/carousel/base/handler";
- script {
- public sbvis_v, sbvis_h, sbnever_v, 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.png" COMP;
- image: "bt_sm_shine.png" COMP;
- image: "bt_sm_hilight.png" COMP;
- image: "sb_runnerh.png" COMP;
- image: "00_scroll_bar_handler_top.png" COMP;
- image: "00_scroll_bar_handler_middle.png" COMP;
- image: "00_scroll_bar_handler_bottom.png" COMP;
- image: "00_scroll_bar_handler_left.png" COMP;
- image: "00_scroll_bar_handler_hor.png" COMP;
- image: "00_scroll_bar_handler_right.png" COMP;
- }
- parts {
- part { name: "bg";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- rel1.offset: 1 1;
- rel2.offset: -1 -1;
- color: 255 255 255 0;
- }
- }
- part { name: "clipper";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- }
- part { name: "elm.swallow.content";
- clip_to: "clipper";
- scale: 1;
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.offset: 1 1;
- rel2.offset: -2 -2;
- }
- }
- 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: "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;
- 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;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- min: 30 130;
- align: 1.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- offset: -2 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -2 -1;
- to_y: "sb_hbar";
- }
- }
- }
- part { name: "elm.dragable.vbar";
- 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;
- min: 30 130;
- 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";
- mouse_events: 0;
- scale: 1;
- clip_to: "sb_vbar_clip";
- 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;
- min: 30 57;
- max: 30 392;
- image {
- normal: "00_scroll_bar_handler_top.png";
- border: 5 5 5 0;
- border_scale: 1;
- }
- }
- }
- part { name: "scrollbar_handler_image_middle";
- mouse_events: 0;
- clip_to: "sb_vbar_clip";
- 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: 30 16;
- max: 30 16;
- image {
- normal: "00_scroll_bar_handler_middle.png";
- border: 5 5 0 0;
- border_scale: 1;
- }
- }
- }
- part { name: "scrollbar_handler_image_bottom";
- mouse_events: 0;
- clip_to: "sb_vbar_clip";
- 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;
- min: 30 57;
- max: 30 392;
- image {
- normal: "00_scroll_bar_handler_bottom.png";
- border: 5 5 0 5;
- border_scale: 1;
- }
- }
- }
- 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: 6 6 6 0;
- 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: 6 6 6 0;
- 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: 17 17;
- align: 0.0 1.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -2;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -1 -2;
- to_x: "sb_vbar";
- }
- }
- }
- part { name: "sb_hbar_runner";
- clip_to: "sb_hbar_clip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 3 3;
- max: 99999 3;
- rel1.to: "sb_hbar";
- rel2.to: "sb_hbar";
- visible: 0;
- image {
- normal: "sb_runnerh.png";
- border: 4 4 0 0;
- border_scale: 1;
- }
- fill.smooth: 0;
- }
- }
- part { name: "elm.dragable.hbar";
- 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;
- min: 130 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";
- }
- color: 255 255 255 0;
- }
- }
- part { name: "h_scrollbar_handler_image_left";
- mouse_events: 0;
- scale: 1;
- clip_to: "sb_hbar_clip";
- 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;
- min: 57 30;
- max: 392 30;
- image {
- normal: "00_scroll_bar_handler_left.png";
- border: 5 0 5 5;
- border_scale: 1;
- }
- }
- }
- part { name: "scrollbar_handler_image_hor";
- mouse_events: 0;
- clip_to: "sb_hbar_clip";
- 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: 16 30;
- max: 16 30;
- image {
- normal: "00_scroll_bar_handler_hor.png";
- border: 0 0 5 5;
- border_scale: 1;
- }
- }
- }
- part { name: "h_scrollbar_handler_image_right";
- mouse_events: 0;
- clip_to: "sb_hbar_clip";
- 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;
- min: 57 30;
- max: 392 30;
- image {
- normal: "00_scroll_bar_handler_right.png";
- border: 0 5 5 5;
- border_scale: 1;
- }
- }
- }
- 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: 6 6 6 0;
- 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: 6 6 6 0;
- 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);
- set_int(sbnever_v, 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);
- }
- set_int(sbnever_v, 0);
- }
- }
- 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);
- }
- }
- set_int(sbnever_v, 0);
- }
- }
- program { name: "vbar_hide_always";
- signal: "elm,action,hide_always,vbar";
- source: "elm";
- script {
- new v1, v2;
- v1 = get_int(sbnever_v);
- if (!v1) {
- set_int(sbnever_v, 1);
- set_int(sbalways_v, 0);
- v2 = get_int(sbvis_v);
- if (!v2) {
- 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, v1;
- v = get_int(sbvis_v);
- v |= get_int(sbalways_v);
- v1 = get_int(sbnever_v);
- if (!v && !v1) {
- 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(0.5, "timer0", 0);
- set_int(sbvis_timer, v);
- }
- }
- }
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-/*
- * vim:ts=3
- */
-
- #define EDIT_ICON_WIDTH 42
- #define EDIT_ICON_HEIGHT 42
- #define GENLIST_EDIT_SELECT_ICON_WIDTH EDIT_ICON_WIDTH
- #define GENLIST_EDIT_SELECT_ICON_HEIGHT EDIT_ICON_HEIGHT
-
- group { name: "elm/genlist/item/edit_control/default";
- alias: "elm/genlist/item_odd/edit_control/default";
- alias: "elm/genlist/item_compress/edit_control/default";
- alias: "elm/genlist/item_compress_odd/edit_control/default";
-
- data.item: "reorder" "reorder_icon";
- data.item: "insert" "insert_icon";
- data.item: "delete" "select_icon";
- data.item: "del_confirm" "elm.icon.del_confirm";
- data.item: "icon_width" 60;
- data.item: "del_button_style" "custom/red";
- data.item: "icons" "elm.swallow.end";
- data.item: "rename" "elm.swallow.edit_field_1line elm.swallow.edit_field_2line";
-
- images {
- image: "checkbox_on.png" COMP;
- image: "checkbox_off.png" COMP;
- image: "01_list_reorder.png" COMP;
- image: "01_list_reorder_selected.png" COMP;
- image: "01_list_minus.png" COMP;
- image: "01_list_minus_rotated.png" COMP;
- image: "01_list_minus_on_rotate.png" COMP;
- image: "01_list_plus.png" COMP;
- image: "01_list_reorder_bg_above.png" COMP;
- image: "01_list_reorder_bg_below.png" COMP;
- image: "00_button_reveal.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- repeat_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 80;
- color: 0 0 0 0;
- }
- description { state: "rename" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
-
- }
- part { name: "base_line_above";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- min: 0 3;
- fixed: 1 1;
- rel1.to: "base";
- rel2.to: "base";
- rel2.relative: 1.0 0.0;
- rel2.offset: -1 -1;
- color: GENLIST_EDIT_PART_LINE_INC;
- }
- }
- part { name: "base_line_below";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 1.0 1.0;
- min: 0 2;
- fixed: 1 1;
- rel1.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.to: "base";
- color: GENLIST_EDIT_PART_LINE_INC;
- }
- }
- part { name: "reorder_glow_above";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- rel1.to:"base";
- rel1.relative: 0.0 -0.3;
- rel2.to:"base";
- rel2.relative: 1.0 0.0;
- image {
- normal: "01_list_reorder_bg_above.png";
- }
- fill.smooth: 0;
- }
- description { state: "reorder" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "reorder_glow_below";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- rel1.to:"base";
- rel1.relative: 0.0 1.0;
- rel2.to:"base";
- rel2.relative: 1.0 1.3;
- image {
- normal: "01_list_reorder_bg_below.png";
- }
- fill.smooth: 0;
- }
- description { state: "reorder" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.padding.left";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- visible: 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 0 18;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
- part { name: "insert_icon";
- scale: 1;
- repeat_events: 0;
- description { state: "default" 0.0;
- min: 1 0;
- max: 1 0;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1.to_x: "elm.padding.left";
- rel1.to_y: "elm.padding.top";
- rel1.relative: 1.0 1.0;
- rel2.to_y: "elm.padding.top";
- image.normal: "01_list_plus.png";
- fill.smooth: 0;
- visible:0;
- }
- description { state: "enabled" 0.0;
- inherit: "default" 0.0;
- min: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- max: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- visible: 1;
- }
- }
- part { name: "select_icon";
- scale: 1;
- repeat_events: 0;
- description { state: "default" 0.0;
- min: GENLIST_EDIT_SELECT_ICON_WIDTH GENLIST_EDIT_SELECT_ICON_HEIGHT;
- fixed: 1 1;
- visible: 0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "insert_icon";
- to_y: "elm.padding.top";
- }
- rel2 {
- to_x: "insert_icon";
- to_y: "elm.padding.top";
- }
- image.normal: "checkbox_off.png";
- }
- description { state: "enabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "on_transfer" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "checkbox_on.png";
- }
- description { state: "del_confirm" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: "checkbox_on.png";
- }
- }
- part { name: "select_icon_touch_area";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: (GENLIST_EDIT_SELECT_ICON_WIDTH+10) 0;
- fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 0 0; to_x: "select_icon"; }
- rel2 { relative: 0 1; to_x: "select_icon"; }
- color: 0 0 0 0;
- }
- }
-
- part { name: "reorder_icon";
- scale: 1;
- repeat_events: 0;
- description { state: "default" 0.0;
- min: 1 0;
- max: 1 0;
- fixed: 1 1;
- visible: 0;
- align: 1.0 0.0;
- rel1 {
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- image {
- normal: "01_list_reorder.png";
- }
- fill.smooth: 0;
- visible:0;
- }
- description { state: "enabled" 0.0;
- inherit: "default" 0.0;
- min: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- max: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- visible: 0;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- min: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- max: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- image {
- normal: "01_list_reorder_selected.png";
- }
- visible: 0;
- }
- }
- part { name: "elm.icon.del_confirm";
- type: SWALLOW;
- scale: 1;
- repeat_events: 0;
- description { state: "default" 0.0;
- min: 88 50;
- max: 88 50;
- fixed: 1 1;
- align: 1.0 0.0;
- rel1 {
- 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;
- }
- visible:0;
- }
- description { state: "enabled" 0.0;
- inherit: "default" 0.0;
- visible:1;
- }
- description { state: "del_confirm" 0.0;
- inherit: "default" 0.0;
- visible:1;
- }
- }
-
- part { name: "del_confirm_wrapper";
- type: RECT;
- scale: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1.to: "elm.icon.del_confirm";
- rel1.relative: 0.0 0.0;
- rel2.to: "elm.icon.del_confirm";
- rel2.relative: 1.0 1.0;
-
- color: 255 255 255 0;
- visible:1;
- }
- description { state: "enabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- visible:0;
- }
- description { state: "on_transfer" 0.0;
- inherit: "default" 0.0;
- rel2.to: "elm.icon.del_confirm";
- rel2.relative: 0.5 1.0;
- color: 255 255 255 255;
- visible:0;
- }
- description { state: "del_confirm" 0.0;
- inherit: "default" 0.0;
- rel2.to: "elm.icon.del_confirm";
- rel2.relative: 0.0 1.0;
- color: 255 255 255 255;
- visible:0;
- }
- }
-
- part { name: "elm.padding.right";
- type: RECT;
- scale: 1;
- repeat_events: 0;
- description { state: "default" 0.0;
- min: 15 0;
- max: 15 0;
- fixed: 1 1;
- visible: 0;
- align: 1.0 0.0;
- rel1 {
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- }
- }
-
-/* part { name: "elm.swallow.edit_field";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- }
- rel2 {
- to_x: "elm.padding.right";
- relative: 0.0 1.0;
- offset: 0 0;
- }
- color: 0 0 0 255;
- }
- }
-*/
- part { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 0;
- align: 1.0 0.5;
- visible: 1;
- rel1.to_x: "elm.padding.right";
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.padding.right";
- }
- }
- description { state: "disable" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "elm.swallow.edit_field_1line";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- }
- rel2 {
- to_x: "elm.padding.right";
- relative: 0.0 0.5;
- offset: 0 0;
- }
- color: 0 0 0 255;
- }
- }
- part { name: "elm.swallow.edit_field_2line";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- relative: 1.0 0.5;
- offset: 0 0;
- to_x: "elm.padding.left";
- }
- rel2 {
- to_x: "elm.padding.right";
- relative: 0.0 1.0;
- offset: 0 0;
- }
- color: 0 0 0 255;
- }
- }
- }
- programs {
- program {
- name: "on_mouse_down";
- signal: "mouse,down,1";
- source: "base";
- action: SIGNAL_EMIT "elm,action,edit,reset" "elm";
- }
- program {
- name: "on_delete";
- signal: "mouse,down,1";
- source: "select_icon_touch_area";
- action: SIGNAL_EMIT "elm,action,item,delete" "elm";
- }
- program {
- name: "on_insert";
- signal: "mouse,down,1";
- source: "insert_icon";
- action: SIGNAL_EMIT "elm,action,item,insert" "elm";
- }
- program {
- name: "on_reorder";
- signal: "mouse,down,1";
- source: "reorder_icon";
- action: SIGNAL_EMIT "elm,click,item,reorder" "elm";
- }
- program {
- name: "del_mode";
- action: STATE_SET "enabled" 0.0;
- target: "select_icon";
- target: "elm.icon.del_confirm";
- target: "del_confirm_wrapper";
- transition: LINEAR 0.1;
- after: "hide_del_confirm";
- }
-
- program {
- name: "to_del_mode";
- signal: "elm,state,delete";
- source: "elm";
- action: STATE_SET "on_transfer" 0.0;
- target: "select_icon";
- target: "del_confirm_wrapper";
- transition: LINEAR 0.1;
- after: "del_mode";
- }
- program {
- name: "start_del_confirm_mode";
- signal: "elm,state,del_confirm";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "del_confirm_wrapper";
- after: "animate_to_del_confirm_mode";
- }
- program {
- name: "animate_to_del_confirm_mode";
- signal: "elm,state,del_confirm";
- source: "elm";
- action: STATE_SET "on_transfer" 0.0;
- target: "select_icon";
- target: "del_confirm_wrapper";
- transition: LINEAR 0.5;
- after: "del_confirm_mode";
- }
- program {
- name: "del_confirm_mode";
- action: STATE_SET "del_confirm" 0.0;
- target: "select_icon";
- target: "elm.icon.del_confirm";
- target: "del_confirm_wrapper";
- transition: LINEAR 0.5;
- }
- program {
- name: "hide_del_confirm";
- action: SIGNAL_EMIT "elm,action,hide,del_confirm" "elm";
- after : hide_del_confirm_wrapper;
- }
- program {
- name: "hide_del_confirm_wrapper";
- action: STATE_SET "default" 0.0;
- target: "del_confirm_wrapper";
- transition: LINEAR 0.1;
- }
- program {
- name: "show_reorder_glow";
- signal: "elm,action,item,reorder_start";
- source: "elm";
- action: STATE_SET "reorder" 0.0;
- target: "reorder_glow_above";
- target: "reorder_glow_below";
- }
- program {
- name: "hide_reorder_glow";
- signal: "elm,action,item,reorder_end";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "reorder_glow_above";
- target: "reorder_glow_below";
- }
- program {
- name: "enable_delete";
- signal: "elm,state,del,enable";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "select_icon";
- }
- program {
- name: "enable_delete_animated";
- signal: "elm,state,del,animated,enable";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "select_icon";
- transition: LINEAR 0.1;
- }
- program {
- name: "disable_delete";
- signal: "elm,state,del,disable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "select_icon";
- }
- program {
- name: "disable_delete_animated";
- signal: "elm,state,del,animated,disable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "select_icon";
- transition: LINEAR 0.1;
- }
- program {
- name: "enable_insert";
- signal: "elm,state,ins,enable";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "insert_icon";
- }
- program {
- name: "enable_insert_animated";
- signal: "elm,state,ins,animated,enable";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "insert_icon";
- transition: LINEAR 0.1;
- }
- program {
- name: "disable_insert";
- signal: "elm,state,ins,disable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "insert_icon";
- }
- program {
- name: "disable_insert_animated";
- signal: "elm,state,ins,animated,disable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "insert_icon";
- transition: LINEAR 0.1;
- }
- program {
- name: "enable_reorder";
- signal: "elm,state,reorder,enable";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "reorder_icon";
- }
- program {
- name: "enable_reorder_animated";
- signal: "elm,state,reorder,animated,enable";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "reorder_icon";
- transition: LINEAR 0.1;
- }
- program {
- name: "disable_reorder";
- signal: "elm,state,reorder,disable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "reorder_icon";
- }
- program {
- name: "disable_reorder_animated";
- signal: "elm,state,reorder,animated,disable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "reorder_icon";
- transition: LINEAR 0.1;
- }
- program {
- name: "enable_rename";
- signal: "elm,state,rename,enable";
- source: "elm";
- action: STATE_SET "rename" 0.0;
- target: "base";
- }
- program {
- name: "disable_rename";
- signal: "elm,state,rename,disable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "base";
- }
- program {
- name: "enable_edit_end";
- signal: "elm,state,edit_end,enable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program {
- name: "disable_edit_end";
- signal: "elm,state,edit_end,disable";
- source: "elm";
- action: STATE_SET "disable" 0.0;
- target: "elm.swallow.end";
- }
- }
- }
-
- group { name: "elm/genlist/item/select_all/default";
- alias: "elm/genlist/item_odd/select_all/default";
- alias: "elm/genlist/item_compress/select_all/default";
- alias: "elm/genlist/item_compress_odd/select_all/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.icon elm.swallow.end";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- repeat_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 80;
- color: GENLIST_PART_BG_COLOR_INC;
- }
- }
-
- part { name: "bg";
- type: RECT;
- clip_to: "disclip";
- repeat_events: 0;
- mouse_events: 0;
- description { state: "default" 0.0;
- color: GENLIST_EDIT_BG_COLOR_INC;
- }
- }
-
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 10 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- part { name: "elm.swallow.end";
- clip_to: "disclip";
- 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";
- }
- }
- }
- 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: 20 0;
- to_x: "elm.swallow.icon";
- }
- rel2 {
- to_x: "elm.swallow.end";
- relative: 0.0 1.0;
- offset: 20 0;
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- text: "Select All";
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part { name: "elm.swallow.icon";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- visible:1;
- min: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- max: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2.to_x: "elm.padding.left";
- image {
- normal: "checkbox_off.png";
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "checkbox_on.png";
- }
- }
- }
-
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_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: "enable_select_check";
- signal: "elm,state,del_confirm";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "elm.swallow.icon";
- }
- program {
- name: "enable_select_uncheck";
- signal: "elm,state,del,animated,enable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program {
- name: "on_mouse_down";
- signal: "mouse,down,1";
- source: "elm.swallow.icon";
- action: SIGNAL_EMIT "elm,action,select,press" "elm";
- }
- }
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-/*
- * vim:ts=3
-*/
-
- group { name: "elm/genlist/tree/expandable/default";
- alias: "elm/genlist/tree_odd/expandable/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.icon elm.swallow.end";
- data.item: "treesize" "20";
-
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_button_expand_closed.png" COMP;
- image: "00_button_expand_closed_press.png" COMP;
- image: "00_button_expand_opened.png" COMP;
- image: "00_button_expand_opened_press.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_MAP_PERSPECTIVE_POINT()
- BEAT_GENLIST_PART_MAP_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_EXPANDABLE_SWALLOW_PADDING
-
- part { name: "touch_arrow";
- type: RECT;
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- scale: 1;
- description { state: "default" 0.0;
- min: 70 80;
- 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: 40 40;
- max: 40 40;
- fixed: 1 1;
- align: 1.0 0.5;
- aspect: 1.0 1.0; // needed?
- rel1.to_x: "elm.padding.right";
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- }
- image.normal: "00_button_expand_closed.png";
- }
- description { state: "default" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_closed_press.png";
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_opened.png";
- }
- description { state: "active" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_opened_press.png";
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- part { name: "elm.padding.arrow.left";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 5 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_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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: "arrow_down";
- signal: "mouse,down,1";
- source: "touch_arrow";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl)
- if (vl == 0.0)
- set_state(PART:"arrow", st, 1.0);
- else
- set_state(PART:"arrow", st, 0.0);
- }
- }
- program { name: "arrow_out";
- signal: "mouse,out";
- source: "touch_arrow";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl)
- set_state(PART:"arrow", st, 0.0);
- }
- }
- 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 {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_START()
- target: "base";
- target: "elm.text";
- target: "arrow";
- target: "elm.swallow.pad";
- }
- program {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_FINISH( 0.4 )
- target: "base";
- target: "elm.text";
- target: "arrow";
- target: "elm.swallow.pad";
- }
- }
- }
-
- group { name: "elm/genlist/item/expandable/default";
- alias: "elm/genlist/item_odd/expandable/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.end";
- data.item: "treesize" "20";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_list_expandable_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_MAP_PERSPECTIVE_POINT()
- BEAT_GENLIST_PART_MAP_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_EXPANDABLE_SWALLOW_PADDING
-
- 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";
- }
- }
- }
- 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_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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 {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_START()
- target: "base";
- target: "elm.text";
- target: "elm.swallow.pad";
- }
- program {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_FINISH( 0. )
- target: "base";
- target: "elm.text";
- target: "elm.swallow.pad";
- }
- }
- }
-
- group { name: "elm/genlist/tree/expandable2/default";
- alias: "elm/genlist/tree_odd/expandable2/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.icon elm.swallow.end";
- data.item: "treesize" "20";
-
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_button_expand_2_closed.png" COMP;
- image: "00_button_expand_2_closed_press.png" COMP;
- image: "00_button_expand_2_opened.png" COMP;
- image: "00_button_expand_2_opened_press.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_MAP_PERSPECTIVE_POINT()
- GENLIST_EXPANDABLE2_PART_MAP_BASE( 80 )
- GENLIST_EXPANDABLE_PART_BG_IMAGE_INC
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_EXPANDABLE_SWALLOW_PADDING
-
- part { name: "touch_arrow";
- type: RECT;
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- scale: 1;
- description { state: "default" 0.0;
- min: 70 80;
- 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;
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 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: 40 40;
- max: 40 40;
- fixed: 1 1;
- align: 1.0 0.5;
- aspect: 1.0 1.0; // needed?
- rel1.to_x: "elm.padding.right";
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- }
- image.normal: "00_button_expand_2_closed.png";
- }
- description { state: "default" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_closed_press.png";
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_opened.png";
- }
- description { state: "active" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_opened_press.png";
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- part { name: "elm.padding.arrow.left";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 5 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_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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: "arrow_down";
- signal: "mouse,down,1";
- source: "touch_arrow";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl)
- if (vl == 0.0)
- set_state(PART:"arrow", st, 1.0);
- else
- set_state(PART:"arrow", st, 0.0);
- }
- }
- program { name: "arrow_out";
- signal: "mouse,out";
- source: "touch_arrow";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl)
- set_state(PART:"arrow", st, 0.0);
- }
- }
- 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 {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_START()
- target: "base";
- target: "elm.text";
- target: "arrow";
- target: "bg_image";
- target: "elm.swallow.pad";
- }
- program {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_FINISH( 0.4 )
- target: "base";
- target: "elm.text";
- target: "arrow";
- target: "bg_image";
- target: "elm.swallow.pad";
- }
- }
- }
-
- group { name: "elm/genlist/item/expandable2/default";
- alias: "elm/genlist/item_odd/expandable2/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.end";
- data.item: "treesize" "20";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_list_expandable_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_MAP_PERSPECTIVE_POINT()
- BEAT_GENLIST_PART_MAP_BASE( 80 )
- GENLIST_EXPANDABLE_PART_BG_IMAGE_INC
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_EXPANDABLE_SWALLOW_PADDING
-
- 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";
- }
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- 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_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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 {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_START()
- target: "base";
- target: "elm.text";
- target: "elm.swallow.end";
- target: "elm.swallow.pad";
- target: "bg_image";
- }
- program {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_FINISH( 0.4 )
- target: "base";
- target: "elm.text";
- target: "elm.swallow.end";
- target: "elm.swallow.pad";
- target: "bg_image";
- }
- }
- }
-
- group { name: "elm/genlist/tree/expandable2_noshadow/default";
- alias: "elm/genlist/tree_odd/expandable2_noshadow/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.icon elm.swallow.end";
- data.item: "treesize" "20";
-
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_button_expand_2_closed.png" COMP;
- image: "00_button_expand_2_closed_press.png" COMP;
- image: "00_button_expand_2_opened.png" COMP;
- image: "00_button_expand_2_opened_press.png" COMP;
- }
-
- parts {
- BEAT_GENLIST_PART_MAP_PERSPECTIVE_POINT()
- BEAT_GENLIST_PART_EXPANDABLE2_NOSHADOW_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_EXPANDABLE_SWALLOW_PADDING
-
- part { name: "touch_arrow";
- type: RECT;
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- scale: 1;
- description { state: "default" 0.0;
- min: 70 80;
- 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;
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 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: 40 40;
- max: 40 40;
- fixed: 1 1;
- align: 1.0 0.5;
- aspect: 1.0 1.0; // needed?
- rel1.to_x: "elm.padding.right";
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- }
- image.normal: "00_button_expand_2_closed.png";
- }
- description { state: "default" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_closed_press.png";
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_opened.png";
- }
- description { state: "active" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_2_opened_press.png";
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- part { name: "elm.padding.arrow.left";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- visible: 0;
- align: 1.0 0.5;
- rel1.to: "arrow";
- rel2 {
- relative: 0.0 1.0;
- to: "arrow";
- }
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- 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_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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: "arrow_down";
- signal: "mouse,down,1";
- source: "touch_arrow";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl)
- if (vl == 0.0)
- set_state(PART:"arrow", st, 1.0);
- else
- set_state(PART:"arrow", st, 0.0);
- }
- }
- program { name: "arrow_out";
- signal: "mouse,out";
- source: "touch_arrow";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl)
- set_state(PART:"arrow", st, 0.0);
- }
- }
- 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 {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_START()
- target: "base";
- target: "elm.text";
- target: "touch_arrow";
- target: "arrow";
- target: "elm.padding.arrow.left";
- target: "bg_image";
- target: "elm.swallow.pad";
- }
- program {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_FINISH( 0.4 )
- target: "base";
- target: "elm.text";
- target: "touch_arrow";
- target: "arrow";
- target: "elm.padding.arrow.left";
- target: "elm.swallow.pad";
- target: "bg_image";
- }
- }
- }
-
- group { name: "elm/genlist/item/expandable2_noshadow/default";
- alias: "elm/genlist/item_odd/expandable2_noshadow/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.end";
- data.item: "treesize" "20";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_MAP_PERSPECTIVE_POINT()
- BEAT_GENLIST_PART_EXPANDABLE2_NOSHADOW_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_EXPANDABLE_SWALLOW_PADDING
-
- 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";
- }
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- 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_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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 {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_START()
- target: "elm.text";
- target: "elm.swallow.end";
- target: "elm.swallow.pad";
- target: "base";
- target: "bg_image";
- }
- program {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_FINISH( 0.4 )
- target: "elm.text";
- target: "elm.swallow.end";
- target: "elm.swallow.pad";
- target: "base";
- target: "bg_image";
- }
- }
- }
-
- group { name: "elm/genlist/item/expandable3/default";
- alias: "elm/genlist/item_odd/expandable3/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.end";
- data.item: "treesize" "20";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_list_expandable_2_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_MAP_PERSPECTIVE_POINT()
- GENLIST_EXPANDABLE3_PART_MAP_BASE( 80 )
- GENLIST_EXPANDABLE3_PART_BG_IMAGE_INC
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_EXPANDABLE_SWALLOW_PADDING
-
- 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";
- }
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- 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_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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 {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_START()
- target: "base";
- target: "elm.text";
- target: "elm.swallow.end";
- target: "elm.swallow.pad";
- target: "bg_image";
- }
- program {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_FINISH( 0.4 )
- target: "base";
- target: "elm.text";
- target: "elm.swallow.end";
- target: "elm.swallow.pad";
- target: "bg_image";
- }
- }
- }
-
- group { name: "elm/genlist/item/expandable3_noshadow/default";
- alias: "elm/genlist/item_odd/expandable3_noshadow/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.end";
- data.item: "treesize" "20";
- images {
- image: "00_list_expandable_2_noshadow_bg.png" COMP;
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_MAP_PERSPECTIVE_POINT()
- GENLIST_EXPANDABLE3_PART_MAP_BASE( 80 )
- GENLIST_EXPANDABLE3_NOSHADOW_PART_BG_IMAGE_INC
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_EXPANDABLE_SWALLOW_PADDING
-
- 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";
- }
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- 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_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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 {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_START()
- target: "base";
- target: "elm.text";
- target: "elm.swallow.end";
- target: "elm.swallow.pad";
- target: "bg_image";
- }
- program {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_FINISH( 0.4 )
- target: "base";
- target: "elm.text";
- target: "elm.swallow.end";
- target: "elm.swallow.pad";
- target: "bg_image";
- }
- }
- }
-
- group { name: "elm/genlist/tree/default/default";
-
- alias: "elm/genlist/tree_odd/default/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.icon elm.swallow.end";
- data.item: "treesize" "20";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_button_expand_closed.png" COMP;
- image: "00_button_expand_closed_press.png" COMP;
- image: "00_button_expand_opened.png" COMP;
- image: "00_button_expand_opened_press.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_MAP_PERSPECTIVE_POINT()
- BEAT_GENLIST_PART_MAP_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- part { name: "touch_arrow";
- type: RECT;
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- scale: 1;
- description { state: "default" 0.0;
- min: 70 80;
- 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;
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 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: 40 40;
- max: 40 40;
- fixed: 1 1;
- align: 1.0 0.5;
- aspect: 1.0 1.0; // needed?
- rel1.to_x: "elm.padding.right";
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- }
- image.normal: "00_button_expand_closed.png";
- }
- description { state: "default" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_closed_press.png";
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_opened.png";
- }
- description { state: "active" 1.0;
- inherit: "default" 0.0;
- image.normal: "00_button_expand_opened_press.png";
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- part { name: "elm.padding.arrow.left";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- visible: 0;
- align: 1.0 0.5;
- rel1.to: "arrow";
- rel2 {
- relative: 0.0 1.0;
- to: "arrow";
- }
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- 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.padding.left";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.padding.arrow.left";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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: "arrow_down";
- signal: "mouse,down,1";
- source: "touch_arrow";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl)
- if (vl == 0.0)
- set_state(PART:"arrow", st, 1.0);
- else
- set_state(PART:"arrow", st, 0.0);
- }
- }
- program { name: "arrow_out";
- signal: "mouse,out";
- source: "touch_arrow";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl)
- set_state(PART:"arrow", st, 0.0);
- }
- }
- 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 {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_START()
- target: "base";
- target: "elm.text";
- target: "touch_arrow";
- target: "arrow";
- target: "elm.padding.arrow.left";
- target: "bg_image";
- }
- program {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_FINISH( 0.4 )
- target: "base";
- target: "elm.text";
- target: "touch_arrow";
- target: "arrow";
- target: "elm.padding.arrow.left";
- target: "bg_image";
- }
- }
- }
-
- group { name: "elm/genlist/item/subtree/default";
-
- alias: "elm/genlist/item_odd/subtree/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.end";
- data.item: "treesize" "20";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_list_expandable_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_MAP_PERSPECTIVE_POINT()
- BEAT_GENLIST_PART_MAP_BASE( 80 )
- GENLIST_EXPANDABLE_PART_BG_IMAGE_INC
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- 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";
- }
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- 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.padding.left";
- }
- rel2 {
- to_x: "elm.padding.right";
- relative: 0.0 1.0;
- offset: 0 0;
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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 {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_START()
- target: "base";
- target: "elm.text";
- target: "elm.swallow.end";
- target: "bg_image";
- }
- program {
- BEAT_GENLIST_PROGRAM_MAP_ROTATE_FINISH( 0.4 )
- target: "base";
- target: "elm.text";
- target: "elm.swallow.end";
- target: "bg_image";
- }
- }
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-/*
- * vim:ts=3:expandtab
-*/
-
- group { name: "elm/genlist/item/grouptitle/default";
- alias: "elm/genlist/item_odd/grouptitle/default";
- alias: "elm/genlist/item/group_title/default";
- alias: "elm/genlist/item_odd/group_title/default";
- alias: "elm/genlist/item_compress/group_title/default";
- alias: "elm/genlist/item_compress_odd/group_title/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "treesize" "20";
-
- images {
- image: "01_list_group_title_bg.jpg" COMP;
- }
- parts {
- GENLIST_GROUP_PART_BASE_EVENT_INC
- BEAT_GENLIST_PART_PADDING_LEFT( 14 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 14 )
- part { name: "rect";
- type: RECT;
- repeat_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- color: GENLIST_GROUP_BG_COLOR_DEFAULT_INC;
- }
- description { state: "alpha_off" 0.0;
- min: 0 30;
- color: GENLIST_GROUP_BG_COLOR_ALPHA_OFF_INC;
- }
- }
- GENLIST_GROUP_PART_BASE_IMAGE_INC
-
- part { name: "elm.text";
- type: TEXT;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- }
- color: GENLIST_GROUP_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 1 1;
- align: 0.0 0.5;
- }
- }
- }
- }
- program {
- name: "enable_alpha";
- signal: "elm,state,alpha,enable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "rect";
- }
- program {
- name: "disable_alpha";
- signal: "elm,state,alpha,disable";
- source: "elm";
- action: STATE_SET "alpha_off" 0.0;
- target: "rect";
- }
- program {
- name: "selected";
- source: "rect";
- signal: "mouse,clicked,1";
- action: SIGNAL_EMIT "elm,title_action,item,click" "elm";
- }
- }
-
- group { name: "elm/genlist/item/group_title_left/default";
- alias: "elm/genlist/item_odd/group_title_left/default";
-
- data.item: "stacking" "above";
- data.item: "icons" "elm.icon";
- data.item: "orientation" "left";
-
- parts {
- part { name: "base";
- type: RECT;
- mouse_events: 0;
- repeat_events: 0;
- description { state: "default" 0.0;
- color: GENLIST_GROUP_LEFT_BG_COLOR_INC;
- }
- }
- part { name: "rect";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 65 0;
- max: 65 0;
- visible: 0;
- }
- }
- part { name: "elm.padding.left";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 1 0;
- fixed: 1 0;
- visible: 0;
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- }
- align: 0.0 0.0;
- }
- }
- part { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 7;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- }
- }
- }
- part { name: "elm.icon";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- fixed: 1 1;
- align: 0.5 0.0;
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- offset: 0 0;
- to_y: "elm.padding.top";
- }
- color: 255 255 255 0;
- }
- }
- }
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define BEAT_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: GENLIST_PART_BG_COLOR_INC; \
- } \
- }
-
-#define BEAT_GENLIST_PART_BG \
- part { name: "bg"; \
- type: RECT; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- color: GENLIST_PART_BG_COLOR_INC; \
- } \
- 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; } \
- } \
- }
-
-#define BEAT_GENLIST_PART_BG_IMAGE \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- visible: 0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- visible: 1; \
- } \
- }
-
-#define BEAT_GENLIST_PART_BOTTOM_LINE \
- part { name: "bottom_line"; \
- type: RECT; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- min: 0 1; \
- fixed: 0 1; \
- visible: 1; \
- color: GENLIST_PART_BOTTOM_LINE_INC; \
- rel1 { \
- relative: 0.0 1.0; \
- offset: 0 -1; \
- } \
- } \
- }
-
-#define BEAT_GENLIST_PART_PADDING_TOP( param_padding_size ) \
- part { name: "elm.padding.top"; \
- type: RECT; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- min: 0 param_padding_size; \
- fixed: 0 1; \
- visible: 0; \
- rel2.relative: 1.0 0.0; \
- align: 0.0 0.0; \
- } \
- }
-
-#define BEAT_GENLIST_PART_PADDING_TEXT_TOP( param_padding_size ) \
- part { name: "elm.padding.text.top"; \
- type: RECT; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- min: 0 param_padding_size; \
- fixed: 0 1; \
- visible: 0; \
- rel2.relative: 1.0 0.0; \
- align: 0.0 0.0; \
- } \
- }
-
-#define BEAT_GENLIST_PART_PADDING_BOTTOM( param_padding_size ) \
- part { name: "elm.padding.bottom"; \
- type: RECT; \
- scale: 1; \
- description { state: "default" 0.0; \
- min: 0 param_padding_size; \
- fixed: 0 1; \
- visible: 0; \
- rel1.relative: 0.0 1.0; \
- align: 0.0 1.0; \
- } \
- }
-
-#define BEAT_GENLIST_PART_PADDING_LEFT( param_padding_size ) \
- part { name: "elm.padding.left"; \
- type: RECT; \
- scale: 1; \
- description { state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel2.relative: 0.0 1.0; \
- align: 0.0 0.0; \
- } \
- }
-
-#define BEAT_GENLIST_PART_PADDING_RIGHT( param_padding_size ) \
- part { name: "elm.padding.right"; \
- type: RECT; \
- scale: 1; \
- description { state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel1.relative: 1.0 0.0; \
- align: 1.0 0.0; \
- } \
- }
-
-#define BEAT_GENLIST_PART_SWALLOW_END( param_padding_size ) \
- part { name: "elm.padding.left.swallow.end";\
- clip_to: "disclip"; \
- type: RECT;\
- scale: 1;\
- description { state: "default" 0.0;\
- min: param_padding_size 0;\
- fixed: 1 0;\
- visible: 0; \
- rel1.to_x: "elm.swallow.end";\
- rel2 {\
- relative: 0.0 1.0;\
- to_x: "elm.swallow.end";\
- }\
- align: 1.0 0.5;\
- }\
- }\
- part { name: "elm.swallow.end";\
- clip_to: "disclip"; \
- 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";\
- }\
- }\
- }
-
-#define BEAT_GENLIST_PART_DISCLIP \
- part { name: "disclip"; \
- type: RECT; \
- description { state: "default" 0.0; \
- } \
- description { state: "disabled" 0.0; \
- inherit: "default" 0.0; \
- color: 255 255 255 64; \
- } \
- }
-
-#define BEAT_GENLIST_PART_LIST_PICKER_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: 71 61 53 255; \
- } \
- }
-
-#define BEAT_GENLIST_PART_LIST_PICKER_BOTTOM_LINE \
- part { name: "bottom_line"; \
- type: RECT; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- min: 0 1; \
- fixed: 0 1; \
- visible: 1; \
- color: 104 97 92 255; \
- rel1 { \
- relative: 0.0 1.0; \
- offset: 0 -1; \
- } \
- } \
- }
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define BEAT_GENLIST_PART_MAP_PERSPECTIVE_POINT() \
- part { name: "point"; \
- type: RECT; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- color: 0 0 0 0; \
- rel1 { relative: 0.0 0.0; } \
- rel2 { relative: 1.0 0.0; } \
- } \
- }
-
-#define BEAT_GENLIST_PART_MAP_START( param_x, param_y, param_z ) \
- description { state: "map_transition" 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; \
- } \
- } \
- }
-
-#define BEAT_GENLIST_PART_MAP_FINISH( param_x, param_y, param_z ) \
- description { \
- state: "map_rotate" 0.0; \
- inherit: "default" 0.0; \
- map.rotation.x: param_x; \
- map.rotation.y: param_y; \
- map.rotation.z: param_z; \
- }
-
-#define BEAT_GENLIST_PART_MAP_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: GENLIST_PART_BG_COLOR_INC; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-
-#define GENLIST_EXPANDABLE2_PART_MAP_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: GENLIST_EXPANDABLE2_PART_BG_COLOR_INC; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-
-#define GENLIST_EXPANDABLE3_PART_MAP_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: GENLIST_EXPANDABLE3_PART_BG_COLOR_INC; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-
-#define BEAT_GENLIST_PROGRAM_MAP_ROTATE_START() \
- name: "rotaion_transition"; \
- signal: "flip_item"; \
- action: STATE_SET "map_transition" 0.0; \
- after: "rotation";
-
-#define BEAT_GENLIST_PROGRAM_MAP_ROTATE_FINISH( second ) \
- name: "rotation"; \
- action: STATE_SET "map_rotate" 0.0; \
- transition: LINEAR second;
-
-#define BEAT_GENLIST_PART_EXPANDABLE2_NOSHADOW_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: GENLIST_EXPANDABLE2_NOSHADOW_BG_COLOR_INC; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-
-#define BEAT_GENLIST_PART_EXPANDABLE_SWALLOW_PADDING \
- part { name: "elm.swallow.pad"; \
- type: SWALLOW; \
- description { state: "default" 0.0; \
- fixed: 1 0; \
- align: 0.0 0.5; \
- rel1 { \
- relative: 1.0 0.0;\
- to_x: "elm.padding.left"; \
- } \
- rel2.to_x: "elm.padding.left"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- } \
-
-#define BEAT_GENLIST_PART_PADDING_LEFT_SLIDE( param_padding_size ) \
- part { name: "elm.padding.left"; \
- type: RECT; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- min: param_padding_size 0; \
- fixed: 1 0; \
- visible: 0; \
- rel1 { relative: 0.0 0.0; to: "bg"; } \
- rel2 { relative: 0.0 1.0; to: "bg"; } \
- align: 0.0 0.0; \
- } \
- }
-
-/* only for demo */
-#define BEAT_GENLIST_PART_BUTTON( param_name, param_text_name, param_text, param_left, param_right, param_top, param_bottom ) \
- part { name: param_name; \
- mouse_events: 1; \
- description { state: "default" 0.0; \
- visible: 1; \
- rel1 { relative: param_left param_top; offset: 0 0; } \
- rel2 { relative: param_right param_bottom; offset: -1 -1; } \
- image { \
- normal: "btn_normal.png"; \
- border: 10 10 10 10; \
- border_scale: 1; \
- } \
- image.middle: SOLID; \
- fill.smooth: 0; \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image { \
- normal: "btn_selected.png"; \
- } \
- } \
- } \
- part { name: param_text_name; \
- type: TEXT; \
- mouse_events: 0; \
- scale: 1; \
- description { \
- align: 0.0 0.0; \
- state: "default" 0.0; \
- color: 0 0 0 255; \
- rel1 { relative: 0.0 0.0; to: param_name; } \
- rel2 { relative: 1.0 1.0; to: param_name; } \
- text { \
- text: param_text; \
- font: "SLP:style=Roman"; \
- size: 24; \
- min: 1 1; \
- align: 0.5 0.5; \
- } \
- } \
- }
-
-/* only for demo */
-#define BEAT_GENLIST_PROGRAM_BUTTON( param_name_focused, param_name_normal, param_part_name ) \
- program { name: param_name_focused; \
- source: param_part_name; \
- signal: "mouse,down,1"; \
- action: STATE_SET "selected" 0.0; \
- target: param_part_name; \
- } \
- program { name: param_name_normal; \
- source: param_part_name; \
- signal: "mouse,up,1"; \
- action: STATE_SET "default" 0.0; \
- target: param_part_name; \
- }
-
-#define BEAT_GENLIST_PROGRAM_SLIDE_WITH_AFTER( param_name, param_state, param_next ) \
- program { name: param_name; \
- action: STATE_SET "hide" param_state; \
- target: "bg"; \
- transition: LINEAR 0.3; \
- after: param_next; \
- }
-
-#define BEAT_GENLIST_PROGRAM_SLIDE( param_name, param_state_name, param_state_value ) \
- program { name: param_name; \
- action: STATE_SET param_state_name param_state_value; \
- target: "bg"; \
- transition: LINEAR 0.3; \
- }
-
-#define DESC_FLIP_IMAGE( param_state_value, param_image_file_name ) \
- description { state: "flipping" param_state_value; \
- inherit: "default" 0.0; \
- image { normal: param_image_file_name; } \
- }
-
-#define DESC_TEXT_HIDE( param_state_value ) \
- description { state: "hide" param_state_value; \
- inherit: "default" 0.0; \
- color: 0 0 0 (255*(1-param_state_value/0.20)); \
- }
-
-#define BEAT_GENLIST_EDIT_PART_BASE( param_item_height ) \
- part { name: "base"; \
- type: RECT; \
- repeat_events: 0; \
- scale: 1; \
- description { state: "default" 0.0; \
- min: 0 param_item_height; \
- color: 0 0 0 0; \
- } \
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-/*
- * vim:ts=3
-*/
-
- group { name: "elm/list/item/matchlist";
- alias: "elm/list/item_odd/matchlist";
- alias: "elm/list/item_compress/matchlist";
- alias: "elm/list/item_compress_odd/matchlist";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.icon elm.swallow.end";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- styles
- {
- style { name: "text_style";
- base: "font=SLP:style=Roman font_size=30 color=#000000 wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "match" "+ color=#E58616FF";
- }
- }
-
- parts {
- BEAT_GENLIST_PART_BASE( 58 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- part { name: "elm.swallow.end";
- clip_to: "disclip";
- 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";
- }
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- relative: 1.0 0.20;
- offset: 0 0;
- to_x: "elm.swallow.icon";
- }
- rel2 {
- to_x: "elm.swallow.end";
- relative: 0.0 1.0;
- offset: 0 0;
- }
- text {
- style: "text_style";
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- part { name: "elm.swallow.icon";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2.to_x: "elm.padding.left";
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-
- group { name: "elm/genlist/item/default/default";
- alias: "elm/genlist/item_odd/default/default";
- alias: "elm/genlist/item_compress/default/default";
- alias: "elm/genlist/item_compress_odd/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: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.icon elm.swallow.end";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- part { name: "elm.swallow.end";
- clip_to: "disclip";
- 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";
- }
- }
- }
- 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.icon";
- }
- rel2 {
- to_x: "elm.swallow.end";
- relative: 0.0 1.0;
- offset: 0 0;
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- part { name: "elm.swallow.icon";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2.to_x: "elm.padding.left";
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-
- group { name: "elm/genlist/item/1line_textonly/default";
- alias: "elm/genlist/item_odd/1line_textonly/default";
- alias: "elm/genlist/item_compress/1line_textonly/default";
- alias: "elm/genlist/item_compress_odd/1line_textonly/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- 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.padding.left";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-
- group { name: "elm/genlist/item/1line_text_icon/default";
- alias: "elm/genlist/item_odd/1line_text_icon/default";
- alias: "elm/genlist/item_compress/1line_text_icon/default";
- alias: "elm/genlist/item_compress_odd/1line_text_icon/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.end";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_SWALLOW_END( 50 )
-
- 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.padding.left";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left.swallow.end";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-
- group { name: "elm/genlist/item/1line_icontext/default";
- alias: "elm/genlist/item_odd/1line_icontext/default";
- alias: "elm/genlist/item_compress/1line_icontext/default";
- alias: "elm/genlist/item_compress_odd/1line_icontext/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.icon";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 15 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 15 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part { name: "elm.padding.icon.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 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: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
- }
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.icon.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-
- group { name: "elm/genlist/item/1line_icontext_icon/default";
- alias: "elm/genlist/item_odd/1line_icontext_icon/default";
- alias: "elm/genlist/item_compress/1line_icontext_icon/default";
- alias: "elm/genlist/item_compress_odd/1line_icontext_icon/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.icon elm.swallow.end";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 15 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 15 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_SWALLOW_END( 15 )
-
- part { name: "elm.padding.icon.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.swallow.icon";
- }
- rel2.to_x: "elm.swallow.icon";
- align: 0.0 0.0;
- }
- }
- part { name: "elm.swallow.icon";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
- }
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.icon.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left.swallow.end";
- to_y: "elm.padding.bottom";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-
- group { name: "elm/genlist/item/1line_phototext/default";
- alias: "elm/genlist/item_odd/1line_phototext/default";
- alias: "elm/genlist/item_compress/1line_phototext/default";
- alias: "elm/genlist/item_compress_odd/1line_phototext/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "icons" "elm.photo";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_list_photo_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 5 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 5 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part { name: "elm.padding.photo.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.photo";
- }
- rel2.to_x: "elm.photo";
- align: 0.0 0.0;
- }
- }
- part { name: "elm.photo";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1 {
- to: elm.photo.bg;
- }
- rel2 {
- to: elm.photo.bg;
- }
- }
- }
- part { name: "elm.photo.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 70 70;
- max: 70 70;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
- }
- image {
- normal: "00_list_photo_bg.png";
- border: 7 7 7 7;
- border_scale: 1;
- middle: NONE;
- }
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.photo.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-
- group { name: "elm/genlist/item/2line_textonly/default";
- alias: "elm/genlist/item_odd/2line_textonly/default";
- alias: "elm/genlist/item_compress/2line_textonly/default";
- alias: "elm/genlist/item_compress_odd/2line_textonly/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- part { name: "elm.text.sub";
- 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.left";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- color: GENLIST_PART_SUB_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-
- group { name: "elm/genlist/item/2line_text_icon/default";
- alias: "elm/genlist/item_odd/2line_text_icon/default";
- alias: "elm/genlist/item_compress/2line_text_icon/default";
- alias: "elm/genlist/item_compress_odd/2line_text_icon/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub";
- data.item: "icons" "elm.swallow.end";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_SWALLOW_END( 15 )
-
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left.swallow.end";
- to_y: "elm.padding.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- part { name: "elm.text.sub";
- 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.left";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left.swallow.end";
- to_y: "elm.padding.bottom";
- }
- color: GENLIST_PART_SUB_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-
- group { name: "elm/genlist/item/2line_icontext/default";
- alias: "elm/genlist/item_odd/2line_icontext/default";
- alias: "elm/genlist/item_compress/2line_icontext/default";
- alias: "elm/genlist/item_compress_odd/2line_icontext/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub";
- data.item: "icons" "elm.icon";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 20 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 20 )
-
- part { name: "elm.padding.icon.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- 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: 30 30;
- max: 30 30;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.text";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.text";
- }
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- part { name: "elm.text.sub";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.icon.right";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0 1;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.text";
- }
- color: GENLIST_PART_SUB_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- 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/genlist/item/2line_icontext_icon/default";
- alias: "elm/genlist/item_odd/2line_icontext_icon/default";
- alias: "elm/genlist/item_compress/2line_icontext_icon/default";
- alias: "elm/genlist/item_compress_odd/2line_icontext_icon/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub";
- data.item: "icons" "elm.icon elm.swallow.end";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 20 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 20 )
- BEAT_GENLIST_PART_SWALLOW_END( 15 )
-
- part { name: "elm.padding.icon.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- 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: 30 30;
- max: 30 30;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.text";
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.text";
- }
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left.swallow.end";
- to_y: "elm.padding.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- part { name: "elm.text.sub";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.icon.right";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0 1;
- offset: 0 0;
- to_x: "elm.padding.left.swallow.end";
- to_y: "elm.text";
- }
- color: GENLIST_PART_SUB_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- 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/genlist/item/2line_icontext2/default";
- alias: "elm/genlist/item_odd/2line_icontext2/default";
- alias: "elm/genlist/item_compress/2line_icontext2/default";
- alias: "elm/genlist/item_compress_odd/2line_icontext2/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub";
- data.item: "icons" "elm.icon";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part { name: "elm.icon";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- offset: 0 0;
- to_x: "elm.padding.left";
- }
- }
- }
- part { name: "elm.padding.icon.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 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.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 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;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- part { name: "elm.text.sub";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.icon.right";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.text";
- }
- color: GENLIST_PART_SUB_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- 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/genlist/item/2line_icontext2_icon/default";
- alias: "elm/genlist/item_odd/2line_icontext2_icon/default";
- alias: "elm/genlist/item_compress/2line_icontext2_icon/default";
- alias: "elm/genlist/item_compress_odd/2line_icontext2_icon/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub";
- data.item: "icons" "elm.icon elm.swallow.end";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_BOTTOM( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
- BEAT_GENLIST_PART_SWALLOW_END( 15 )
-
- part { name: "elm.icon";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- offset: 0 0;
- to_x: "elm.padding.left";
- }
- }
- }
- part { name: "elm.padding.icon.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 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.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 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;
- offset: 0 0;
- to_x: "elm.padding.left.swallow.end";
- to_y: "elm.padding.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- part { name: "elm.text.sub";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.icon.right";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.left.swallow.end";
- to_y: "elm.text";
- }
- color: GENLIST_PART_SUB_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- 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/genlist/item/2line_thumbnail_50x50/default";
- alias: "elm/genlist/item_odd/2line_thumbnail_50x50/default";
- alias: "elm/genlist/item_compress/2line_thumbnail_50x50/default";
- alias: "elm/genlist/item_compress_odd/2line_thumbnail_50x50/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub";
- data.item: "icons" "elm.thumbnail";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_list_thumbnail_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 90 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 10 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part { name: "elm.thumbnail";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
- part { name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- offset: 0 0;
- to_x: "elm.padding.left";
- }
- image {
- normal: "00_list_thumbnail_bg.png";
- border: 1 1 1 1;
- border_scale: 1;
- middle: NONE;
- }
- }
- }
- part { name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.thumbnail";
- }
- rel2.to_x: "elm.thumbnail";
- align: 0.0 0.0;
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- part { name: "elm.text.sub";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.text";
- }
- color: GENLIST_PART_SUB_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- 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/genlist/item/2line_thumbnail_75x100/default";
- alias: "elm/genlist/item_odd/2line_thumbnail_75x100/default";
- alias: "elm/genlist/item_compress/2line_thumbnail_75x100/default";
- alias: "elm/genlist/item_compress_odd/2line_thumbnail_75x100/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub";
- data.item: "icons" "elm.thumbnail";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_list_thumbnail_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 120 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 25 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part { name: "elm.thumbnail";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
- part { name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 75 100;
- max: 75 100;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- offset: 0 0;
- to_x: "elm.padding.left";
- }
- image {
- normal: "00_list_thumbnail_bg.png";
- border: 1 1 1 1;
- border_scale: 1;
- middle: NONE;
- }
- }
- }
- part { name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.thumbnail";
- }
- rel2.to_x: "elm.thumbnail";
- align: 0.0 0.0;
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- part { name: "elm.text.sub";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.text";
- }
- color: GENLIST_PART_SUB_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- 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/genlist/item/2line_thumbnail_100x100/default";
- alias: "elm/genlist/item_odd/2line_thumbnail_100x100/default";
- alias: "elm/genlist/item_compress/2line_thumbnail_100x100/default";
- alias: "elm/genlist/item_compress_odd/2line_thumbnail_100x100/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub";
- data.item: "icons" "elm.thumbnail";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_list_thumbnail_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 120 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 25 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part { name: "elm.thumbnail";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
- part { name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 100 100;
- max: 100 100;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- offset: 0 0;
- to_x: "elm.padding.left";
- }
- image {
- normal: "00_list_thumbnail_bg.png";
- border: 1 1 1 1;
- border_scale: 1;
- middle: NONE;
- }
- }
- }
- part { name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.thumbnail";
- }
- rel2.to_x: "elm.thumbnail";
- align: 0.0 0.0;
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- part { name: "elm.text.sub";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.text";
- }
- color: GENLIST_PART_SUB_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- 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/genlist/item/2line_thumbnail_133x100/default";
- alias: "elm/genlist/item_odd/2line_thumbnail_133x100/default";
- alias: "elm/genlist/item_compress/2line_thumbnail_133x100/default";
- alias: "elm/genlist/item_compress_odd/2line_thumbnail_133x100/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub";
- data.item: "icons" "elm.thumbnail";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- image: "00_list_thumbnail_bg.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 115 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_TOP( 25 )
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part { name: "elm.thumbnail";
- clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.thumbnail.bg";
- rel2.to: "elm.thumbnail.bg";
- }
- }
- part { name: "elm.thumbnail.bg";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 133 100;
- max: 133 100;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- offset: 0 0;
- to_x: "elm.padding.left";
- }
- image {
- normal: "00_list_thumbnail_bg.png";
- border: 1 1 1 1;
- border_scale: 1;
- middle: NONE;
- }
- }
- }
- part { name: "elm.padding.thumbnail.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.thumbnail";
- }
- rel2.to_x: "elm.thumbnail";
- align: 0.0 0.0;
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 40;
- fixed: 0 1;
- align: 0 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- part { name: "elm.text.sub";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.thumbnail.right";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.text";
- }
- color: GENLIST_PART_SUB_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Medium";
- size: 22;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text";
- target: "elm.text.sub";
- 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";
- }
- }
- }
-
-////// for a test
- group { name: "elm/genlist/item/edit_field/default";
- alias: "elm/genlist/item_odd/edit_field/default";
- alias: "elm/genlist/item_compress/edit_field/default";
- alias: "elm/genlist/item_compress_odd/edit_field/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "icons" "elm.swallow.edit_field";
- data.item: "treesize" "20";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- part { name: "elm.swallow.edit_field";
- clip_to: "disclip";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- }
- rel2 {
- to_x: "elm.padding.right";
- relative: 0.0 1.0;
- offset: 0 0;
- }
- }
- }
-
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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/genlist/item/list_picker/default";
- alias: "elm/genlist/item_odd/list_picker/default";
- alias: "elm/genlist/item_compress/list_picker/default";
- alias: "elm/genlist/item_compress_odd/list_picker/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_LIST_PICKER_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_LIST_PICKER_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- 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.padding.left";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- }
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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/genlist/item/load_refresh/default";
- alias: "elm/genlist/item_odd/load_refresh/default";
- alias: "elm/genlist/item_compress/load_refresh/default";
- alias: "elm/genlist/item_compress_odd/load_refresh/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
- parts {
- BEAT_GENLIST_PART_BASE( 80 )
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 15 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
-
- 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.padding.left";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- to_x: "elm.padding.right";
- }
- color: GENLIST_PART_TEXT_COLOR_INC;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.5 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
- }
- }
- BEAT_GENLIST_PART_DISCLIP
- }
- 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_image";
- target: "elm.text";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- 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";
- }
- }
- }
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-/*
- * vim:ts=3
-*/
-
- group { name: "elm/genlist/item/slide_two/default";
- alias: "elm/genlist/item_odd/slide_two/default";
- alias: "elm/genlist/item_compress/slide_two/default";
- alias: "elm/genlist/item_compress_odd/slide_two/default";
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.base.text elm.slide_base.text";
- data.item: "icons" "elm.base.swallow.button1 elm.base.swallow.button2";
- data.item: "treesize" "20";
- data.item: "allow_slide" "1";
-
- images {
- image: "00_sweep_list_bg.png" COMP;
- }
-
- parts {
- // Base parts when slide right.
- part { name: "base";
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- min: 0 80;
- image.normal: "00_sweep_list_bg.png";
- }
- }
- part { name: "bottom_line";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 0 1;
- fixed: 0 1;
- visible: 1;
- color: 212 212 212 255;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -1;
- to: "base";
- }
- rel2.to: "base";
- }
- }
- part { name: "base.padding.left";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1.to: "base";
- rel2 {
- relative: 0 1;
- to: "base";
- }
- }
- }
- part { name: "base.padding.right";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1 {
- relative: 1 0;
- to: "base";
- }
- rel2.to: "base";
- }
- }
- part { name: "base.padding.bottom";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 2;
- fixed: 0 1;
- visible: 0;
- align: 0.5 1;
- rel1 {
- relative: 0 1;
- to: "base";
- }
- rel2 {
- relative: 1 1;
- to: "base";
- }
- }
- }
- part { name: "elm.base.text";
- type: TEXT;
- clip_to: "disclip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 36;
- 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: 255 255 255 255;
- text {
- font: "SLP:style=Roman";
- size: 22;
- min: 0 1;
- align: 0.5 0.5;
- }
- }
- }
- part { name: "base.padding.center";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
- 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;
- to: "base";
- }
- rel2 {
- relative: 0.5 1;
- to: "base";
- }
- }
- }
- part { name: "elm.base.swallow.button1";
- type: SWALLOW;
- clip_to: "disclip";
- description { state: "default" 0.0;
- rel1 {
- relative: 1 1;
- to_x: "base.padding.left";
- to_y: "elm.base.text";
- }
- rel2 {
- relative: 0 0;
- to_x: "base.padding.center";
- to_y: "base.padding.bottom";
- }
- }
- }
- part { name: "elm.base.swallow.button2";
- type: SWALLOW;
- clip_to: "disclip";
- description { state: "default" 0.0;
- rel1 {
- relative: 1 1;
- to_x: "base.padding.center";
- to_y: "elm.base.text";
- }
- rel2 {
- relative: 0 0;
- to_x: "base.padding.right";
- to_y: "base.padding.bottom";
- }
- }
- }
-
- // Transparent part between base parts and slidable parts.
- part { name: "elm.between.layer";
- type: RECT;
- clip_to: "disclip";
- 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;
- }
- }
-
- // Slidable parts.
- part { name: "slide_base";
- type: RECT;
- clip_to: "disclip";
- scale: 1;
- description { state: "default" 0.0;
- color: 246 245 237 255;
- rel1.to: "base";
- rel2.to: "base";
- }
- 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; }
- }
- }
- part { name: "slide_base.bg_image";
- clip_to: "disclip";
- description { state: "default" 0.0;
- visible: 0;
- image.normal: "00_list_bar_press_1x80.png";
- rel1.to: "slide_base";
- rel2.to: "slide_base";
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "slide_bottom_line";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 0 1;
- fixed: 0 1;
- visible: 1;
- color: 212 212 212 255;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -1;
- to: "slide_base";
- }
- rel2.to: "slide_base";
- }
- }
- part { name: "slide_base.padding.left";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1.to: "slide_base";
- rel2 {
- relative: 0 1;
- to: "slide_base";
- }
- }
- }
- part { name: "slide_base.padding.right";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- visible: 0;
- rel1 {
- relative: 1 0;
- to: "slide_base";
- }
- rel2.to: "slide_base";
- }
- }
- part { name: "elm.slide_base.text";
- type: TEXT;
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 0 0.5;
- rel1 {
- relative: 1 0;
- to_x: "slide_base.padding.left";
- to_y: "slide_base";
- }
- rel2 {
- relative: 0 1;
- to_x: "slide_base.padding.right";
- to_y: "slide_base";
- }
- color: 0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 225 225 225 255;
- }
- }
- part { name: "disclip";
- type: RECT;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 64;
- }
- }
- }
-
- programs {
- // Basic programs
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "elm.slide_base.text";
- target: "slide_base.bg_image";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.slide_base.text";
- target: "slide_base.bg_image";
- 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";
- }
-
- // Slide right
- program { name: "go_slide_right";
- signal: "elm,state,slide,right";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "slide_base";
- after: "slide_right_step1";
- }
- program { name: "slide_right_step1";
- action: STATE_SET "hide" 0.1;
- target: "slide_base";
- transition: LINEAR 0.3;
- after: "slide_right_step2";
- }
- program { name: "slide_right_step2";
- action: STATE_SET "hide" 0.2;
- target: "slide_base";
- transition: LINEAR 0.3;
- after: "slide_right_step3";
- }
- program { name: "slide_right_step3";
- action: STATE_SET "hide" 0.3;
- target: "slide_base";
- transition: LINEAR 0.3;
- after: "slide_right_step4";
- }
- program { name: "slide_right_step4";
- action: STATE_SET "repeat_events" 0.0;
- target: "elm.between.layer";
- }
-
- // Slide left
- program { name: "go_slide_left";
- signal: "elm,state,slide,left";
- source: "elm";
- action: STATE_SET "hide" 0.3;
- target: "slide_base";
- after: "slide_left_step1";
- }
- program { name: "slide_left_step1";
- action: STATE_SET "default" 0.0;
- target: "elm.between.layer";
- after: "slide_left_step2";
- }
- program { name: "slide_left_step2";
- action: STATE_SET "hide" 0.2;
- target: "slide_base";
- transition: LINEAR 0.3;
- after: "slide_left_step3";
- }
- program { name: "slide_left_step3";
- action: STATE_SET "hide" 0.1;
- target: "slide_base";
- transition: LINEAR 0.3;
- after: "slide_left_step4";
- }
- program { name: "slide_left_step4";
- action: STATE_SET "hide" 0.0;
- target: "slide_base";
- transition: LINEAR 0.3;
- after: "slide_left_step5";
- }
- program { name: "slide_left_step5";
- action: STATE_SET "default" 0.0;
- target: "slide_base";
- transition: LINEAR 0.3;
- }
- }
- }
-
-// DEMO
-// TODO: need to refactor
-#define FLIPPING_DELAY 0.01
- group { name: "elm/genlist/item/flip_item/default";
- alias: "elm/genlist/item_odd/flip_item/default";
-
- /* 'images' are inserted for demo only. These should be removed after demo... */
- /* ----> */
- images {
- image: "btn_normal.png" COMP;
- image: "btn_selected.png" COMP;
-
- image: "item_flip_01.png" COMP;
- image: "item_flip_02.png" COMP;
- image: "item_flip_03.png" COMP;
- image: "item_flip_04.png" COMP;
- image: "item_flip_05.png" COMP;
- image: "item_flip_06.png" COMP;
- image: "item_flip_07.png" COMP;
- image: "item_flip_08.png" COMP;
- image: "item_flip_09.png" COMP;
- image: "item_flip_10.png" COMP;
- image: "item_flip_11.png" COMP;
- image: "item_flip_12.png" COMP;
- image: "item_flip_13.png" COMP;
- image: "item_flip_14.png" COMP;
- image: "item_flip_15.png" COMP;
- image: "item_flip_16.png" COMP;
- image: "item_flip_17.png" COMP;
- image: "item_flip_18.png" COMP;
- image: "item_flip_19.png" COMP;
- image: "item_flip_20.png" COMP;
- }
- /* <---- */
-
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text";
- data.item: "treesize" "20";
- data.item: "allow_slide" "1";
- parts {
- BEAT_GENLIST_PART_BASE( 87 )
-
- /* PART_BUTTONS are inserted for demo only. These should be removed after demo... */
- /* ----> */
- BEAT_GENLIST_PART_BUTTON( btn_left, btn_text_left, "Call", 0.05, 0.31, 0.15, 0.85 )
- BEAT_GENLIST_PART_BUTTON( btn_mid, btn_text_mid, "Message", 0.37, 0.63, 0.15, 0.85 )
- BEAT_GENLIST_PART_BUTTON( btn_right, btn_text_right, "Email", 0.69, 0.95, 0.15, 0.85 )
- /* <---- */
-
-
- part { name: "bg";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; to_y: base; }
- visible: 1;
- fixed: 0 1;
- min: 0 348;
- align: 0.0 1.0;
- image {
- normal: "item_flip_01.png";
- }
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- DESC_FLIP_IMAGE( 0.01, item_flip_01.png )
- DESC_FLIP_IMAGE( 0.02, item_flip_02.png )
- DESC_FLIP_IMAGE( 0.03, item_flip_03.png )
- DESC_FLIP_IMAGE( 0.04, item_flip_04.png )
- DESC_FLIP_IMAGE( 0.05, item_flip_05.png )
- DESC_FLIP_IMAGE( 0.06, item_flip_06.png )
- DESC_FLIP_IMAGE( 0.07, item_flip_07.png )
- DESC_FLIP_IMAGE( 0.08, item_flip_08.png )
- DESC_FLIP_IMAGE( 0.09, item_flip_09.png )
- DESC_FLIP_IMAGE( 0.10, item_flip_10.png )
- DESC_FLIP_IMAGE( 0.11, item_flip_11.png )
- DESC_FLIP_IMAGE( 0.12, item_flip_12.png )
- DESC_FLIP_IMAGE( 0.13, item_flip_13.png )
- DESC_FLIP_IMAGE( 0.14, item_flip_14.png )
- DESC_FLIP_IMAGE( 0.15, item_flip_15.png )
- DESC_FLIP_IMAGE( 0.16, item_flip_16.png )
- DESC_FLIP_IMAGE( 0.17, item_flip_17.png )
- DESC_FLIP_IMAGE( 0.18, item_flip_18.png )
- DESC_FLIP_IMAGE( 0.19, item_flip_19.png )
- DESC_FLIP_IMAGE( 0.20, item_flip_20.png )
-
- }
-
-
- part { name: "bottom_line";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 0 2;
- fixed: 0 1;
- visible: 1;
- color: 212 212 212 255;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -1;
- }
- }
- }
-
- BEAT_GENLIST_PART_PADDING_LEFT_SLIDE( 16 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 16 )
-
-
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "elm.padding.left";
- to_y: "base";
- relative: 1.0 0.0;
- offset: 0 0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "base";
- relative: 0.0 1.0;
- offset: 0 0;
- }
- color: 0 0 0 255;
- color3: 0 0 0 0;
- text {
- font: "SLP:style=Roman";
- size: 32;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- }
- DESC_TEXT_HIDE( 0.01 )
- DESC_TEXT_HIDE( 0.02 )
- DESC_TEXT_HIDE( 0.03 )
- DESC_TEXT_HIDE( 0.04 )
- DESC_TEXT_HIDE( 0.05 )
- DESC_TEXT_HIDE( 0.06 )
- DESC_TEXT_HIDE( 0.07 )
- DESC_TEXT_HIDE( 0.08 )
- DESC_TEXT_HIDE( 0.09 )
- DESC_TEXT_HIDE( 0.10 )
- DESC_TEXT_HIDE( 0.11 )
- DESC_TEXT_HIDE( 0.12 )
- DESC_TEXT_HIDE( 0.13 )
- DESC_TEXT_HIDE( 0.14 )
- DESC_TEXT_HIDE( 0.15 )
- DESC_TEXT_HIDE( 0.16 )
- DESC_TEXT_HIDE( 0.17 )
- DESC_TEXT_HIDE( 0.18 )
- DESC_TEXT_HIDE( 0.19 )
- DESC_TEXT_HIDE( 0.20 )
- }
-
- BEAT_GENLIST_PART_DISCLIP
- }
-
- programs {
- script {
- public flipping_state;
- public inc_value;
- }
- // 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";
- }
- 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;
- }
- 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_slide_left";
- signal: "elm,state,slide,left";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "bg";
- after: "hide_step1";
- }
- program {
- name: "go_slide_right";
- signal: "elm,state,slide,right";
- source: "elm";
- action: STATE_SET "hide" 0.3;
- target: "bg";
- after: "show_step1";
- }
- */
-
- BEAT_GENLIST_PROGRAM_SLIDE_WITH_AFTER( hide_step1, 0.1, hide_step2 )
- BEAT_GENLIST_PROGRAM_SLIDE_WITH_AFTER( hide_step2, 0.2, hide_step3 )
- BEAT_GENLIST_PROGRAM_SLIDE( hide_step3, "hide", 0.3 )
-
- BEAT_GENLIST_PROGRAM_SLIDE_WITH_AFTER( show_step1, 0.2, show_step2 )
- BEAT_GENLIST_PROGRAM_SLIDE_WITH_AFTER( show_step2, 0.1, show_step3 )
- BEAT_GENLIST_PROGRAM_SLIDE_WITH_AFTER( show_step3, 0.0, show_step4 )
- BEAT_GENLIST_PROGRAM_SLIDE( show_step4, "default", 0.0 )
-
- /* PROGRAM_BUTTONS are inserted for demo only. These should be removed after demo... */
- /* ----> */
- BEAT_GENLIST_PROGRAM_BUTTON( btn_left_focused, btn_left_normal, btn_left )
- BEAT_GENLIST_PROGRAM_BUTTON( btn_mid_focused, btn_mid_normal, btn_mid )
- BEAT_GENLIST_PROGRAM_BUTTON( btn_right_focused, btn_right_normal, btn_right )
- /* <---- */
-
- program { name: "continue_flipping";
- script {
- new Float:state;
- new Float:value;
- state = get_float(flipping_state);
- value = get_float(inc_value);
-
- if( state >= 0.5 )
- {
- set_state(PART:"bg", "hide", state);
- }
- else if( state < 0.0 )
- {
- set_state(PART:"bg", "default", state);
- }
- else
- {
- set_state(PART:"bg", "flipping", state);
- set_state(PART:"elm.text", "hide", state);
- state += value;
- if( state > 0.21 )
- state = 0.5;
- if( state < 0.0 )
- state = -0.1;
- set_float(flipping_state, state);
- run_program( PROGRAM:"delay" );
- }
- }
- }
- program { name: "delay";
- action: STATE_SET "flipping" 0.10;
- target: "bg";
- in: FLIPPING_DELAY 0.0;
- after: "continue_flipping";
- }
- program { name: "start_flip_left";
- signal: "elm,state,slide,left1";
- source: "elm";
- script {
- set_float(flipping_state, 0.0);
- set_float(inc_value, 0.01);
- }
- after: "continue_flipping";
- }
- program { name: "start_flip_right";
- signal: "elm,state,slide,right";
- source: "elm";
- script {
- set_float(flipping_state, 0.21);
- set_float(inc_value, -0.01);
- }
- after: "continue_flipping";
- }
- }
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-group {
- name: "elm/imageslider/base/default";
- parts {
- part { name: "background";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
-
- part { name: "swl.photo";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- dragable {
-// confine: "background";
- x: 1 1 0;
- y: 1 1 0;
- }
- description {
- state: "default" 0.0;
-// min: MAIN_W MAIN_H;
- }
- }
-
- part { name: "block";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- color: 0 0 0 0;
- }
- description {
- state: "unblock" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- }
- }
-
- programs {
- // Noti on/off event
- program {
- name: "block_on";
- signal: "block.on";
- source: "block";
- action: STATE_SET "default" 0.0;
- target: "block";
- }
- program {
- name: "block_off";
- signal: "block.off";
- source: "block";
- action: STATE_SET "unblock" 0.0;
- target: "block";
- }
- program {
- name: "photo_clicked";
- signal: "mouse,clicked,1";
- source: "block";
- action: SIGNAL_EMIT "elm,photo,clicked" "";
- }
- }
-}
-
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
- group { name: "elm/index/base/vertical/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: "00_fast_scroll_popup_bg.png" COMP;
- image: "01_fast_scroll_first_bg_dim_top.png" COMP;
- image: "01_fast_scroll_first_bg_dim_middle.png" COMP;
- image: "01_fast_scroll_first_bg_dim_bottom.png" COMP;
- image: "01_fast_scroll_second_bg_top.png" COMP;
- image: "01_fast_scroll_second_bg_middle.png" COMP;
- image: "01_fast_scroll_second_bg_bottom.png" COMP;
- image: "00_fast_scroll_rollover_bg.png" COMP;
- image: "00_fast_scroll_rollover_index_1_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";
- 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: 27 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: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 70 0;
- fixed: 1 0;
- align: 1.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: 0 0;
- }
- color: 0 0 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;
- rel1 {
- to_y: "elm.dragable.index.1";
- relative: 1.0 0.5;
- offset: -1 0;
- }
- rel2 {
- to_y: "elm.dragable.index.1";
- relative: 1.0 0.5;
- offset: -1 -1;
- }
- color: 255 255 255 0;
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- 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: "index.1.bg.image.middle";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- rel1 {
- to: "elm.swallow.index.1";
- offset: 0 0;
- }
- rel2 {
- to: "elm.swallow.index.1";
- offset: 0 0;
- }
- image {
- normal: "00_fast_scroll_rollover_index_1_bg.png";
- border: 6 6 8 8;
- border_scale: 1;
- }
- fill.smooth: 0;
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- 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;
- rel1 {
- relative: 1.0 0.5;
- offset: -1 0;
- }
- rel2 {
- relative: 1.0 0.5;
- offset: -1 0;
- }
- color: 255 255 255 50;
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part { name: "index.0.bg.image.middle";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- to: "elm.swallow.index.0";
- offset: 0 0;
- }
- rel2 {
- to: "elm.swallow.index.0";
- offset: 0 0;
- }
- image {
- normal: "00_fast_scroll_rollover_bg.png";
- border: 6 0 8 8;
- border_scale: 1;
- }
- fill.smooth: 0;
- visible: 0;
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "button_image_padding";
- mouse_events: 0;
- scale: 1;
- clip_to: "clip";
- type: RECT;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- min: 0 6;
- 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: 118 120;
- fixed: 1 1;
- rel1 {
- to_y: "button_image_padding";
- relative: 0.5 1.0;
- }
- rel2 {
- to_y: "button_image_padding";
- relative: 0.5 1.0;
- offset: 0 0;
- }
- image {
- normal: "00_fast_scroll_popup_bg.png";
- border: 13 21 17 19;
- 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: 165 120;
- fixed: 1 0;
- rel1 {
- to: "button_image_padding";
- relative: 0.5 1.0;
- }
- rel2 {
- to: "button_image_padding";
- relative: 0.5 1.0;
- }
- }
- }
- part {
- name: "elm.text";
- type: "TEXT";
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- align: 0.90 0.4;
- fixed: 1 1;
- min: 40 20;
- visible: 0;
- rel1 {
- to: "button_image";
- relative: 0.90 0.39;
- }
- rel2 {
- to: "button_image";
- relative: 0.90 0.39;
- }
- color: 88 83 79 255;
- color3: 0 0 0 64;
- text {
- font: "SLP:style=Bold";
- size: 78;
- min: 1 1;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.text.body";
- type: "TEXT";
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- align: 0.5 0.4;
- fixed: 1 1;
- min: 40 20;
- rel1 {
- to: "button_image";
- relative: 0.29 0.39;
- }
- rel2 {
- to: "button_image";
- relative: 0.29 0.39;
- }
- color: 88 83 79 255;
- color3: 0 0 0 64;
- text {
- font: "SLP:style=Bold";
- size: 78;
- min: 1 1;
- }
- }
- description { state: "invisible" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description {
- state: "color_change" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to: "button_image";
- relative: 0.47 0.39;
- }
- rel2 {
- to: "button_image";
- relative: 0.47 0.39;
- }
- }
- }
- part {
- name: "elm.text.last";
- type: "TEXT";
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- align: 0.67 0.4;
- fixed: 1 1;
- min: 40 20;
- rel1 {
- to: "button_image";
- relative: 0.67 0.39;
- }
- rel2 {
- to: "button_image";
- relative: 0.67 0.39;
- }
- color: 88 83 79 255;
- color3: 0 0 0 64;
- text {
- font: "SLP:style=Bold";
- size: 78;
- min: 1 1;
- }
- }
- description { state: "invisible" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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: RECT;
- 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;
- }
- 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 0.0;
- 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: "first_level_invisible";
- signal: "hide_first_level";
- source: "";
- action: STATE_SET "default" 0.0;
- target: "elm.text.body";
- action: STATE_SET "index1" 0.0;
- target: "button_image";
- after: "2nd_level_visible";
- }
- program { name: "2nd_level_visible";
- signal: "show_2nd_level";
- source: "";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program { name: "first_level_visible";
- signal: "show_first_level";
- source: "";
- action: STATE_SET "default" 0.0;
- target: "elm.text.last";
- action: STATE_SET "color_change" 0.0;
- target: "elm.text.body";
- }
- program { name: "2nd_level_invisible";
- signal: "hide_2nd_level";
- source: "";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- after: "first_level_visible";
- }
- 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";
- target: "index.0.bg.image.middle";
- 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";
- target: "index.0.bg.image.middle";
- 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";
- target: "index.0.bg.image.middle";
- }
- 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";
- target: "index.1.bg.image.middle";
- }
- 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";
- target: "index.1.bg.image.middle";
- }
- program { name: "button.image.hidden";
- signal: "elm,state,button,image,hide";
- source: "elm";
- action: STATE_SET "invisible" 0.0;
- target: "button_image";
- target: "elm.text.last";
- target: "elm.text.body";
- }
- 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/vertical/default";
- alias: "elm/index/item_odd/vertical/default";
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- parts {
- part { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- min: 27 20;
- align: 0.5 0.5;
- state: "default" 0.0;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 1.0 1.0;
- }
- color: 88 83 79 200;
- text {
- font: "SLP:style=Bold";
- size: 16;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- color: 58 60 9 255;
- }
- }
- }
- programs {
- program { name: "active";
- signal: "elm,state,active";
- source: "elm";
- action: STATE_SET "active" 0.0;
- transition: DECELERATE 1.0;
- target: "elm.text";
- }
- program { name: "inactive";
- signal: "elm,state,inactive";
- source: "elm";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.1;
- target: "elm.text";
- }
- }
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define TEXT_SLIDE_DURATION 10
-
- styles
- {
- style { name: "textblock_style";
- base: "font=SLP:style=Medium font_size=24 color="LABEL_TEXT_BLOCK_STYLE_COLOR_INC" wrap=word";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- }
-
- styles
- {
- style { name: "textblock_charwrap_style";
- base: "font=SLP:style=Medium font_size=24 color="LABEL_TEXT_BLOCK_STYLE_COLOR_INC" wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- }
-
- group { name: "elm/label/base/default";
- data.item: "default_font_size" "24";
- data.item: "min_font_size" "18";
- data.item: "max_font_size" "60";
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "label.text.clip";
- type: RECT;
- description { state: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 { relative: 0 0; to: "label.swallow.background"; }
- rel2 { relative: 1 1; to: "label.swallow.background"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- 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: 1 0;
- }
- }
- }
- }
- }
-
- group { name: "elm/label/base_wrap/default";
- data.item: "default_font_size" "24";
- data.item: "min_font_size" "18";
- data.item: "max_font_size" "60";
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 1;
- scale: 1;
- multiline: 1;
- description { state: "default" 0.0;
- text {
- style: "textblock_style";
- min: 0 1;
- }
- }
- description { state: "charwrap_mode" 0.0;
- text {
- style: "textblock_charwrap_style";
- min: 0 1;
- }
- }
- }
- }
- 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_wrap_ellipsis/default";
- data.item: "default_font_size" "24";
- data.item: "min_font_size" "18";
- data.item: "max_font_size" "60";
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- 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;
- }
- }
- 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;
- }
- }
- }
- }
- 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";
- data.item: "default_font_size" "24";
- data.item: "min_font_size" "18";
- data.item: "max_font_size" "60";
- styles
- {
- style { name: "textblock_style2";
- base: "font=SLP:style=Bold font_size=14 align=center color=#fff wrap=word";
-
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ color=#ffff";
- tag: "b" "+ color=#ffff";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- text {
- style: "textblock_style2";
- min: 1 1;
- }
- }
- }
- }
- }
-
- group { name: "elm/label/base_wrap/marker";
- data.item: "default_font_size" "24";
- data.item: "min_font_size" "18";
- data.item: "max_font_size" "60";
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- multiline: 1;
- description { state: "default" 0.0;
- text {
- style: "textblock_style2";
- min: 0 1;
- }
- }
- }
- }
- }
-
-
- group { name: "elm/label/base/titlebar/default";
- data.item: "default_font_size" "24";
- data.item: "min_font_size" "18";
- data.item: "max_font_size" "60";
- parts {
- part { name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- text {
- font: "SLP:style=Bold";
- size: 28;
- min: 0 0;
- align: 0.0 0.5;
- }
- color2: 0 0 0 255;
- }
- }
- }
- }
-
- group { name: "elm/label/base/titlebar/header";
- data.item: "default_font_size" "24";
- data.item: "min_font_size" "18";
- data.item: "max_font_size" "60";
- styles {
- style { name: "header_textblock_style";
- base: "font=SLP:style=Medium font_size=34 color=#ffffff wrap=word";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#800 underline=on underline_color=#8008";
- tag: "hilight" "+ font=SLP:style=Bold";
- }
- }
-
- parts {
- part { name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- text {
- font: "SLP:style=Medium";
- size: 34;
- min: 0 0;
- align: 0.0 0.5;
- }
- color2: 0 0 0 255;
- }
- }
- }
- }
-
-
- group { name: "elm/label/base/slide_long";
- data.item: "default_font_size" "24";
- data.item: "min_font_size" "18";
- data.item: "max_font_size" "60";
-
- script {
- public g_duration, g_stopslide, g_timer_id, g_anim_id;
-
- public message(Msg_Type:type, id, ...) {
- if( (type==MSG_INT_SET) && (id==0) )
- {
- new duration;
- duration = getarg(2);
- set_int(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 duration;
- stopflag = get_int(g_stopslide);
- if (stopflag == 1) return;
- duration = get_int(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.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "label.text.clip";
- type: RECT;
- description { state: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 { relative: 0 0; to: "label.swallow.background"; }
- rel2 { relative: 1 1; to: "label.swallow.background"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- 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: 1 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;
- }
- 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;
- }
-
- }
- }
- 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";
- data.item: "default_font_size" "24";
- data.item: "min_font_size" "18";
- data.item: "max_font_size" "60";
-
- script {
- public g_duration, g_stopslide, g_timer_id, g_anim_id;
-
- public message(Msg_Type:type, id, ...) {
- if( (type==MSG_INT_SET) && (id==0) )
- {
- new duration;
- duration = getarg(2);
- set_int(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 duration;
- stopflag = get_int(g_stopslide);
- if (stopflag == 1) return;
- duration = get_int(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.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "label.text.clip";
- type: RECT;
- description { state: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 { relative: 0 0; to: "label.swallow.background"; }
- rel2 { relative: 1 1; to: "label.swallow.background"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- 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: 1 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;
- }
- 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;
- }
-
- }
- }
- 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";
- data.item: "default_font_size" "24";
- data.item: "min_font_size" "18";
- data.item: "max_font_size" "60";
-
- script {
- public g_duration, g_stopslide, g_timer_id, g_anim_id;
-
- public message(Msg_Type:type, id, ...) {
- if( (type==MSG_INT_SET) && (id==0) )
- {
- new duration;
- duration = getarg(2);
- set_int(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 duration;
- stopflag = get_int(g_stopslide);
- if (stopflag == 1) return;
- duration = get_int(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 duration;
- stopflag = get_int(g_stopslide);
- if (stopflag == 1) return;
- duration = get_int(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.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "label.text.clip";
- type: RECT;
- description { state: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 { relative: 0 0; to: "label.swallow.background"; }
- rel2 { relative: 1 1; to: "label.swallow.background"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- 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: 1 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;
- }
- 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;
- }
-
- }
- }
- 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();
- }
- }
- }
- }
-
-
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
- /*************************************************/
- /* elm_layout -> integrated style */
- /*************************************************/
- 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: "indicator_bg";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.indicator";
- rel2.to: "elm.swallow.indicator";
- color: 0 0 0 255;
- }
- description { state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.swallow.indicator";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- min: 0 INDICATOR_H;
- fixed: 0 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- align: 0.5 0.0;
- }
- description { state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- 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_indicator" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to_y: "elm.swallow.indicator"; }
- }
- description { state: "show_with_navi_bar" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to_y: "elm.swallow.navi_bar"; }
- }
- description { state: "show" 1.0;
- inherit: "default" 0.0;
- visible: 1;
- rel2 { relative: 1.0 0.0; to_y: "elm.swallow.controlbar"; }
- }
- description { state: "show_with_indicator" 1.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to_y: "elm.swallow.indicator"; }
- rel2 { relative: 1.0 0.0; to_y: "elm.swallow.controlbar"; }
- }
- description { state: "show_with_navi_bar" 1.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to_y: "elm.swallow.navi_bar"; }
- rel2 { relative: 1.0 0.0; to_y: "elm.swallow.controlbar"; }
- }
- }
- part { name: "elm.swallow.navi_bar";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 0 NAVI_BAR_H;
- 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;
- }
- description { state: "show_with_indicator" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to_y: "elm.swallow.indicator"; }
- rel2 { relative: 1.0 1.0; to_y: "elm.swallow.indicator"; }
- }
- }
- part { name: "elm.swallow.controlbar";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- min: 0 TAB_BAR_H;
- 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_indicator";
- signal: "elm,state,show,indicator";
- source: "elm";
- script {
- set_state(PART:"elm.swallow.indicator", "show", 0.0);
- set_state(PART:"indicator_bg", "show", 0.0);
- run_program(PROGRAM:"check_location");
- }
- }
- program { name: "hide_indicator";
- signal: "elm,state,hide,indicator";
- source: "elm";
- script {
- set_state(PART:"elm.swallow.indicator", "default", 0.0);
- set_state(PART:"indicator_bg", "default", 0.0);
- run_program(PROGRAM:"check_location");
- }
- }
- 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 indicator = 0, navi_bar = 0, content = 0, controlbar = 0;
-
- get_state(PART:"elm.swallow.indicator", st, 30, vl)
- if (!strncmp(st, "show", 4)) indicator = 1;
- 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) {
- if (indicator == 1) {
- set_state(PART:"elm.swallow.navi_bar", "show_with_indicator", 0.0)
- } else {
- 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 if (indicator == 1) {
- set_state(PART:"elm.swallow.content", "show_with_indicator", 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 -> searchbar style */
- /*************************************************/
- group { name: "elm/layout/searchbar/default";
- parts {
- part { name: "bg";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- visible: 1;
- color: 0 0 0 0;
- }
- }
- part { name: "searchbar";
- type: EXTERNAL;
- source: "elm/searchbar";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 SEARCHBAR_H;
- fixed: 0 1;
- align: 0.0 1.0;
- rel1.to: "bg";
- rel2 {
- relative: 1.0 0.0;
- to: "bg";
- }
- params {
- //string: "label" "my test";
- bool: "cancel_button_animation" "1";
- }
- }
- 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";
- }
- rel2.to: "bg";
- }
- }
- } //end parts
- 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";
- }
- } // end programs
- } //end group
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
- ///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/map/base/default";
- script {
- public sbvis_v, sbvis_h, sbnever_v, 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.png" 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: "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: "conf_over";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1.offset: 0 0;
- rel2.offset: -1 -1;
- visible: 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: 8 8;
- align: 1.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- offset: -1 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 -1;
- to_y: "sb_hbar";
- }
- }
- }
- part { name: "sb_vbar_runner";
- clip_to: "sb_vbar_clip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 8 8;
- max: 8 99999;
- rel1.to: "sb_vbar";
- rel2.to: "sb_vbar";
- visible: 0;
- image {
- normal: "sb_runnerv.png";
- border: 0 0 4 4;
- 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: 8 8;
- 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.png";
- border: 3 3 3 3;
- 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: 6 6 6 0;
- 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: 6 6 6 0;
- 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: "sb_hbar";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- min: 50 8;
- align: 0.0 1.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -1;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -1 -1;
- to_x: "sb_vbar";
- }
- }
- }
- part { name: "sb_hbar_runner";
- clip_to: "sb_hbar_clip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 50 8;
- max: 99999 8;
- rel1.to: "sb_hbar";
- rel2.to: "sb_hbar";
- visible: 0;
- image {
- normal: "sb_runnerh.png";
- border: 4 4 0 0;
- 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: 50 8;
- 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.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- image.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: 6 6 6 0;
- 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: 6 6 6 0;
- 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);
- set_int(sbnever_v, 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);
- }
- set_int(sbnever_v, 0);
- }
- }
- 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);
- }
- }
- set_int(sbnever_v, 0);
- }
- }
- program { name: "vbar_hide_always";
- signal: "elm,action,hide_always,vbar";
- source: "elm";
- script {
- new v1, v2;
- v1 = get_int(sbnever_v);
- if (!v1) {
- set_int(sbnever_v, 1);
- set_int(sbalways_v, 0);
- v2 = get_int(sbvis_v);
- if (!v2) {
- 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, v1;
- v = get_int(sbvis_v);
- v |= get_int(sbalways_v);
- v1 = get_int(sbnever_v);
- if (!v && !v1) {
- 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(0.5, "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";
- }
- }
- }
- group { name: "elm/map/marker/radio/default";
- data {
- item: size_w 24;
- item: size_h 24;
- item: size_max_w 58;
- item: size_max_h 58;
- }
- images {
- image: "map_item.png" COMP;
- }
- parts {
- part { name: "whole";
- 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: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- align: 0.5 0.5;
- }
- }
- }
- }
- 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 24;
- item: size_h 24;
- 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: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- align: 0.5 0.5;
- }
- }
- }
- }
- 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 22;
- item: size_h 22;
- item: size_max_w 64;
- item: size_max_h 64;
- }
- parts {
- part { name: "whole";
- description { state: "default" 0.0;
- }
- }
- part { name: "base";
- 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: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- align: 0.5 0.5;
- }
- }
- }
- }
- 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 400;
- item: size_h 100;
- }
- parts {
- part { name: "clipper";
- 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;
- }
- }
- }
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-///////////////////////////////////////////////////////////////////////////////////////
-#define MBE_PAD_W 12
-#define MBE_PAD_H 16
-
- group { name: "elm/multibuttonentry/base/default";
-
- parts {
- part {
- name: "elm.base";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0 0;
- color: 0 0 0 0;
- }
- }
- part{
- name: "top.left.pad";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min : MBE_PAD_W MBE_PAD_H;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0;to:elm.base; }
- rel2 { relative: 0.0 0.0;to:elm.base; }
- align: 0 0;
- color: 0 0 0 0;
- }
- }
- part{
- name: "bottom.right.pad";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min : MBE_PAD_W MBE_PAD_H;
- fixed: 1 1;
- rel1 { relative: 1.0 1.0;to:elm.base; }
- rel2 { relative: 1.0 1.0;to:elm.base; }
- align: 1 1;
- 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"; }
- align: 0.0 0.0;
- }
- }
-
- }
-
- programs {
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/multibuttonentry/rect/default";
-
- parts {
- part {
- name: "elm.base";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 3 50;
- max: 3 50;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 0 0 0 0;
- }
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/multibuttonentry/guidetext/default";
-
- parts {
- part { name: "elm.text";
- type: TEXT;
- mouse_events: 1;
- scale: 1;
-
- description {
- state: "default" 0.0;
- color: 157 155 140 255;
- text {
- font: "SLP:style=Roman";
- size: 28;
- min: 0 1;
- align: 0.0 0.5;
- text: "test";
- }
- }
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/multibuttonentry/btn/default";
-
- images {
- image: "00_message_button_add_recipient.png" COMP;
- }
-
- parts {
- part {
- name: "elm.base";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 44 50;
- max: 5000 50;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- //----------------------------------------------------padding
- part{
- name: "top.padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min : 0 4;
- fixed: 0 1;
- rel1 { relative: 0.0 0.0;to:elm.base; }
- rel2 { relative: 1.0 0.0;to:elm.base; }
- color: 0 0 0 0;
- align: 0 0;
- }
- }
- part{
- name: "bottom.padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min : 0 4;
- fixed: 0 1;
- rel1 { relative: 0.0 1.0;to:elm.base; }
- rel2 { relative: 1.0 1.0;to:elm.base; }
- color: 0 0 0 0;
- align: 0 1;
- }
- }
- part {
- name: "left.padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min : 5 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.base"; }
- rel2 { relative: 0.0 1.0; to: "elm.base"; }
- color: 0 0 0 0;
- align: 0 0;
- }
- }
- part {
- name: "left.inner.padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min : 15 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to_x:left.padding; to_y:elm.base; }
- rel2 { relative: 1.0 1.0; to_x:left.padding; to_y:elm.base; }
- color: 0 0 0 0;
- align: 0 0;
- }
- }
- part {
- name: "right.padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min : 5 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.base"; }
- rel2 { relative: 1.0 1.0; to: "elm.base"; }
- color: 0 0 0 0;
- align: 1 0;
- }
- }
- part {
- name: "right.inner.padding";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min : 15 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to_x:right.padding; to_y:elm.base; }
- rel2 { relative: 0.0 1.0; to_x:right.padding; to_y:elm.base; }
- color: 0 0 0 0;
- align: 1 0;
- }
- }
- //---------------------------------------------------- contents
- part {
- name: "elm.bg";
- type: IMAGE;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 1.0 1.0; to_x:left.padding; to_y:top.padding; }
- rel2 { relative: 0.0 0.0; to_x:right.padding; to_y:bottom.padding; }
- image.normal: "00_message_button_add_recipient.png";
- image.border: 20 20 20 20;
- image.border_scale: 1;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- color: 100 50 0 255;
- }
- }
- part {
- name: "elm.label";
- type: SWALLOW;
- mouse_events: 1;
- scale:1;
- description {
- state: "default" 0.0;
- rel1 { relative: 1.0 1.0; to_x:left.inner.padding; to_y:top.padding; }
- rel2 { relative: 0.0 0.0; to_x:right.inner.padding; to_y:bottom.padding; }
- align: 0.0 0.5;
- }
- }
- }
-
- programs {
- program {
- name: "clicked";
- signal: "mouse,clicked,1";
- source: "elm.bg";
- action: SIGNAL_EMIT "clicked" "elm";
- }
- program {
- name: "default";
- signal: "default";
- action: STATE_SET "default" 0.0;
- target: "elm.bg";
- }
- program {
- name: "focused";
- signal: "focused";
- action: STATE_SET "focused" 0.0;
- target: "elm.bg";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/label/base/extended/multibuttonentry_default";
- data.item: "default_font_size" "28";
- data.item: "min_font_size" "28";
- data.item: "max_font_size" "28";
-
- styles
- {
- style { name: "textblock_style_multibuttonentry_default";
- base: "font=SLP:style=Medium font_size=24 color=#494949 wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- }
-
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- text {
- style: "textblock_style_multibuttonentry_default";
- min: 1 1;
- }
- }
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/label/base/extended/multibuttonentry_button";
- data.item: "default_font_size" "24";
- data.item: "min_font_size" "16";
- data.item: "max_font_size" "60";
-
- styles
- {
- style { name: "textblock_style_multibuttonentry_button";
- base: "font=SLP:style=Medium font_size=24 color=#FFFFFF wrap=char align=center";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- }
-
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- text {
- style: "textblock_style_multibuttonentry_button";
- min: 1 1;
- }
- }
- }
- }
- }
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-/**
- *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" ;
-
- }
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-
-/**
-
- *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 ;
- }
-
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#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;
- }
- }
- 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;
- }
- }
- 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=word";
- 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";
- }
- }
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define PADDING 5
-#define ITEM_HEIGHT 50
-#define ITEM_WIDTH 0
-#define MAX_ITEM_WIDTH 112
-#define NAVI_BAR_EXTENDED_HEIGHT 93
-#define NAVI_BAR_EXTENDED_FNBTN_TOP_HEIGHT 110
-
-////////////////////////////////////////////////////////////////////////////////////////
-// NavigationBar
-////////////////////////////////////////////////////////////////////////////////////////
-
-group {
- name: "elm/navigationbar/base/default";
-
- images {
- image: "00_winset_title_bg.png" COMP;
- }
-
- parts {
- part {
- name: "navigationitem";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 NAVI_BAR_H;
- fixed: 0 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- align: 0.5 0.0;
- image {
- normal: "00_winset_title_bg.png";
- }
- }
- description {
- state: "top" 0.0;
- inherit: "default" 0.0;
- min: 1 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- min: 1 NAVI_BAR_EXTENDED_HEIGHT;
- }
- }
- part {
- type: RECT;
- name: "clip";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 NAVI_BAR_H;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- }
- description {
- state: "top" 0.0;
- inherit: "default" 0.0;
- min: 1 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- min: 1 NAVI_BAR_EXTENDED_HEIGHT;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip"; }
- rel2 { relative: 0.0 1.0; to: "clip"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.0 0.4; to: "clip"; }
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad1"; }
- align: 0.0 0.5;
- }
- description {
- state: "push" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 10.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description {
- state: "pop" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -10.0 0.0;
- rel2.relative: 1.0 1.0;
- }
-
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip"; }
- rel2 { relative: 1.0 1.0; to: "clip"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 1.0 0.4; to: "clip"; }
- }
- }
- part {
- name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad4"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad4"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "visible" 0.0;
- min: 5 0;
- }
- }
- part {
- name: "elm.swallow.btn3";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad5";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn3"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn3"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn3"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn3"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- scale:1;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- text {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to: "clip"; }
- rel2 { relative: 1.0 1.0; to: "clip"; }
- align: 0.5 0.5;
- }
- description {
- state: "push" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description {
- state: "pop" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad5"; }
- }
- description {
- state: "extended" 0.0;
- text {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to: "clip"; } //1.0 0.0
- rel2 { relative: 1.0 0.0; to_y: "elm.swallow.title";to_x: "clip"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.swallow.title";
- type: SWALLOW;
- scale:1;
- clip_to: "clip";
- description {
- fixed: 0 1;
- min: 0 ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 0.0 0.5;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "default" 0.0;
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad5"; }
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to: "navigationitem"; }
- rel2 { relative: 1.0 1.0; }
- }
- description {
- state: "top" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.rect.blocker";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- description {
- state: "enabled" 0.0;
- color: 0 0 0 0;
- visible: 1;
- }
- }
- } /* end of parts */
-
- programs {
- program {
- name: "moveup";
- signal: "elm,state,item,moveup";
- source: "elm";
- action: STATE_SET "top" 0.0;
- target: "navigationitem";
- target: "clip";
- target: "elm.swallow.content";
-// transition: LINEAR 0.4;
- }
- program {
- name: "movedown";
- signal: "elm,state,item,movedown";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "navigationitem";
- target: "clip";
- target: "elm.swallow.content";
-// transition: LINEAR 0.4;
- }
- #if 0
- program {
- name: "push";
- signal: "elm,action,push";
- source: "elm";
- action: STATE_SET "push" 0.0;
- target: "elm.text";
- target: "elm.swallow.btn1"; /*if uncommented, title object size becomes small */
- }
- program {
- name: "pop";
- signal: "elm,action,pop";
- source: "elm";
- action: STATE_SET "pop" 0.0;
- target: "elm.text";
- target: "elm.swallow.btn1";
- }
- #endif
- program {
- name: "add_leftpad";
- signal: "elm,state,item,add,leftpad";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad2";
- }
- program {
- name: "reset_leftpad";
- signal: "elm,state,item,reset,leftpad";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad2";
- }
- program {
- name: "add_rightpad";
- signal: "elm,state,item,add,rightpad";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad3";
- }
- program {
- name: "reset_rightpad";
- signal: "elm,state,item,reset,rightpad";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad3";
- }
- program {
- name: "add_rightpad2";
- signal: "elm,state,item,add,rightpad2";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad5";
- }
- program {
- name: "reset_rightpad2";
- signal: "elm,state,item,reset,rightpad2";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad5";
- }
- program {
- name: "extended_titlearea";
- signal: "elm,state,extend,title";
- source: "elm";
- action: STATE_SET "extended" 0.0;
- target: "navigationitem";
- target: "elm.text";
- target: "clip";
- target: "elm.rect.pad1";
- target: "elm.rect.pad4";
- transition: LINEAR 0.4;
- }
- program {
- name: "default_titlearea";
- signal: "elm,state,retract,title";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "navigationitem";
- target: "elm.text";
- target: "clip";
- target: "elm.rect.pad1";
- target: "elm.rect.pad4";
- target: "elm.swallow.btn1";
- }
- program {
- name: "function_btn3_set";
- signal: "elm,state,item,fn_btn3_set";
- source: "elm";
- action: STATE_SET "fn_btn3_set" 0.0;
- target: "elm.text";
- target: "elm.swallow.title";
- }
- program {
- name: "enable_rect";
- signal: "elm,state,rect,enabled";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "elm.rect.blocker";
- }
- program {
- name: "disable_rect";
- signal: "elm,state,rect,disabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.blocker";
- }
- } /* end of programs */
-} /* end of group "navigationbar" */
-
-
-group {
- name: "elm/navigationbar/base/title_transparent_ellipsize";
-
- images {
- image: "00_winset_title_bg.png" COMP;
- }
-
- parts {
- part {
- name: "navigationitem";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 NAVI_BAR_H;
- fixed: 0 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- align: 0.5 0.0;
- color: 255 255 255 216;
- image {
- normal: "00_winset_title_bg.png";
- }
- }
- description {
- state: "top" 0.0;
- inherit: "default" 0.0;
- min: 1 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- min: 1 NAVI_BAR_EXTENDED_HEIGHT;
- }
- }
- part {
- type: RECT;
- name: "clip";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 NAVI_BAR_H;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- }
- description {
- state: "top" 0.0;
- inherit: "default" 0.0;
- min: 1 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- min: 1 NAVI_BAR_EXTENDED_HEIGHT;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip"; }
- rel2 { relative: 0.0 1.0; to: "clip"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.0 0.4; to: "clip"; }
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad1"; }
- align: 0.0 0.5;
- }
- description {
- state: "push" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 10.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description {
- state: "pop" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -10.0 0.0;
- rel2.relative: 1.0 1.0;
- }
-
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip"; }
- rel2 { relative: 1.0 1.0; to: "clip"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 1.0 0.4; to: "clip"; }
- }
- }
- part {
- name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad4"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad4"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "visible" 0.0;
- min: 5 0;
- }
- }
- part {
- name: "elm.swallow.btn3";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad5";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn3"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn3"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn3"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn3"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- scale:1;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- max: 220 67;
- text {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- max: 1 0;
- align: 0.5 0.5;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to: "clip"; }
- rel2 { relative: 1.0 1.0; to: "clip"; }
- align: 0.5 0.5;
- }
- description {
- state: "push" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description {
- state: "pop" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "clip"; }
- rel2 { relative: 1.0 1.0; to: "clip"; }
- }
- description {
- state: "extended" 0.0;
- text {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to: "clip"; } //1.0 0.0
- rel2 { relative: 1.0 0.0; to_y: "elm.swallow.title";to_x: "clip"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.swallow.title";
- type: SWALLOW;
- scale:1;
- clip_to: "clip";
- description {
- fixed: 0 1;
- min: 0 ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 0.0 0.5;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "default" 0.0;
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad5"; }
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to: "navigationitem"; }
- rel2 { relative: 1.0 1.0; }
- }
- description {
- state: "top" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.rect.blocker";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- description {
- state: "enabled" 0.0;
- color: 0 0 0 0;
- visible: 1;
- }
- }
- } /* end of parts */
-
- programs {
- program {
- name: "moveup";
- signal: "elm,state,item,moveup";
- source: "elm";
- action: STATE_SET "top" 0.0;
- target: "navigationitem";
- target: "clip";
- target: "elm.swallow.content";
-// transition: LINEAR 0.4;
- }
- program {
- name: "movedown";
- signal: "elm,state,item,movedown";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "navigationitem";
- target: "clip";
- target: "elm.swallow.content";
-// transition: LINEAR 0.4;
- }
- #if 0
- program {
- name: "push";
- signal: "elm,action,push";
- source: "elm";
- action: STATE_SET "push" 0.0;
- target: "elm.text";
- target: "elm.swallow.btn1"; /*if uncommented, title object size becomes small */
- }
- program {
- name: "pop";
- signal: "elm,action,pop";
- source: "elm";
- action: STATE_SET "pop" 0.0;
- target: "elm.text";
- target: "elm.swallow.btn1";
- }
- #endif
- program {
- name: "add_leftpad";
- signal: "elm,state,item,add,leftpad";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad2";
- }
- program {
- name: "reset_leftpad";
- signal: "elm,state,item,reset,leftpad";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad2";
- }
- program {
- name: "add_rightpad";
- signal: "elm,state,item,add,rightpad";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad3";
- }
- program {
- name: "reset_rightpad";
- signal: "elm,state,item,reset,rightpad";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad3";
- }
- program {
- name: "add_rightpad2";
- signal: "elm,state,item,add,rightpad2";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad5";
- }
- program {
- name: "reset_rightpad2";
- signal: "elm,state,item,reset,rightpad2";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad5";
- }
- program {
- name: "extended_titlearea";
- signal: "elm,state,extend,title";
- source: "elm";
- action: STATE_SET "extended" 0.0;
- target: "navigationitem";
- target: "elm.text";
- target: "clip";
- target: "elm.rect.pad1";
- target: "elm.rect.pad4";
- transition: LINEAR 0.4;
- }
- program {
- name: "default_titlearea";
- signal: "elm,state,retract,title";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "navigationitem";
- target: "elm.text";
- target: "clip";
- target: "elm.rect.pad1";
- target: "elm.rect.pad4";
- target: "elm.swallow.btn1";
- }
- program {
- name: "function_btn3_set";
- signal: "elm,state,item,fn_btn3_set";
- source: "elm";
- action: STATE_SET "fn_btn3_set" 0.0;
- target: "elm.text";
- target: "elm.swallow.title";
- }
- program {
- name: "enable_rect";
- signal: "elm,state,rect,enabled";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "elm.rect.blocker";
- }
- program {
- name: "disable_rect";
- signal: "elm,state,rect,disabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.blocker";
- }
- } /* end of programs */
-}
-
-
-group {
- name: "elm/navigationbar/title/default";
-
- parts {
- part {
- name: "elm.swallow.title1";
- type: SWALLOW;
- scale: 1;
- description {
- fixed: 1 1;
- min: 0 ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 0.0 1.0; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.title1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.title1"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.title1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.title1"; }
- align: 0.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.title2";
- type: SWALLOW;
- scale: 1;
- description {
- fixed: 1 1;
- min: 0 ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad1"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.title2"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.title2"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.title2"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.title2"; }
- align: 0.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.title3";
- type: SWALLOW;
- scale: 1;
- description {
- fixed: 1 1;
- min: 0 ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad2"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.title3"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.title3"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.title3"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.title3"; }
- align: 0.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.title4";
- type: SWALLOW;
- scale: 1;
- description {
- fixed: 1 1;
- min: 0 ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad3"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.title4"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.title4"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.title4"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.title4"; }
- align: 0.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.title5";
- type: SWALLOW;
- scale: 1;
- description {
- fixed: 1 1;
- min: 0 ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad4"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad4"; }
- align: 0.0 0.5;
- }
- }
- } /* end of parts */
-
- programs {
- program {
- name: "seconditem";
- signal: "elm,state,item,add,2";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad1";
- }
- program {
- name: "thirditem";
- signal: "elm,state,item,add,3";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad2";
- }
- program {
- name: "fourthitem";
- signal: "elm,state,item,add,4";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad3";
- }
- program {
- name: "fifthitem";
- signal: "elm,state,item,add,5";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad4";
- }
- } /* end of programs */
-} /* end of group "navigationbar" */
-
-
-group {
- name: "elm/navigationbar/base/center_titleobj";
-
- images {
- image: "00_winset_title_bg.png" COMP;
- }
-
- parts {
- part {
- name: "navigationitem";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 NAVI_BAR_H;
- fixed: 0 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- align: 0.5 0.0;
- image {
- normal: "00_winset_title_bg.png";
- }
- }
- description {
- state: "top" 0.0;
- inherit: "default" 0.0;
- min: 1 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- min: 1 NAVI_BAR_EXTENDED_HEIGHT;
- }
- }
- part {
- type: RECT;
- name: "clip";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 NAVI_BAR_H;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- }
- description {
- state: "top" 0.0;
- inherit: "default" 0.0;
- min: 1 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- min: 1 NAVI_BAR_EXTENDED_HEIGHT;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip"; }
- rel2 { relative: 0.0 1.0; to: "clip"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.0 0.4; to: "clip"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "left_padding";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 110 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip"; }
- rel2 { relative: 0.0 1.0; to: "clip"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad1"; }
- align: 0.0 0.5;
- }
- description {
- state: "push" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 10.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description {
- state: "pop" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -10.0 0.0;
- rel2.relative: 1.0 1.0;
- }
-
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip"; }
- rel2 { relative: 1.0 1.0; to: "clip"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 1.0 0.4; to: "clip"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "right_padding";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 110 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip"; }
- rel2 { relative: 1.0 1.0; to: "clip"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad4"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad4"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "visible" 0.0;
- min: 5 0;
- }
- }
- part {
- name: "elm.swallow.btn3";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad5";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn3"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn3"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn3"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn3"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- scale:1;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- max: 220 67;
- text {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- max: 1 0;
- align: 0.5 0.5;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to: "clip"; }
- rel2 { relative: 1.0 1.0; to: "clip"; }
- align: 0.5 0.5;
- }
- description {
- state: "push" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description {
- state: "pop" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad5"; }
- }
- description {
- state: "extended" 0.0;
- text {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to: "clip"; } //1.0 0.0
- rel2 { relative: 1.0 0.0; to_y: "elm.swallow.title";to_x: "clip"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.swallow.title";
- type: SWALLOW;
- scale:1;
- clip_to: "clip";
- description {
- fixed: 0 1;
- min: 0 ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "left_padding"; }
- rel2 { relative: 0.0 1.0; to: "right_padding"; }
- align: 0.5 0.5;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad5"; }
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 1.0 0.4; to: "left_padding"; }
- rel2 { relative: 0.0 1.0; to: "right_padding"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to: "navigationitem"; }
- rel2 { relative: 1.0 1.0; }
- }
- description {
- state: "top" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.rect.blocker";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- description {
- state: "enabled" 0.0;
- color: 0 0 0 0;
- visible: 1;
- }
- }
- } /* end of parts */
-
- programs {
- program {
- name: "moveup";
- signal: "elm,state,item,moveup";
- source: "elm";
- action: STATE_SET "top" 0.0;
- target: "navigationitem";
- target: "clip";
- target: "elm.swallow.content";
-// transition: LINEAR 0.4;
- }
- program {
- name: "movedown";
- signal: "elm,state,item,movedown";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "navigationitem";
- target: "clip";
- target: "elm.swallow.content";
-// transition: LINEAR 0.4;
- }
- #if 0
- program {
- name: "push";
- signal: "elm,action,push";
- source: "elm";
- action: STATE_SET "push" 0.0;
- target: "elm.text";
- target: "elm.swallow.btn1"; /*if uncommented, title object size becomes small */
- }
- program {
- name: "pop";
- signal: "elm,action,pop";
- source: "elm";
- action: STATE_SET "pop" 0.0;
- target: "elm.text";
- target: "elm.swallow.btn1";
- }
- #endif
- program {
- name: "add_leftpad";
- signal: "elm,state,item,add,leftpad";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad2";
- }
- program {
- name: "reset_leftpad";
- signal: "elm,state,item,reset,leftpad";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad2";
- }
- program {
- name: "add_rightpad";
- signal: "elm,state,item,add,rightpad";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad3";
- }
- program {
- name: "reset_rightpad";
- signal: "elm,state,item,reset,rightpad";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad3";
- }
- program {
- name: "add_rightpad2";
- signal: "elm,state,item,add,rightpad2";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad5";
- }
- program {
- name: "reset_rightpad2";
- signal: "elm,state,item,reset,rightpad2";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad5";
- }
- program {
- name: "extended_titlearea";
- signal: "elm,state,extend,title";
- source: "elm";
- action: STATE_SET "extended" 0.0;
- target: "navigationitem";
- target: "elm.text";
- target: "clip";
- target: "elm.rect.pad1";
- target: "elm.rect.pad4";
- target: "elm.swallow.title";
- transition: LINEAR 0.4;
- }
- program {
- name: "default_titlearea";
- signal: "elm,state,retract,title";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "navigationitem";
- target: "elm.text";
- target: "clip";
- target: "elm.rect.pad1";
- target: "elm.rect.pad4";
- target: "elm.swallow.btn1";
- target: "elm.swallow.title";
- }
- program {
- name: "function_btn3_set";
- signal: "elm,state,item,fn_btn3_set";
- source: "elm";
- action: STATE_SET "fn_btn3_set" 0.0;
- target: "elm.text";
- target: "elm.swallow.title";
- }
- program {
- name: "enable_rect";
- signal: "elm,state,rect,enabled";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "elm.rect.blocker";
- }
- program {
- name: "disable_rect";
- signal: "elm,state,rect,disabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.blocker";
- }
- } /* end of programs */
-} /* end of group "navigationbar" */
-
-group {
- name: "elm/navigationbar/base/extended_fnbtn_top_style";
-
- images {
- image: "00_winset_title_bg.png" COMP;
- }
-
- parts {
- part {
- name: "navigationitem";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 NAVI_BAR_H;
- fixed: 0 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- align: 0.5 0.0;
- image {
- normal: "00_winset_title_bg.png";
- }
- }
- description {
- state: "top" 0.0;
- inherit: "default" 0.0;
- min: 1 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- min: 1 NAVI_BAR_EXTENDED_FNBTN_TOP_HEIGHT;
- }
- }
- part {
- type: RECT;
- name: "clip";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 NAVI_BAR_H;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- }
- description {
- state: "top" 0.0;
- inherit: "default" 0.0;
- min: 1 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- min: 1 NAVI_BAR_EXTENDED_FNBTN_TOP_HEIGHT;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip"; }
- rel2 { relative: 0.0 1.0; to: "clip"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad1"; }
- align: 0.0 0.5;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- rel2 { relative: 1.0 0.5; to: "elm.rect.pad1"; }
- }
- }
-
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 0;
- min: PADDING 0;
- align: 0.0 0.5;
- visible: 0;
- color: 0 0 0 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip"; }
- rel2 { relative: 1.0 1.0; to: "clip"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad4"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad4"; }
- align: 1.0 0.5;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- rel2 { relative: 0.0 0.5; to: "elm.rect.pad4"; }
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 0;
- min: PADDING 0;
- visible: 0;
- align: 1.0 0.5;
- color: 0 0 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.btn3";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 1.0 0.0;
- }
- }
- part {
- name: "elm.rect.pad5";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- fixed: 1 0;
- min: PADDING 0;
- align: 1.0 0.5;
- color: 0 0 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn3"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn3"; }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- scale:1;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- max: 220 67;
- text {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- max: 1 0;
- align: 0.5 0.5;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- rel1 { relative: 0.0 0.0; to: "clip"; } //1.0 0.0
- rel2 { relative: 1.0 1.0; to: "clip"; }
- align: 0.5 0.5;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad5"; }
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "clip"; } //1.0 0.0
- rel2 { relative: 1.0 0.0; to_y: "elm.swallow.title";to_x: "clip"; }
- }
- }
- part {
- name: "elm.swallow.title";
- type: SWALLOW;
- scale:1;
- clip_to: "clip";
- description {
- color: 0 0 0 255;
- visible: 1;
- min: 0 ITEM_HEIGHT;
- fixed: 1 1;
- state: "default" 0.0;
- // rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; } //1.0 0.0
- // rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- rel1 { relative: 1.0 0.5; to: "elm.rect.pad1"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad4"; }
- align: 0.0 0.5;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible:1;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "default" 0.0;
- visible:1;
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad5"; }
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- visible:1;
- rel1 { relative: 1.0 0.5; to: "elm.rect.pad1"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad4"; }
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to: "navigationitem"; }
- rel2 { relative: 1.0 1.0; }
- }
- description {
- state: "top" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.rect.blocker";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- description {
- state: "enabled" 0.0;
- color: 0 0 0 0;
- visible: 1;
- }
- }
- } /* end of parts */
-
- programs {
- program {
- name: "moveup";
- signal: "elm,state,item,moveup";
- source: "elm";
- action: STATE_SET "top" 0.0;
- target: "navigationitem";
- target: "clip";
- target: "elm.swallow.content";
- //transition: LINEAR 0.4;
- }
- program {
- name: "movedown";
- signal: "elm,state,item,movedown";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "navigationitem";
- target: "clip";
- target: "elm.swallow.content";
- //transition: LINEAR 0.4;
- }
- program {
- name: "add_leftpad";
- signal: "elm,state,item,add,leftpad";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad2";
- }
- program {
- name: "reset_leftpad";
- signal: "elm,state,item,reset,leftpad";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad2";
- }
- program {
- name: "add_rightpad";
- signal: "elm,state,item,add,rightpad";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad3";
- }
- program {
- name: "reset_rightpad";
- signal: "elm,state,item,reset,rightpad";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad3";
- }
- program {
- name: "add_rightpad2";
- signal: "elm,state,item,add,rightpad2";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad5";
- }
- program {
- name: "reset_rightpad2";
- signal: "elm,state,item,reset,rightpad2";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad5";
- }
- program {
- name: "extended_titlearea";
- signal: "elm,state,extend,title";
- source: "elm";
- action: STATE_SET "extended" 0.0;
- target: "navigationitem";
- target: "clip";
- target: "elm.swallow.title";
- target: "elm.text";
- target: "elm.swallow.btn1";
- target: "elm.swallow.btn2";
- transition: LINEAR 0.4;
- }
- program {
- name: "default_titlearea";
- signal: "elm,state,retract,title";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "navigationitem";
- target: "clip";
- target: "elm.swallow.title";
- target: "elm.text";
- target: "elm.swallow.btn1";
- target: "elm.swallow.btn2";
- }
- program {
- name: "function_btn3_set";
- signal: "elm,state,item,fn_btn3_set";
- source: "elm";
- action: STATE_SET "fn_btn3_set" 0.0;
- target: "elm.swallow.title";
- target: "elm.text";
- }
- program {
- name: "title_visible";
- signal: "elm,state,title,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.title";
- }
- program {
- name: "enable_rect";
- signal: "elm,state,rect,enabled";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "elm.rect.blocker";
- }
- program {
- name: "disable_rect";
- signal: "elm,state,rect,disabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.blocker";
- }
- } /* end of programs */
-} /* end of group "navigationbar" */
-
-group {
- name: "elm/navigationbar/base/multiline_title_subtitle";
-
- images {
- image: "00_winset_title_bg.png" COMP;
- }
- styles{
- style { name: "title_multiline_style";
- base: "font=SLP:style=Medium font_size=24 align=center color="NAVIGATIONBAR_TITLE_TEXT_COLOR_HEX" wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- style { name: "subtitle_multiline_style";
- base: "font=SLP:style=Medium font_size=16 align=center color="NAVIGATIONBAR_TITLE_TEXT_COLOR_HEX" wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- }
- parts {
- part {
- name: "navigationitem";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 NAVI_BAR_H;
- fixed: 0 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- align: 0.5 0.0;
- image {
- normal: "00_winset_title_bg.png";
- }
- }
- description {
- state: "top" 0.0;
- inherit: "default" 0.0;
- min: 1 0;
- }
- }
- part {
- type: RECT;
- name: "clip";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 NAVI_BAR_H;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- }
- description {
- state: "top" 0.0;
- inherit: "default" 0.0;
- min: 1 0;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip"; }
- rel2 { relative: 0.0 1.0; to: "clip"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad1"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip"; }
- rel2 { relative: 1.0 1.0; to: "clip"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad4"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad4"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "visible" 0.0;
- min: 5 0;
- }
- }
- part {
- name: "elm.swallow.btn3";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad5";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn3"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn3"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn3"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn3"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.text";
- type: TEXTBLOCK;
- scale:1;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- text {
- style: "title_multiline_style";
- min: 0 0;
- max: 0 1;
- }
- rel1 { relative: 0.0 0.0; to: "clip"; } //1.0 0.0
- rel2 { relative: 1.0 1.0; to: "clip"; }
- align: 0.5 0.0;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 0.0 0.5; to: "elm.rect.pad5"; }
- }
- }
- part {
- name: "elm.text.sub";
- type: TEXTBLOCK;
- scale:1;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- //max: 240 67;
- text {
- style: "subtitle_multiline_style";
- min: 0 0;
- max: 0 1;
- }
- rel1 { relative: 1.0 0.5; to: "elm.rect.pad2"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 0.5 0.5;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "default" 0.0;
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad5";}
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to: "navigationitem"; }
- rel2 { relative: 1.0 1.0; }
- }
- description {
- state: "top" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.rect.blocker";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- description {
- state: "enabled" 0.0;
- color: 0 0 0 0;
- visible: 1;
- }
- }
- } /* end of parts */
-
- programs {
- program {
- name: "moveup";
- signal: "elm,state,item,moveup";
- source: "elm";
- action: STATE_SET "top" 0.0;
- target: "navigationitem";
- target: "clip";
- target: "elm.swallow.content";
- //transition: LINEAR 0.4;
- }
- program {
- name: "movedown";
- signal: "elm,state,item,movedown";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "navigationitem";
- target: "clip";
- target: "elm.swallow.content";
- //transition: LINEAR 0.4;
- }
- program {
- name: "add_leftpad";
- signal: "elm,state,item,add,leftpad";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad2";
- }
- program {
- name: "reset_leftpad";
- signal: "elm,state,item,reset,leftpad";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad2";
- }
- program {
- name: "add_rightpad";
- signal: "elm,state,item,add,rightpad";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad3";
- }
- program {
- name: "reset_rightpad";
- signal: "elm,state,item,reset,rightpad";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad3";
- }
- program {
- name: "add_rightpad2";
- signal: "elm,state,item,add,rightpad2";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad5";
- }
- program {
- name: "reset_rightpad2";
- signal: "elm,state,item,reset,rightpad2";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad5";
- }
- program {
- name: "function_btn3_set";
- signal: "elm,state,item,fn_btn3_set";
- source: "elm";
- action: STATE_SET "fn_btn3_set" 0.0;
- target: "elm.text";
- target: "elm.text.sub";
- }
- program {
- name: "enable_rect";
- signal: "elm,state,rect,enabled";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "elm.rect.blocker";
- }
- program {
- name: "disable_rect";
- signal: "elm,state,rect,disabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.blocker";
- }
- } /* end of programs */
-} /* end of group "navigationbar" */
-
-///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/pager/base/navigationbar";
- parts {
- part {
- name: "clip";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- to: "base";
- offset: -9999 -9999;
- }
- rel2 {
- to: "base";
- offset: 9999 9999;
- }
- color: 255 255 255 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- }
- description {
- state: "hidden" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- visible: 0;
- }
- description {
- state: "hidden2" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- visible: 0;
- }
- }
- part {
- name: "base";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "hidden" 0.0;
- color: 0 0 0 0;
- rel1.relative: -1.0 0.0;
- rel2.relative: 0.0 1.0;
- }
- description {
- state: "hidden2" 0.0;
- color: 0 0 0 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 2.0 1.0;
- }
- description {
- state: "visible" 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;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- }
- }
- }
- programs {
- program {
- name: "push_start";
- signal: "elm,action,push";
- source: "elm";
- action: STATE_SET "hidden2" 0.0;
- target: "base";
- target: "clip";
- after: "show_start2";
- }
- program {
- name: "show_start";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "base";
- target: "clip";
- after: "show_start2";
- }
- program {
- name: "show_start2";
- action: STATE_SET "visible" 0.0;
- transition: DECELERATE 0.5;
- target: "base";
- target: "clip";
- after: "show_end";
- }
- program {
- name: "show_end";
- action: SIGNAL_EMIT "elm,action,show,finished" "";
- }
- program {
- name: "pop_start";
- signal: "elm,action,pop";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- target: "clip";
- after: "pop_start2";
- }
- program {
- name: "pop_start2";
- action: STATE_SET "hidden2" 0.0;
- transition: DECELERATE 0.5;
- target: "base";
- target: "clip";
- after: "hide_end";
- }
- program {
- name: "hide_start";
- signal: "elm,action,hide";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- target: "clip";
- after: "hide_start2";
- }
- program {
- name: "hide_start2";
- action: STATE_SET "hidden" 0.0;
- transition: DECELERATE 0.5;
- target: "base";
- target: "clip";
- after: "hide_end";
- }
- program {
- name: "hide_end";
- action: SIGNAL_EMIT "elm,action,hide,finished" "";
- }
- program {
- name: "reset";
- signal: "elm,action,reset";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "base";
- target: "clip";
- }
- program {
- name: "show_firstpage"; /*avoid effect in first page*/
- signal: "elm,action,show,noanimate";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- target: "clip";
- after: "show_end";
- }
- program {
- name: "hide_firstpage"; /*avoid effect in first page*/
- signal: "elm,action,hide,noanimate";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "base";
- target: "clip";
- after: "hide_end";
- }
- }
- }
-
-group {
- name: "elm/navigationbar/base/title_ellipsize";
-
- images {
- image: "00_winset_title_bg.png" COMP;
- }
-
- parts {
- part {
- name: "navigationitem";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 NAVI_BAR_H;
- fixed: 0 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- align: 0.5 0.0;
- image {
- normal: "00_winset_title_bg.png";
- }
- }
- description {
- state: "top" 0.0;
- inherit: "default" 0.0;
- min: 1 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- min: 1 NAVI_BAR_EXTENDED_HEIGHT;
- }
- }
- part {
- type: RECT;
- name: "clip";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 NAVI_BAR_H;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- }
- description {
- state: "top" 0.0;
- inherit: "default" 0.0;
- min: 1 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- min: 1 NAVI_BAR_EXTENDED_HEIGHT;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip"; }
- rel2 { relative: 0.0 1.0; to: "clip"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.0 0.4; to: "clip"; }
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad1"; }
- align: 0.0 0.5;
- }
- description {
- state: "push" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 10.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description {
- state: "pop" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -10.0 0.0;
- rel2.relative: 1.0 1.0;
- }
-
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip"; }
- rel2 { relative: 1.0 1.0; to: "clip"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 1.0 0.4; to: "clip"; }
- }
- }
- part {
- name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad4"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad4"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "visible" 0.0;
- min: 5 0;
- }
- }
- part {
- name: "elm.swallow.btn3";
- type: SWALLOW;
- clip_to: "clip";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad5";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn3"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn3"; }
- }
- description {
- state: "visible" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn3"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn3"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- scale:1;
- clip_to: "clip";
- description {
- state: "default" 0.0;
- max: 220 67;
- text {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- max: 1 0;
- align: 0.5 0.5;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to: "clip"; }
- rel2 { relative: 1.0 1.0; to: "clip"; }
- align: 0.5 0.5;
- }
- description {
- state: "push" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description {
- state: "pop" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad5"; }
- }
- description {
- state: "extended" 0.0;
- text {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- max: 1 0;
- align: 0.5 0.5;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to: "clip"; } //1.0 0.0
- rel2 { relative: 1.0 0.0; to_y: "elm.swallow.title";to_x: "clip"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.swallow.title";
- type: SWALLOW;
- scale:1;
- clip_to: "clip";
- description {
- fixed: 0 1;
- min: 0 ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 0.0 0.5;
- }
- description {
- state: "fn_btn3_set" 0.0;
- inherit: "default" 0.0;
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad5"; }
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to: "navigationitem"; }
- rel2 { relative: 1.0 1.0; }
- }
- description {
- state: "top" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.rect.blocker";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 0;
- }
- description {
- state: "enabled" 0.0;
- color: 0 0 0 0;
- visible: 1;
- }
- }
- } /* end of parts */
-
- programs {
- program {
- name: "moveup";
- signal: "elm,state,item,moveup";
- source: "elm";
- action: STATE_SET "top" 0.0;
- target: "navigationitem";
- target: "clip";
- target: "elm.swallow.content";
-// transition: LINEAR 0.4;
- }
- program {
- name: "movedown";
- signal: "elm,state,item,movedown";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "navigationitem";
- target: "clip";
- target: "elm.swallow.content";
-// transition: LINEAR 0.4;
- }
- #if 0
- program {
- name: "push";
- signal: "elm,action,push";
- source: "elm";
- action: STATE_SET "push" 0.0;
- target: "elm.text";
- target: "elm.swallow.btn1"; /*if uncommented, title object size becomes small */
- }
- program {
- name: "pop";
- signal: "elm,action,pop";
- source: "elm";
- action: STATE_SET "pop" 0.0;
- target: "elm.text";
- target: "elm.swallow.btn1";
- }
- #endif
- program {
- name: "add_leftpad";
- signal: "elm,state,item,add,leftpad";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad2";
- }
- program {
- name: "reset_leftpad";
- signal: "elm,state,item,reset,leftpad";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad2";
- }
- program {
- name: "add_rightpad";
- signal: "elm,state,item,add,rightpad";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad3";
- }
- program {
- name: "reset_rightpad";
- signal: "elm,state,item,reset,rightpad";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad3";
- }
- program {
- name: "add_rightpad2";
- signal: "elm,state,item,add,rightpad2";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad5";
- }
- program {
- name: "reset_rightpad2";
- signal: "elm,state,item,reset,rightpad2";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.pad5";
- }
- program {
- name: "extended_titlearea";
- signal: "elm,state,extend,title";
- source: "elm";
- action: STATE_SET "extended" 0.0;
- target: "navigationitem";
- target: "elm.text";
- target: "clip";
- target: "elm.rect.pad1";
- target: "elm.rect.pad4";
- transition: LINEAR 0.4;
- }
- program {
- name: "default_titlearea";
- signal: "elm,state,retract,title";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "navigationitem";
- target: "elm.text";
- target: "clip";
- target: "elm.rect.pad1";
- target: "elm.rect.pad4";
- target: "elm.swallow.btn1";
- }
- program {
- name: "function_btn3_set";
- signal: "elm,state,item,fn_btn3_set";
- source: "elm";
- action: STATE_SET "fn_btn3_set" 0.0;
- target: "elm.text";
- target: "elm.swallow.title";
- }
- program {
- name: "enable_rect";
- signal: "elm,state,rect,enabled";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "elm.rect.blocker";
- }
- program {
- name: "disable_rect";
- signal: "elm,state,rect,disabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.blocker";
- }
- } /* end of programs */
-} /* end of group "navigationbar" */
-
+++ /dev/null
-#define PADDING 5
-#define ITEM_HEIGHT 50
-#define ITEM_WIDTH 0
-#define MAX_ITEM_WIDTH 112
-#define NAVI_BAR_EXTENDED_HEIGHT 93
-#define NAVI_BAR_EXTENDED_FNBTN_TOP_HEIGHT 110
-
-///////////////////////////////////////////////////////////////////////////////
-group { name: "elm/navigationbar_ex/base/default";
- images {
- image: "00_winset_title_bg.png" COMP;
- }
- parts{
- part {
- name: "navigationitem";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 NAVI_BAR_H;
- fixed: 0 1;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- align: 0.0 0.0;
- image {
- normal: "00_winset_title_bg.png";
- }
- }
- description {
- state: "top" 0.0;
- inherit: "default" 0.0;
- min: 1 0;
- }
- description {
- state: "extended" 0.0;
- inherit: "default" 0.0;
- min: 1 NAVI_BAR_EXTENDED_FNBTN_TOP_HEIGHT;
- }
- }
- part {
- name: "elm.swallow.title";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.to: "navigationitem";
- rel2.to: "navigationitem";
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to: "elm.swallow.title"; }
- rel2 { relative: 1.0 1.0; }
- }
- description {
- state: "top" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- }
- programs {
- program {
- name: "moveup";
- signal: "elm,state,item,moveup";
- source: "elm";
- action: STATE_SET "top" 0.0;
- target: "navigationitem";
- target: "elm.swallow.content";
- }
- program {
- name: "movedown";
- signal: "elm,state,item,movedown";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "navigationitem";
- target: "elm.swallow.content";
- }
- program {
- name: "extended_titlearea";
- signal: "elm,state,extend,title";
- source: "elm";
- action: STATE_SET "extended" 0.0;
- target: "navigationitem";
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/content/default";
- parts {
- part { name: "clip";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1 {
- to: "base";
- offset: -9999 -9999;
- }
- rel2 {
- to: "base";
- offset: 9999 9999;
- }
- color: 255 255 255 255;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "hidden" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- visible: 0;
- }
- description { state: "hidden2" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- visible: 0;
- }
- }
- part { name: "base";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip";
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- description { state: "hidden" 0.0;
- color: 0 0 0 0;
- rel1.relative: -1.0 0.0;
- rel2.relative: 0.0 1.0;
- }
- description { state: "hidden2" 0.0;
- color: 0 0 0 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 2.0 1.0;
- }
- description { state: "visible" 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;
- clip_to: "clip";
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- }
- }
- }
- programs {
- program { name: "push_start";
- signal: "elm,action,push";
- source: "elm";
- action: STATE_SET "hidden2" 0.0;
- target: "base";
- target: "clip";
- after: "show_start2";
- }
- program { name: "show_start";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "base";
- target: "clip";
- after: "show_start2";
- }
- program { name: "show_start2";
- action: STATE_SET "visible" 0.0;
- transition: DECELERATE 0.5;
- target: "base";
- target: "clip";
- after: "show_end";
- }
- program { name: "show_end";
- action: SIGNAL_EMIT "elm,action,show,finished" "";
- }
- program { name: "pop_start";
- signal: "elm,action,pop";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- target: "clip";
- after: "pop_start2";
- }
- program { name: "pop_start2";
- action: STATE_SET "hidden2" 0.0;
- transition: DECELERATE 0.5;
- target: "base";
- target: "clip";
- after: "hide_end";
- }
- program { name: "hide_start";
- signal: "elm,action,hide";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- target: "clip";
- after: "hide_start2";
- }
- program { name: "hide_start2";
- action: STATE_SET "hidden" 0.0;
- transition: DECELERATE 0.5;
- target: "base";
- target: "clip";
- after: "hide_end";
- }
- program { name: "hide_end";
- action: SIGNAL_EMIT "elm,action,hide,finished" "";
- }
- program { name: "reset";
- signal: "elm,action,reset";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "base";
- target: "clip";
- }
- program { name: "show_firstpage"; /*avoid effect in first page*/
- signal: "elm,action,show,noanimate";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- target: "clip";
- after: "show_end";
- }
- program { name: "hide_firstpage"; /*avoid effect in first page*/
- signal: "elm,action,hide,noanimate";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "base";
- target: "clip";
- after: "hide_end";
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_1fn/default";
- images {
- image: "00_winset_title_bg.png" COMP;
- }
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.rect.pada";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "visible" 0.0;
- min: 50 50;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.padb";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- clip_to: "clip_title";
- scale:1;
- description {
- state: "default" 0.0;
- text
- {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pada"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.padb"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: 50 50;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to_x: "padding_before_text";to_y: "clip_title"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to_x: "padding_before_text";to_y: "clip_title"; }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- align: 1.0 0.5;
- }
- }
- 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 0.0; to_x: "elm.text"; to_y: "clip_title"; }
- rel2 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "clip_title";}
- fixed: 1 0;
- min: 10 0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad1"; }
- align: 1.0 0.5;
- }
- }
- }
- programs {
- program {
- name: "show_icon";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pada";
- }
- }
-}
-
-
-group { name: "elm/navigationbar_ex/item/topbar_2fns/default";
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.rect.pada";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "visible" 0.0;
- min: 50 50;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.padb";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- clip_to: "clip_title";
- scale:1;
- description {
- state: "default" 0.0;
- max: 240 67;
- text
- {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pada"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.padb"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: 50 50;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to_x: "padding_before_text";to_y: "clip_title"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to_x: "padding_before_text";to_y: "clip_title"; }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- align: 1.0 0.5;
- }
- }
- 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 0.0; to_x: "elm.text"; to_y: "clip_title"; }
- rel2 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "clip_title";}
- fixed: 1 0;
- min: 10 0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad2"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad1"; }
- align: 0.0 0.5;
- }
- }
- }
- programs {
- program {
- name: "show_icon";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pada";
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_obj_2fns/default";
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.rect.pada";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.padb";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.title";
- type: SWALLOW;
- clip_to: "clip_title";
- scale:1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 0 ITEM_HEIGHT;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pada"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.padb"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad2"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad1"; }
- align: 0.0 0.5;
- }
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_3fns/default";
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- clip_to: "clip_title";
- scale:1;
- description {
- state: "default" 0.0;
- text
- {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad5"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad4"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: 50 50;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to_x: "padding_before_text";to_y: "clip_title"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to_x: "padding_before_text";to_y: "clip_title"; }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- align: 1.0 0.5;
- }
- }
- 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 0.0; to_x: "elm.text"; to_y: "clip_title"; }
- rel2 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "clip_title";}
- fixed: 1 0;
- min: 10 0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn3";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn3"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn3"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad2"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad1"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad5";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- align: 0.0 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "visible" 0.0;
- min: 50 50;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- align: 0.0 0.0;
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "show_icon";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad5";
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_obj_3fns/default";
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.swallow.title";
- type: SWALLOW;
- clip_to: "clip_title";
- scale:1;
- description {
- state: "default" 0.0;
- fixed: 0 1;
- min: 0 ITEM_HEIGHT;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad5"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad4"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn3";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn3"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn3"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad2"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad1"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad5";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.btn1"; }
- align: 0.0 0.0;
- color: 0 0 0 0;
- }
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_right_2fns/default";
-parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- clip_to: "clip_title";
- scale:1;
- description {
- state: "default" 0.0;
- text
- {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad4"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING NAVI_BAR_H;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad2"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING NAVI_BAR_H;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad1"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING NAVI_BAR_H;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn1"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "visible" 0.0;
- min: 50 NAVI_BAR_H;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: 50 50;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to_x: "padding_before_text";to_y: "clip_title"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to_x: "padding_before_text";to_y: "clip_title"; }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- align: 1.0 0.5;
- }
- }
- 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 0.0; to_x: "elm.text"; to_y: "clip_title"; }
- rel2 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "clip_title";}
- fixed: 1 0;
- min: 10 0;
- color: 0 0 0 0;
- }
- }
-}
- programs {
- program {
- name: "show_icon";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad4";
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_seg_full/default";
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.swallow.title";
- type: SWALLOW;
- scale:1;
- clip_to: "clip_title";
- description {
- fixed: 1 1;
- min: 0 ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad2"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_search/default";
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.swallow.title";
- type: SWALLOW;
- scale:1;
- clip_to: "clip_title";
- description {
- fixed: 1 1;
- min: 0 ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad2"; }
- align: 0.0 0.0;
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING NAVI_BAR_H;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- clip_to: "clip_title";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING NAVI_BAR_H;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn1"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING NAVI_BAR_H;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- }
-}
-
-
-group { name: "elm/navigationbar_ex/item/topbar_icon_text/default";
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "visible" 0.0;
- min: 50 50;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 50;
- fixed: 1 1;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- clip_to: "clip_title";
- scale:1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- text
- {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad2"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: 50 50;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to_x: "padding_before_text";to_y: "clip_title"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to_x: "padding_before_text";to_y: "clip_title"; }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- align: 1.0 0.5;
- }
- }
- 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 0.0; to_x: "elm.text"; to_y: "clip_title"; }
- rel2 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "clip_title";}
- fixed: 1 0;
- min: 10 0;
- color: 0 0 0 0;
- }
- }
- }
- programs
- {
- program {
- name: "show_icon";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad1";
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_back_1fn/default";
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.rect.pada";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "visible" 0.0;
- min: 50 50;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.padb";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 50;
- fixed: 1 1;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- clip_to: "clip_title";
- scale:1;
- description {
- state: "default" 0.0;
- max: 240 67;
- text
- {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pada"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.padb"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: 50 50;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to_x: "padding_before_text";to_y: "clip_title"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to_x: "padding_before_text";to_y: "clip_title"; }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- align: 1.0 0.5;
- }
- }
- 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 0.0; to_x: "elm.text"; to_y: "clip_title"; }
- rel2 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "clip_title";}
- fixed: 1 0;
- min: 10 0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad1"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- clip_to: "clip_title";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.back";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad2"; }
- align: 0.0 0.5;
- }
- }
- }
- programs
- {
- program {
- name: "show_icon";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pada";
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_back_2fns/default";
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- clip_to: "clip_title";
- scale:1;
- description {
- state: "default" 0.0;
- text
- {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad5"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad4"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: 50 50;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to_x: "padding_before_text";to_y: "clip_title"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to_x: "padding_before_text";to_y: "clip_title"; }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- align: 1.0 0.5;
- }
- }
- 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 0.0; to_x: "elm.text"; to_y: "clip_title"; }
- rel2 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "clip_title";}
- fixed: 1 0;
- min: 10 0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad1"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn1"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.back";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad2"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad5";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.back"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.back"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "visible" 0.0;
- min: 50 50;
- fixed: 1 1;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.back"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.back"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- }
- programs
- {
- program {
- name: "show_icon";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad5";
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_back_obj_2fns/default";
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.swallow.title";
- type: SWALLOW;
- clip_to: "clip_title";
- scale:1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 0 ITEM_HEIGHT;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad5"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad4"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad1"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn1"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.back";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad2"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad5";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.back"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.back"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_back_3fns/default";
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- clip_to: "clip_title";
- scale:1;
- description {
- state: "default" 0.0;
- text
- {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad6"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad5"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: 50 50;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to_x: "padding_before_text";to_y: "clip_title"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to_x: "padding_before_text";to_y: "clip_title"; }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- align: 1.0 0.5;
- }
- }
- 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 0.0; to_x: "elm.text"; to_y: "clip_title"; }
- rel2 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "clip_title";}
- fixed: 1 0;
- min: 10 0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn3";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad1"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn3"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn3"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn2"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn2"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad4"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad4"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad5";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn1"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.back";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad2"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad6";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.back"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.back"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description {
- state: "visible" 0.0;
- min: 50 50;
- fixed: 1 1;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.back"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.back"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- }
- programs
- {
- program {
- name: "show_icon";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.pad6";
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_back_1fn_2lines_facebook/default";
- alias: "elm/navigationbar_ex/item/topbar_back_1fn_2lines_big/default";
- styles{
- style { name: "title_big_style";
- base: "font=SLP:style=Medium font_size=28 align=center color="NAVIGATIONBAR_TITLE_TEXT_COLOR_HEX" wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- style { name: "subtitle_big_style";
- base: "font=SLP:style=Medium font_size=22 align=center color="NAVIGATIONBAR_TITLE_TEXT_COLOR_HEX" wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- }
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.text";
- type: TEXTBLOCK;
- effect: SHADOW;
- clip_to: "clip_title";
- scale:1;
- description {
- state: "default" 0.0;
- text
- {
- style: "title_big_style";
- min: 0 0;
- max: 0 1;
- }
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to_x: "elm.rect.pad4"; to_y: "clip_title"; } //1.0 0.0
- rel2 { relative: 1.0 1.0; to_x: "elm.rect.pad2"; to_y: "clip_title"; }
- align: 0.5 0.0;
- }
- }
- part {
- name: "elm.text.sub";
- type: TEXTBLOCK;
- scale:1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- text
- {
- style: "subtitle_big_style";
- min: 0 0;
- max: 0 1;
- }
- rel1 { relative: 0.0 1.0; to_x: "elm.rect.pad4"; to_y:"elm.text"; } //1.0 0.0
- rel2 { relative: 1.0 1.0; to_x: "elm.rect.pad2"; to_y: "clip_title";}
- align: 0.5 0.0;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad1"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- align: 1.0 0.5;
- color: 0 0 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn1"; }
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.back";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad3"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- align: 0.0 0.5;
- color: 0 0 0 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.back"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.back"; }
- }
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_back_1fn_2lines_ebook/default";
- alias: "elm/navigationbar_ex/item/topbar_back_1fn_2lines_small/default";
- styles{
- style { name: "title_small_style";
- base: "font=SLP:style=Medium font_size=24 align=center color="NAVIGATIONBAR_TITLE_TEXT_COLOR_HEX" wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- style { name: "subtitle_small_style";
- base: "font=SLP:style=Medium font_size=16 align=center color="NAVIGATIONBAR_TITLE_TEXT_COLOR_HEX" wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- }
-
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.text";
- type: TEXTBLOCK;
- effect: SHADOW;
- clip_to: "clip_title";
- scale:1;
- description {
- state: "default" 0.0;
- text
- {
- style: "title_small_style";
- min: 0 0;
- max: 0 1;
- }
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to_x: "elm.rect.pad4"; to_y: "clip_title"; } //1.0 0.0
- rel2 { relative: 1.0 1.0; to_x: "elm.rect.pad2"; to_y: "clip_title"; }
- align: 0.5 0.2;
- }
- }
- part {
- name: "elm.text.sub";
- type: TEXTBLOCK;
- scale:1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- text
- {
- style: "subtitle_small_style";
- min: 0 0;
- max: 0 1;
- }
- rel1 { relative: 0.0 1.0; to_x: "elm.rect.pad4"; to_y:"elm.text"; } //1.0 0.0
- rel2 { relative: 1.0 1.0; to_x: "elm.rect.pad2"; to_y: "clip_title";}
- align: 0.5 0.4;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad1"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- align: 1.0 0.5;
- color: 0 0 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn1"; }
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.back";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad3"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- align: 0.0 0.5;
- color: 0 0 0 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.back"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.back"; }
- }
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_back_1fn_2lines/default";
- styles{
- style { name: "title_style";
- base: "font=SLP:style=Medium font_size=26 align=center color="NAVIGATIONBAR_TITLE_TEXT_COLOR_HEX" wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- style { name: "subtitle_style";
- base: "font=SLP:style=Medium font_size=18 align=center color="NAVIGATIONBAR_TITLE_TEXT_COLOR_HEX" wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- }
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.text";
- type: TEXTBLOCK;
- effect: SHADOW;
- clip_to: "clip_title";
- scale:1;
- description {
- state: "default" 0.0;
- text
- {
- style: "title_style";
- min: 0 0;
- max: 0 1;
- }
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to_x: "elm.rect.pad4"; to_y: "clip_title"; }
- rel2 { relative: 1.0 1.0; to_x: "elm.rect.pad2"; to_y: "clip_title"; }
- align: 0.5 0.2;
- }
- }
- part {
- name: "elm.text.sub";
- type: TEXTBLOCK;
- scale:1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- text
- {
- style: "subtitle_style";
- min: 0 0;
- max: 0 1;
- }
- rel1 { relative: 0.0 1.0; to_x: "elm.rect.pad4";to_y: "elm.text"; } //1.0 0.0
- rel2 { relative: 1.0 1.0; to_x: "elm.rect.pad2"; to_y: "clip_title"; }
- align: 0.5 0.0;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad1"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- align: 1.0 0.5;
- color: 0 0 0 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn1"; }
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.back";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad3"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- align: 0.0 0.5;
- color: 0 0 0 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.back"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.back"; }
- }
- }
- }
-}
-
-
-group { name: "elm/navigationbar_ex/item/topbar_title_segmented_1fn/default";
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- scale:1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- text
- {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to: "clip_title"; } //1.0 0.0
- rel2 { relative: 1.0 0.0; to_y: "elm.swallow.title";to_x: "clip_title"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.4; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.back";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad1"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.back"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.back"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.pad3";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.4; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad3"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad3"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad4";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "elm.swallow.btn1"; }
- rel2 { relative: 0.0 1.0; to: "elm.swallow.btn1"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.title";
- type: SWALLOW;
- scale:1;
- clip_to: "clip_title";
- description {
- fixed: 1 1;
- min: 0 ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; } //1.0 0.0
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad4"; }
- align: 0.0 0.5;
- }
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_title_1fn_segmented/default";
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- effect: SHADOW;
- scale:1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- text
- {
- font: "SLP:style=Medium";
- size: 30;
- min: 0 0;
- align: 0.5 0.5;
- }
- color: NAVIGATIONBAR_TITLE_TEXT_COLOR;
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to: "clip_title"; } //1.0 0.0
- rel2 { relative: 1.0 0.0; to_y: "elm.swallow.title";to_x: "clip_title"; }
- align: 0.5 0.5;
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.back";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 1.0 0.5; to: "elm.rect.pad1"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 0.0 0.5; to: "elm.rect.pad2"; }
- align: 1.0 0.5;
- }
- }
- part {
- name: "elm.swallow.title";
- type: SWALLOW;
- scale:1;
- clip_to: "clip_title";
- description {
- fixed: 1 1;
- min: 0 ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.5; to: "elm.rect.pad1"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad2"; }
- align: 0.0 0.5;
- }
- }
- }
-}
-
-group { name: "elm/navigationbar_ex/item/topbar_ebook_search/default";
- parts {
- part {
- name: "clip_title";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part {
- name: "elm.rect.pad1";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "clip_title"; }
- rel2 { relative: 1.0 1.0; to: "clip_title"; }
- align: 1.0 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.title";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: 115 ITEM_HEIGHT;
- max: 115 ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.rect.pad1"; }
- rel2 { relative: 0.0 1.0; to: "elm.rect.pad1"; }
- align: 1.0 0.5;
- }
- }
- part{ name: "elm.swallow.btn1";
- type: SWALLOW;
- clip_to: "clip_title";
- scale : 1;
- description { state: "default" 0.0;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- fixed : 1 1;
- align: 1.0 0.5;
- rel1 {
- relative: 0.0 0.0;
- to: "elm.rect.pad_btn";
- }
- rel2 {
- relative: 0.0 1.0;
- to: "elm.rect.pad_btn";
- }
- }
- }
- part { name: "elm.rect.pad_btn";
- type: RECT;
- scale : 1;
- description { state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- align: 0.5 0.5;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 0.0;
- to: "elm.swallow.btn2";
- }
- rel2 {
- relative: 0.0 1.0;
- to: "elm.swallow.btn2";
- }
- }
- }
- part{ name: "elm.swallow.btn2";
- type: SWALLOW;
- clip_to: "clip_title";
- scale : 1;
- description { state: "default" 0.0;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- fixed : 1 1;
- align: 0.5 0.5;
- rel1 {
- relative: 0.5 0.0;to: "clip_title";
- }
- rel2 {
- relative: 0.5 1.0;to: "clip_title";
- }
- }
- }
- part { name: "elm.rect.pad_btn2";
- type: RECT;
- scale : 1;
- description { state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- align: 0.5 0.5;
- color: 0 0 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.btn2";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.btn2";
- }
- }
- }
- part{ name: "elm.swallow.btn3";
- type: SWALLOW;
- clip_to: "clip_title";
- scale : 1;
- description { state: "default" 0.0;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- fixed : 1 1;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.rect.pad_btn2";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.rect.pad_btn2";
- }
- }
- }
- part {
- name: "elm.rect.pad2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clip_title";
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 0.0 0.0; to: "clip_title"; }
- rel2 { relative: 0.0 1.0; to: "clip_title"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.back";
- type: SWALLOW;
- clip_to: "clip_title";
- scale: 1;
- description {
- fixed: 1 1;
- min: ITEM_WIDTH ITEM_HEIGHT;
- max: MAX_ITEM_WIDTH ITEM_HEIGHT;
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "elm.rect.pad2"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.pad2"; }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.rect.pad6";
- type: RECT;
- mouse_events: 0;
- clip_to: "clip_title";
- scale: 1;
- description {
- state: "default" 0.0;
- min: PADDING 0;
- fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "elm.swallow.back"; }
- rel2 { relative: 1.0 1.0; to: "elm.swallow.back"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
-
- }
-}
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
- group {
- name: "elm/nocontents/base/default";
- alias: "elm/nocontents/base/full";
- images {
- image: "00_winset_NoContents_image.png" COMP;
- }
- parts {
- part { name: "bg";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- color: 0 0 0 0;
- }
- }
- part { name: "nocontents.image";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 1;
- align: 0.5 0.0;
- rel1 { relative: 141/480 230/800; to: "bg";}
- rel2 { relative: 339/480 424/800; to: "bg";}
- image {
- normal: "00_winset_NoContents_image.png";
- border: 1 1 1 1;
- border_scale: 1;
- }
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- }
- }
- part { name: "middle.padding";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- visible: 0;
- min: 1 30;
- max: 1 30;
- align: 0.5 0.0;
- rel1 { relative: 0.0 1.0; to_y: "nocontents.image";}
- color: 0 0 0 0;
- }
- }
- part { name: "elm.text";
- mouse_events: 0;
- type: TEXT;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.5 0.0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to_y: "middle.padding";}
- rel2 { relative: 1.0 484/800; to:"bg";}
- color: 173 170 165 255;
- text {
- font: "SLP:style=Roman";
- size: 30;
- text: "";
- align: 0.5 0.5;
- }
- }
- }
- }
- }
-
- group {
- name: "elm/nocontents/base/multimedia";
- images {
- image: "00_winset_NoContents_multimedia.png" COMP;
- }
- parts {
- part { name: "bg";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- color: 0 0 0 0;
- }
- }
- part { name: "nocontents.image";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 1;
- align: 0.5 0.0;
- rel1 { relative: 141/480 230/800; to: "bg";}
- rel2 { relative: 339/480 424/800; to: "bg";}
- image {
- normal: "00_winset_NoContents_multimedia.png";
- border: 1 1 1 1;
- border_scale: 1;
- }
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- }
- }
- part { name: "middle.padding";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- visible: 0;
- min: 1 30;
- max: 1 30;
- align: 0.5 0.0;
- rel1 { relative: 0.0 1.0; to_y: "nocontents.image";}
- color: 0 0 0 0;
- }
- }
- part { name: "elm.text";
- mouse_events: 0;
- type: TEXT;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.5 0.0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to_y: "middle.padding";}
- rel2 { relative: 1.0 484/800; to:"bg";}
- color: 173 170 165 255;
- text {
- font: "SLP:style=Roman";
- size: 30;
- text: "";
- align: 0.5 0.5;
- }
- }
- }
- }
- }
-
- group {
- name: "elm/nocontents/base/text";
- images {
- image: "00_winset_NoContents_text.png" COMP;
- }
- parts {
- part { name: "bg";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- color: 0 0 0 0;
- }
- }
- part { name: "nocontents.image";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 1;
- align: 0.5 0.0;
- rel1 { relative: 141/480 230/800; to: "bg";}
- rel2 { relative: 339/480 424/800; to: "bg";}
- image {
- normal: "00_winset_NoContents_text.png";
- border: 1 1 1 1;
- border_scale: 1;
- }
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- }
- }
- part { name: "middle.padding";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- visible: 0;
- min: 1 30;
- max: 1 30;
- align: 0.5 0.0;
- rel1 { relative: 0.0 1.0; to_y: "nocontents.image";}
- color: 0 0 0 0;
- }
- }
- part { name: "elm.text";
- mouse_events: 0;
- type: TEXT;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.5 0.0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to_y: "middle.padding";}
- rel2 { relative: 1.0 484/800; to:"bg";}
- color: 173 170 165 255;
- text {
- font: "SLP:style=Roman";
- size: 30;
- text: "";
- align: 0.5 0.5;
- }
- }
- }
- }
- }
-
- group {
- name: "elm/nocontents/base/unnamed";
- images {
- image: "00_winset_NoContents_unnamed.png" COMP;
- }
- parts {
- part { name: "bg";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- color: 0 0 0 0;
- }
- }
- part { name: "nocontents.image";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 1;
- align: 0.5 0.0;
- rel1 { relative: 141/480 230/800; to: "bg";}
- rel2 { relative: 339/480 424/800; to: "bg";}
- image {
- normal: "00_winset_NoContents_unnamed.png";
- border: 1 1 1 1;
- border_scale: 1;
- }
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- }
- }
- part { name: "middle.padding";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- visible: 0;
- min: 1 30;
- max: 1 30;
- align: 0.5 0.0;
- rel1 { relative: 0.0 1.0; to_y: "nocontents.image";}
- color: 0 0 0 0;
- }
- }
- part { name: "elm.text";
- mouse_events: 0;
- type: TEXT;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.5 0.0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to_y: "middle.padding";}
- rel2 { relative: 1.0 484/800; to:"bg";}
- color: 173 170 165 255;
- text {
- font: "SLP:style=Roman";
- size: 30;
- text: "";
- align: 0.5 0.5;
- }
- }
- }
- }
- }
-
- group {
- name: "elm/nocontents/base/search";
- parts {
- part { name: "bg";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- color: 0 0 0 0;
- }
- }
- part { name: "top_padding";
- mouse_events: 0;
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 25;
- fixed: 0 1;
- align: 0 0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 0.0;}
- color: 0 0 0 0;
- }
- }
- part { name: "elm.text";
- mouse_events: 0;
- type: TEXT;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0 0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to:"top_padding";}
- rel2 { relative: 1.0 1.0; to:"top_padding";}
- color: 173 170 165 255;
- text {
- font: "SLP:style=Roman";
- size: 30;
- text: "";
- align: 0.5 0.5;
- }
- }
- }
- part { name: "text_bottom_padding";
- mouse_events: 0;
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 25;
- fixed: 0 1;
- align: 0 0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to:"elm.text";}
- rel2 { relative: 1.0 1.0; to:"elm.text";}
- color: 0 0 0 0;
- }
- }
- part { name: "custom";
- mouse_events: 1;
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0 0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to:"text_bottom_padding";}
- rel2 { relative: 1.0 1.0; to:"text_bottom_padding";}
- }
- }
- }
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-group {
- name: "elm/pagecontrol/base/default";
-
- parts {
- part {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.swallow.page";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- }
- }
- }
-}
-
-#define PAGE_ITEM(number) \
-group { \
- name: "elm/page/item/default_"number; \
- images { \
- image: "00_mainmenu_page_bar_01.png" COMP; \
- image: "00_mainmenu_page_bar_02.png" COMP; \
- image: "00_mainmenu_page_bar_0001.png" COMP; \
- image: "00_mainmenu_page_bar_0002.png" COMP; \
- image: "00_mainmenu_page_bar_0003.png" COMP; \
- image: "00_mainmenu_page_bar_0004.png" COMP; \
- image: "00_mainmenu_page_bar_0005.png" COMP; \
- } \
- parts { \
- part { \
- name: "bg"; \
- type: RECT; \
- mouse_events: 1; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- min: 60 52; \
- max: 60 52; \
- align: 0.5 0.5; \
- color: 0 0 0 0; \
- } \
- } \
- part { \
- name: "indicator_1"; \
- mouse_events: 0; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- min: 32 32; \
- max: 32 32; \
- fixed: 1 1; \
- align: 0.5 0.5; \
- visible: 1; \
- rel1 { to: "bg"; } \
- rel2 { to: "bg"; } \
- image { \
- normal: "00_mainmenu_page_bar_01.png"; \
- } \
- } \
- description { \
- state: "selected" 0.0; \
- inherit: "default" 0.0; \
- min: 16 16; \
- max: 16 16; \
- visible: 0; \
- } \
- } \
- part { \
- name: "indicator_2"; \
- mouse_events: 0; \
- scale: 1; \
- description { \
- state: "default" 0.0; \
- min: 16 16; \
- max: 16 16; \
- fixed: 1 1; \
- align: 0.5 0.5; \
- visible: 0; \
- rel1 { to: "bg"; } \
- rel2 { to: "bg"; } \
- image { \
- normal: "00_mainmenu_page_bar_000"number".png"; \
- } \
- } \
- description { \
- state: "selected" 0.0; \
- inherit: "default" 0.0; \
- min: 32 32; \
- max: 32 32; \
- visible: 1; \
- } \
- } \
- } \
- programs { \
- program { \
- name: "indicator_on"; \
- signal: "elm,state,indicator,on"; \
- source: "elm"; \
- action: STATE_SET "selected" 0.0; \
- target: "indicator_1"; \
- target: "indicator_2"; \
- transition: LINEAR 0.2; \
- } \
- program { \
- name: "indicator_off"; \
- signal: "elm,state,indicator,off"; \
- source: "elm"; \
- action: STATE_SET "default" 0.0; \
- target: "indicator_1"; \
- target: "indicator_2"; \
- transition: LINEAR 0.2; \
- } \
- program { \
- name: "indicator_clicked"; \
- signal: "mouse,clicked,1"; \
- source: "bg"; \
- action: SIGNAL_EMIT "clicked" "indicator_clicked"; \
- } \
- } \
-} \
-
-PAGE_ITEM(1)
-PAGE_ITEM(2)
-PAGE_ITEM(3)
-PAGE_ITEM(4)
-PAGE_ITEM(5)
-
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
- group {
- name: "elm/panes/vertical/default";
- images {
- image: "arrow_right.png" COMP;
- image: "arrow_left.png" COMP;
- image: "00_splitscreen_handler_top.png" COMP;
- image: "00_splitscreen_handler_middle.png" COMP;
- image: "00_splitscreen_handler_bottom.png" COMP;
- image: "00_splitscreen_pain.png" COMP;
- }
- script {
- public state_pair = 0; //0:both content are not set, 1:both content are set
- }
- parts
- {
- part
- {
- name: "whole";
- type: RECT;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- }
- }
-
- //2 contents
- part
- {
- name: "whole_left";
- type: RECT;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- rel2.to_x: "elm.bar";
- rel2.relative: 0.0 1.0;
- visible: 1;
- }
- }
- 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: "elm.bar";
- rel1.relative: 1.0 0.0;
- visible: 1;
- }
- }
- part
- {
- name: "elm.swallow.right";
- type: SWALLOW;
- clip_to: "whole_right";
- description
- {
- state: "default" 0.0;
- rel1.to: "whole_right";
- rel2.to: "whole_right";
- }
- }
- part { name:"bar_top";
- mouse_events: 0;
- description { state:"default" 0.0;
- rel1 { relative: 0 0; to_x: "elm.bar"; }
- rel2 { relative: 1 0; to: "elm.bar"; }
- image {
- normal: "00_splitscreen_handler_top.png";
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- //BAR
- part { name: "elm.bar";
- mouse_events: 1;
- dragable {
- confine: "whole";
- x: 1 1 1;
- y: 0 0 0;
- }
- scale: 1;
- description { state: "default" 0.0;
- max: 0 49;
- min: 0 49;
- align: 1.0 0.5;
- rel1.relative: 0.0 0.5;
- rel2.relative: 1.0 0.5;
- image {
- normal: "00_splitscreen_handler_middle.png";
- }
- color: 255 255 255 255;
- }
- description { state: "default" 0.1;
- inherit: "default" 0.0;
- max: 40 49;
- min: 40 49;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 200 200 200 200;
- }
- description { state: "clicked" 0.1;
- inherit: "default" 0.1;
- color: 200 200 200 200;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- min: 0 49;
- max: 0 49;
- visible: 0;
- }
- description { state: "disabled" 0.1;
- inherit: "default" 0.1;
- min: 14 49;
- max: 14 49;
- visible: 0;
- }
- }
- part { name:"bar_bottom";
- mouse_events: 0;
- description { state:"default" 0.0;
- rel1 { relative: 0 1; to: "elm.bar"; }
- rel2 { relative: 1 1; to_x: "elm.bar"; }
- image {
- normal: "00_splitscreen_handler_bottom.png";
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name:"bar_disabled";
- mouse_events: 0;
- description { state:"default" 0.0;
- rel1 { relative: 0 0; to_x: "elm.bar"; }
- rel2 { relative: 1 1; to_x: "elm.bar"; }
- image {
- normal: "00_splitscreen_pain.png";
- }
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "over2";
- 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";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "elm.bar";
- rel2.to: "elm.bar";
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
-
- //Arrow
- part {
- name: "arrow_right";
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 45 45;
- max: 45 45;
- color: 255 255 255 0;
-
- rel1.relative: 1.0 0.5;
- rel1.to_x: "elm.bar";
- rel1.offset: 45/2 -45/2;
-
- rel2.relative: 1.0 0.5;
- rel2.to_x: "elm.bar";
- rel2.offset: 45/2 45/2;
-
- image.normal: "arrow_right.png";
-
- fixed: 1 1;
- }
- description { state: "anim_1" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 200;
- rel1.offset: (45/2 + 10) -45/2;
- rel2.offset: (45/2 +10) 45/2;
- }
- description { state: "anim_2" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- rel1.offset: (45/2 + 20) -45/2;
- rel2.offset: (45/2 + 20) 45/2;
- }
- }
- part {
- name: "arrow_left";
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 45 45;
- max: 45 45;
- color: 255 255 255 0;
-
- rel1.relative: 0.0 0.5;
- rel1.to_x: "elm.bar";
- rel1.offset: -45/2 -45/2;
-
- rel2.relative: 0.0 0.5;
- rel2.to_x: "elm.bar";
- rel2.offset: -45/2 45/2;
-
- image.normal: "arrow_left.png";
-
- fixed: 1 1;
- }
- description { state: "anim_1" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 200;
- rel1.offset: (-45/2 - 10) -45/2;
- rel2.offset: (-45/2 - 10) 45/2;
- }
- description { state: "anim_2" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- rel1.offset: (-45/2 - 20) -45/2;
- rel2.offset: (-45/2 - 20) 45/2;
- }
- }
- part {
- name: "movement.decider";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.bar";
- rel2.to: "elm.bar";
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "panes_pair";
- signal: "elm.panes.pair";
- source: "elm";
- 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.1);
- }
- }
- program {
- name: "panes_unpair";
- signal: "elm.panes.unpair";
- source: "elm";
- 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.0);
- }
- }
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- after: "arrow_anim_start";
- }
- program {
- name: "button_click_anim";
- script {
- if(get_int(state_pair) == 1)
- set_state(PART:"elm.bar", "clicked", 0.1);
- else
- set_state(PART:"elm.bar", "clicked", 0.0);
- }
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- after: "arrow_anim_stop";
- }
- program {
- name: "button_unclick_anim";
- script {
- if(get_int(state_pair) == 1)
- set_state(PART:"elm.bar", "default", 0.1);
- else
- set_state(PART:"elm.bar", "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" "";
- }
-
- //arrows animation
- program {
- name: "arrow_anim_start";
- action: STATE_SET "anim_1" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: LINEAR 0.6;
- after: "arrow_anim_1";
- }
- program {
- name: "arrow_anim_1";
- action: STATE_SET "anim_2" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: LINEAR 0.6;
- after: "arrow_anim_2";
- }
- program {
- name: "arrow_anim_2";
- action: STATE_SET "default" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- after: "arrow_anim_start";
- }
- program {
- name: "arrow_anim_stop";
- action: ACTION_STOP;
- target: "arrow_anim_start";
- target: "arrow_anim_1";
- target: "arrow_anim_2";
- after: "arrow_anim_stop_1";
- }
- program {
- name: "arrow_anim_stop_1";
- action: STATE_SET "default" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: DECELERATE 0.4;
- }
- //fix the pane
- program {
- name: "panes_fixed";
- signal: "elm.panes.fixed";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "movement.decider";
- target: "elm.bar";
- target: "bar_top";
- target: "bar_bottom";
- 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: "movement.decider";
- target: "elm.bar";
- target: "bar_top";
- target: "bar_bottom";
- target: "bar_disabled";
- }
- }
- }
-
- group {
- name: "elm/panes/horizontal/default";
- images {
- image: "arrow_up.png" COMP;
- image: "arrow_down.png" COMP;
- image: "00_splitscreen_handler_left_hor.png" COMP;
- image: "00_splitscreen_handler_middle_hor.png" COMP;
- image: "00_splitscreen_handler_right_hor.png" COMP;
- image: "00_splitscreen_pain_hor.png" COMP;
- }
- script {
- public state_pair = 0; //0:both content are not set, 1:both content are set
- }
- parts
- {
- part
- {
- name: "whole";
- type: RECT;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- visible: 0;
- }
- }
-
- //2 contents
- part
- {
- name: "whole_left";
- type: RECT;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- rel2.to_y: "elm.bar";
- rel2.relative: 1.0 0.0;
- visible: 1;
- }
- }
- 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: "elm.bar";
- rel1.relative: 0.0 1.0;
- visible: 1;
- }
- }
- part
- {
- name: "elm.swallow.right";
- type: SWALLOW;
- clip_to: "whole_right";
- description
- {
- state: "default" 0.0;
- rel1.to: "whole_right";
- rel2.to: "whole_right";
- }
- }
- part { name:"bar_left";
- mouse_events: 0;
- description { state:"default" 0.0;
- rel1 { relative: 0 0; to_y: "elm.bar"; }
- rel2 { relative: 0 1; to: "elm.bar"; }
- image {
- normal: "00_splitscreen_handler_left_hor.png";
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- //BAR
- part { name: "elm.bar";
- mouse_events: 1;
- dragable {
- confine: "whole";
- x: 0 0 0;
- y: 1 1 1;
- }
- scale: 1;
- description { state: "default" 0.0;
- max: 49 0;
- min: 49 0;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- align: 0.5 0.0;
- image {
- normal: "00_splitscreen_handler_middle_hor.png";
- }
- color: 255 255 255 255;
- }
- description { state: "default" 0.1;
- inherit: "default" 0.0;
- max: 49 40;
- min: 49 40;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 200 200 200 200;
- }
- description { state: "clicked" 0.1;
- inherit: "default" 0.1;
- color: 200 200 200 200;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- min: 49 0;
- max: 49 0;
- visible: 0;
- }
- description { state: "disabled" 0.1;
- inherit: "default" 0.1;
- min: 49 14;
- max: 49 14;
- visible: 0;
- }
- }
- part { name:"bar_right";
- mouse_events: 0;
- description { state:"default" 0.0;
- rel1 { relative: 1 0; to: "elm.bar"; }
- rel2 { relative: 1 1; to_y: "elm.bar"; }
- image {
- normal: "00_splitscreen_handler_right_hor.png";
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name:"bar_disabled";
- mouse_events: 0;
- description { state:"default" 0.0;
- rel1 { relative: 0 0; to_y: "elm.bar"; }
- rel2 { relative: 1 1; to_y: "elm.bar"; }
- image {
- normal: "00_splitscreen_pain_hor.png";
- }
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "over2";
- 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";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "elm.bar";
- rel2.to: "elm.bar";
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
-
- //Arrow
- part {
- name: "arrow_right";
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 45 45;
- max: 45 45;
- color: 255 255 255 0;
-
- rel1.relative: 0.5 1.0;
- rel1.to_y: "elm.bar";
- rel1.offset: -45/2 45/2;
-
- rel2.relative: 0.5 1.0;
- rel2.to_y: "elm.bar";
- rel2.offset: 45/2 45/2;
-
- image.normal: "arrow_down.png";
-
- fixed: 1 1;
- }
- description { state: "anim_1" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 200;
- rel1.offset: -45/2 (45/2 +10);
- rel2.offset: 45/2 (45/2 +10);
- }
- description { state: "anim_2" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- rel1.offset: -45/2 (45/2 + 20);
- rel2.offset: 45/2 (45/2 + 20);
- }
- }
- part {
- name: "arrow_left";
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 45 45;
- max: 45 45;
- color: 255 255 255 0;
-
- rel1.relative: 0.5 0.0;
- rel1.to_y: "elm.bar";
- rel1.offset: -45/2 -45/2;
-
- rel2.relative: 0.5 0.0;
- rel2.to_y: "elm.bar";
- rel2.offset: 45/2 -45/2;
-
- image.normal: "arrow_up.png";
-
- fixed: 1 1;
- }
- description { state: "anim_1" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 200;
- rel1.offset: -45/2 (-45/2 - 10);
- rel2.offset: 45/2 (-45/2 - 10);
- }
- description { state: "anim_2" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- rel1.offset: -45/2 (-45/2 - 20);
- rel2.offset: 45/2 (-45/2 - 20);
- }
- }
- part {
- name: "movement.decider";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.bar";
- rel2.to: "elm.bar";
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "panes_pair";
- signal: "elm.panes.pair";
- source: "elm";
- 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.1);
- }
- }
- program {
- name: "panes_unpair";
- signal: "elm.panes.unpair";
- source: "elm";
- 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.0);
- }
- }
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- after: "arrow_anim_start";
- }
- program {
- name: "button_click_anim";
- script {
- if(get_int(state_pair) == 1)
- set_state(PART:"elm.bar", "clicked", 0.1);
- else
- set_state(PART:"elm.bar", "clicked", 0.0);
- }
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- after: "arrow_anim_stop";
- }
- program {
- name: "button_unclick_anim";
- script {
- if(get_int(state_pair) == 1)
- set_state(PART:"elm.bar", "default", 0.1);
- else
- set_state(PART:"elm.bar", "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" "";
- }
-
- //arrows animation
- program {
- name: "arrow_anim_start";
- action: STATE_SET "anim_1" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: LINEAR 0.6;
- after: "arrow_anim_1";
- }
- program {
- name: "arrow_anim_1";
- action: STATE_SET "anim_2" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: LINEAR 0.6;
- after: "arrow_anim_2";
- }
- program {
- name: "arrow_anim_2";
- action: STATE_SET "default" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- after: "arrow_anim_start";
- }
- program {
- name: "arrow_anim_stop";
- action: ACTION_STOP;
- target: "arrow_anim_start";
- target: "arrow_anim_1";
- target: "arrow_anim_2";
- after: "arrow_anim_stop_1";
- }
- program {
- name: "arrow_anim_stop_1";
- action: STATE_SET "default" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: DECELERATE 0.4;
- }
- //fix the pane
- program {
- name: "panes_fixed";
- signal: "elm.panes.fixed";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "movement.decider";
- target: "elm.bar";
- target: "bar_left";
- target: "bar_right";
- 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: "movement.decider";
- target: "elm.bar";
- target: "bar_left";
- target: "bar_right";
- target: "bar_disabled";
- }
- }
- }
-
-//Vertical Panes style to be used by music application
- group {
- name: "elm/panes/vertical/music";
- images {
- image: "arrow_right.png" COMP;
- image: "arrow_left.png" COMP;
- image: "00_splitscreen_handler_top.png" COMP;
- image: "00_splitscreen_handler_middle.png" COMP;
- image: "00_splitscreen_handler_bottom.png" COMP;
- image: "00_splitscreen_pain_music.png" COMP;
- }
- script {
- public state_pair = 0; //0:both content are not set, 1:both content are set
- }
- parts
- {
- part
- {
- name: "whole";
- type: RECT;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- }
- }
-
- //2 contents
- part
- {
- name: "whole_left";
- type: RECT;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- rel2.to_x: "elm.bar";
- rel2.relative: 0.0 1.0;
- visible: 1;
- }
- }
- 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: "elm.bar";
- rel1.relative: 1.0 0.0;
- visible: 1;
- }
- }
- part
- {
- name: "elm.swallow.right";
- type: SWALLOW;
- clip_to: "whole_right";
- description
- {
- state: "default" 0.0;
- rel1.to: "whole_right";
- rel2.to: "whole_right";
- }
- }
- part { name:"bar_top";
- mouse_events: 0;
- description { state:"default" 0.0;
- rel1 { relative: 0 0; to_x: "elm.bar"; }
- rel2 { relative: 1 0; to: "elm.bar"; }
- image {
- normal: "00_splitscreen_handler_top.png";
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- //BAR
- part { name: "elm.bar";
- mouse_events: 1;
- dragable {
- confine: "whole";
- x: 1 1 1;
- y: 0 0 0;
- }
- scale: 1;
- description { state: "default" 0.0;
- max: 0 49;
- min: 0 49;
- align: 1.0 0.5;
- rel1.relative: 0.0 0.5;
- rel2.relative: 1.0 0.5;
- image {
- normal: "00_splitscreen_handler_middle.png";
- }
- color: 255 255 255 255;
- }
- description { state: "default" 0.1;
- inherit: "default" 0.0;
- max: 40 49;
- min: 40 49;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 200 200 200 200;
- }
- description { state: "clicked" 0.1;
- inherit: "default" 0.1;
- color: 200 200 200 200;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- min: 0 49;
- max: 0 49;
- visible: 0;
- }
- description { state: "disabled" 0.1;
- inherit: "default" 0.1;
- min: 14 49;
- max: 14 49;
- visible: 0;
- }
- }
- part { name:"bar_bottom";
- mouse_events: 0;
- description { state:"default" 0.0;
- rel1 { relative: 0 1; to: "elm.bar"; }
- rel2 { relative: 1 1; to_x: "elm.bar"; }
- image {
- normal: "00_splitscreen_handler_bottom.png";
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name:"bar_disabled";
- mouse_events: 0;
- description { state:"default" 0.0;
- rel1 { relative: 0 0; to_x: "elm.bar"; }
- rel2 { relative: 1 1; to_x: "elm.bar"; }
- image {
- normal: "00_splitscreen_pain_music.png";
- }
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "over2";
- 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";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "elm.bar";
- rel2.to: "elm.bar";
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
-
- //Arrow
- part {
- name: "arrow_right";
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 45 45;
- max: 45 45;
- color: 255 255 255 0;
-
- rel1.relative: 1.0 0.5;
- rel1.to_x: "elm.bar";
- rel1.offset: 45/2 -45/2;
-
- rel2.relative: 1.0 0.5;
- rel2.to_x: "elm.bar";
- rel2.offset: 45/2 45/2;
-
- image.normal: "arrow_right.png";
-
- fixed: 1 1;
- }
- description { state: "anim_1" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 200;
- rel1.offset: (45/2 + 10) -45/2;
- rel2.offset: (45/2 +10) 45/2;
- }
- description { state: "anim_2" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- rel1.offset: (45/2 + 20) -45/2;
- rel2.offset: (45/2 + 20) 45/2;
- }
- }
- part {
- name: "arrow_left";
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 45 45;
- max: 45 45;
- color: 255 255 255 0;
-
- rel1.relative: 0.0 0.5;
- rel1.to_x: "elm.bar";
- rel1.offset: -45/2 -45/2;
-
- rel2.relative: 0.0 0.5;
- rel2.to_x: "elm.bar";
- rel2.offset: -45/2 45/2;
-
- image.normal: "arrow_left.png";
-
- fixed: 1 1;
- }
- description { state: "anim_1" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 200;
- rel1.offset: (-45/2 - 10) -45/2;
- rel2.offset: (-45/2 - 10) 45/2;
- }
- description { state: "anim_2" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- rel1.offset: (-45/2 - 20) -45/2;
- rel2.offset: (-45/2 - 20) 45/2;
- }
- }
- part {
- name: "movement.decider";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.bar";
- rel2.to: "elm.bar";
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "panes_pair";
- signal: "elm.panes.pair";
- source: "elm";
- 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.1);
- }
- }
- program {
- name: "panes_unpair";
- signal: "elm.panes.unpair";
- source: "elm";
- 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.0);
- }
- }
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- after: "arrow_anim_start";
- }
- program {
- name: "button_click_anim";
- script {
- if(get_int(state_pair) == 1)
- set_state(PART:"elm.bar", "clicked", 0.1);
- else
- set_state(PART:"elm.bar", "clicked", 0.0);
- }
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- after: "arrow_anim_stop";
- }
- program {
- name: "button_unclick_anim";
- script {
- if(get_int(state_pair) == 1)
- set_state(PART:"elm.bar", "default", 0.1);
- else
- set_state(PART:"elm.bar", "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" "";
- }
-
- //arrows animation
- program {
- name: "arrow_anim_start";
- action: STATE_SET "anim_1" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: LINEAR 0.6;
- after: "arrow_anim_1";
- }
- program {
- name: "arrow_anim_1";
- action: STATE_SET "anim_2" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: LINEAR 0.6;
- after: "arrow_anim_2";
- }
- program {
- name: "arrow_anim_2";
- action: STATE_SET "default" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- after: "arrow_anim_start";
- }
- program {
- name: "arrow_anim_stop";
- action: ACTION_STOP;
- target: "arrow_anim_start";
- target: "arrow_anim_1";
- target: "arrow_anim_2";
- after: "arrow_anim_stop_1";
- }
- program {
- name: "arrow_anim_stop_1";
- action: STATE_SET "default" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: DECELERATE 0.4;
- }
- //fix the pane
- program {
- name: "panes_fixed";
- signal: "elm.panes.fixed";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "movement.decider";
- target: "elm.bar";
- target: "bar_top";
- target: "bar_bottom";
- 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: "movement.decider";
- target: "elm.bar";
- target: "bar_top";
- target: "bar_bottom";
- target: "bar_disabled";
- }
- }
- }
-
-//Horizontal Panes style to be used by music application
- group {
- name: "elm/panes/horizontal/music";
- images {
- image: "arrow_up.png" COMP;
- image: "arrow_down.png" COMP;
- image: "00_splitscreen_handler_left_hor.png" COMP;
- image: "00_splitscreen_handler_middle_hor.png" COMP;
- image: "00_splitscreen_handler_right_hor.png" COMP;
- image: "00_splitscreen_pain_hor.png" COMP;
- }
- script {
- public state_pair = 0; //0:both content are not set, 1:both content are set
- }
- parts
- {
- part
- {
- name: "whole";
- type: RECT;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- visible: 0;
- }
- }
-
- //2 contents
- part
- {
- name: "whole_left";
- type: RECT;
- mouse_events: 0;
- description
- {
- state: "default" 0.0;
- rel2.to_y: "elm.bar";
- rel2.relative: 1.0 0.0;
- visible: 1;
- }
- }
- 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: "elm.bar";
- rel1.relative: 0.0 1.0;
- visible: 1;
- }
- }
- part
- {
- name: "elm.swallow.right";
- type: SWALLOW;
- clip_to: "whole_right";
- description
- {
- state: "default" 0.0;
- rel1.to: "whole_right";
- rel2.to: "whole_right";
- }
- }
- part { name:"bar_left";
- mouse_events: 0;
- description { state:"default" 0.0;
- rel1 { relative: 0 0; to_y: "elm.bar"; }
- rel2 { relative: 0 1; to: "elm.bar"; }
- image {
- normal: "00_splitscreen_handler_left_hor.png";
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- //BAR
- part { name: "elm.bar";
- mouse_events: 1;
- dragable {
- confine: "whole";
- x: 0 0 0;
- y: 1 1 1;
- }
- scale: 1;
- description { state: "default" 0.0;
- max: 49 0;
- min: 49 0;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- align: 0.5 0.0;
- image {
- normal: "00_splitscreen_handler_middle_hor.png";
- }
- color: 255 255 255 255;
- }
- description { state: "default" 0.1;
- inherit: "default" 0.0;
- max: 49 40;
- min: 49 40;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 200 200 200 200;
- }
- description { state: "clicked" 0.1;
- inherit: "default" 0.1;
- color: 200 200 200 200;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- min: 49 0;
- max: 49 0;
- visible: 0;
- }
- description { state: "disabled" 0.1;
- inherit: "default" 0.1;
- min: 49 14;
- max: 49 14;
- visible: 0;
- }
- }
- part { name:"bar_right";
- mouse_events: 0;
- description { state:"default" 0.0;
- rel1 { relative: 1 0; to: "elm.bar"; }
- rel2 { relative: 1 1; to_y: "elm.bar"; }
- image {
- normal: "00_splitscreen_handler_right_hor.png";
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name:"bar_disabled";
- mouse_events: 0;
- description { state:"default" 0.0;
- rel1 { relative: 0 0; to_y: "elm.bar"; }
- rel2 { relative: 1 1; to_y: "elm.bar"; }
- image {
- normal: "00_splitscreen_pain_hor.png";
- }
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "over2";
- 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";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "elm.bar";
- rel2.to: "elm.bar";
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
-
- //Arrow
- part {
- name: "arrow_right";
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 45 45;
- max: 45 45;
- color: 255 255 255 0;
-
- rel1.relative: 0.5 1.0;
- rel1.to_y: "elm.bar";
- rel1.offset: -45/2 45/2;
-
- rel2.relative: 0.5 1.0;
- rel2.to_y: "elm.bar";
- rel2.offset: 45/2 45/2;
-
- image.normal: "arrow_down.png";
-
- fixed: 1 1;
- }
- description { state: "anim_1" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 200;
- rel1.offset: -45/2 (45/2 +10);
- rel2.offset: 45/2 (45/2 +10);
- }
- description { state: "anim_2" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- rel1.offset: -45/2 (45/2 + 20);
- rel2.offset: 45/2 (45/2 + 20);
- }
- }
- part {
- name: "arrow_left";
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 45 45;
- max: 45 45;
- color: 255 255 255 0;
-
- rel1.relative: 0.5 0.0;
- rel1.to_y: "elm.bar";
- rel1.offset: -45/2 -45/2;
-
- rel2.relative: 0.5 0.0;
- rel2.to_y: "elm.bar";
- rel2.offset: 45/2 -45/2;
-
- image.normal: "arrow_up.png";
-
- fixed: 1 1;
- }
- description { state: "anim_1" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 200;
- rel1.offset: -45/2 (-45/2 - 10);
- rel2.offset: 45/2 (-45/2 - 10);
- }
- description { state: "anim_2" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- rel1.offset: -45/2 (-45/2 - 20);
- rel2.offset: 45/2 (-45/2 - 20);
- }
- }
- part {
- name: "movement.decider";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.bar";
- rel2.to: "elm.bar";
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "panes_pair";
- signal: "elm.panes.pair";
- source: "elm";
- 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.1);
- }
- }
- program {
- name: "panes_unpair";
- signal: "elm.panes.unpair";
- source: "elm";
- 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.0);
- }
- }
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- after: "arrow_anim_start";
- }
- program {
- name: "button_click_anim";
- script {
- if(get_int(state_pair) == 1)
- set_state(PART:"elm.bar", "clicked", 0.1);
- else
- set_state(PART:"elm.bar", "clicked", 0.0);
- }
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- after: "arrow_anim_stop";
- }
- program {
- name: "button_unclick_anim";
- script {
- if(get_int(state_pair) == 1)
- set_state(PART:"elm.bar", "default", 0.1);
- else
- set_state(PART:"elm.bar", "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" "";
- }
-
- //arrows animation
- program {
- name: "arrow_anim_start";
- action: STATE_SET "anim_1" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: LINEAR 0.6;
- after: "arrow_anim_1";
- }
- program {
- name: "arrow_anim_1";
- action: STATE_SET "anim_2" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: LINEAR 0.6;
- after: "arrow_anim_2";
- }
- program {
- name: "arrow_anim_2";
- action: STATE_SET "default" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- after: "arrow_anim_start";
- }
- program {
- name: "arrow_anim_stop";
- action: ACTION_STOP;
- target: "arrow_anim_start";
- target: "arrow_anim_1";
- target: "arrow_anim_2";
- after: "arrow_anim_stop_1";
- }
- program {
- name: "arrow_anim_stop_1";
- action: STATE_SET "default" 0.0;
- target: "arrow_right";
- target: "arrow_left";
- transition: DECELERATE 0.4;
- }
- //fix the pane
- program {
- name: "panes_fixed";
- signal: "elm.panes.fixed";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "movement.decider";
- target: "elm.bar";
- target: "bar_left";
- target: "bar_right";
- 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: "movement.decider";
- target: "elm.bar";
- target: "bar_left";
- target: "bar_right";
- target: "bar_disabled";
- }
- }
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-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.png" 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: "sb_vbar";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- min: 8 8;
- align: 1.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- offset: -1 0;
- }
- rel2 {
- relative: 1.0 0.0;
- offset: -1 -1;
- to_y: "sb_hbar";
- }
- }
- }
- part { name: "sb_vbar_runner";
- clip_to: "sb_vbar_clip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 8 8;
- max: 8 99999;
- rel1.to: "sb_vbar";
- rel2.to: "sb_vbar";
- visible: 0;
- image {
- normal: "sb_runnerv.png";
- border: 0 0 4 4;
- 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: 8 8;
- 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.png";
- border: 3 3 3 3;
- 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: 6 6 6 0;
- 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: 6 6 6 0;
- 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: "sb_hbar";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- min: 50 8;
- align: 0.0 1.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -1;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: -1 -1;
- to_x: "sb_vbar";
- }
- }
- }
- part { name: "sb_hbar_runner";
- clip_to: "sb_hbar_clip";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: 50 8;
- max: 99999 8;
- rel1.to: "sb_hbar";
- rel2.to: "sb_hbar";
- visible: 0;
- image {
- normal: "sb_runnerh.png";
- border: 4 4 0 0;
- 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: 50 8;
- 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.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- image.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: 6 6 6 0;
- 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: 6 6 6 0;
- 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";
- }
- }
- }
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-/*popup widgext styles*/
-group { name: "elm/notify/block_events/popup";
- parts {
- part { name: "block_events";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program {
- name: "block_clicked";
- signal: "mouse,clicked,1";
- source: "block_events";
- action: SIGNAL_EMIT "elm,action,clicked" "elm";
- }
- }
-}
-
-group { name: "elm/label/base/popup_description/default";
- styles
- {
- style { name: "popup_desc_style";
- base: "font=SLP:style=Roman font_size=32 align=center color=#000000 wrap=word";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- align: 0.0 0.5;
- min: 10 0;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 0.0 1.0;
- }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- effect: SHADOW;
- scale : 1;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- fixed: 1 0;
- text {
- style: "popup_desc_style";
- min: 1 1;
- }
- rel1 {
- relative: 1.0 0.0;
- to: left_padding;
- }
- rel2 {
- relative: 1.0 1.0;
- to: left_padding;
- }
- }
- }
- }
-}
-
-group { name: "elm/label/base_wrap/popup_description/default";
- parts {
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- align: 0.0 0.5;
- min: 10 0;
- rel1 {
- relative: 0 0;
- }
- rel2 {
- relative: 0 1;
- }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- effect: SHADOW;
- scale : 1;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- text {
- style: "popup_desc_style";
- min: 0 1;
- }
- rel1 {
- relative: 1.0 0.0;
- to: left_padding;
- }
- }
- }
- }
-}
-
-group { name: "elm/label/base/popup_description/char_wrap_style";
- styles
- {
- style { name: "popup_desc_style_char_wrap";
- base: "font=SLP:style=Roman font_size=32 align=center color=#000000 wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- align: 0.0 0.5;
- min: 10 0;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 0.0 1.0;
- }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- effect: SHADOW;
- scale : 1;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- fixed: 1 0;
- text {
- style: "popup_desc_style";
- min: 1 1;
- }
- rel1 {
- relative: 1.0 0.0;
- to: left_padding;
- }
- rel2 {
- relative: 1.0 1.0;
- to: left_padding;
- }
- }
- }
- }
-}
-
-group { name: "elm/label/base_wrap/popup_description/char_wrap_style";
- parts {
- part { name: "left_padding";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- align: 0.0 0.5;
- min: 10 0;
- rel1 {
- relative: 0 0;
- }
- rel2 {
- relative: 0 1;
- }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- effect: SHADOW;
- scale : 1;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- text {
- style: "popup_desc_style_char_wrap";
- min: 0 1;
- }
- rel1 {
- relative: 1.0 0.0;
- to: left_padding;
- }
- }
- }
- }
-}
-
-group { name: "elm/popup/base/default";
- parts {
- images {
- image: "00_popup_title_bg.png" COMP;
- image: "00_popup_bottom_bg.png" COMP;
- image: "00_popup_bg.png" COMP;
- }
- styles
- {
- style { name: "popup_title_style";
- base: "font=SLP:style=Medium font_size=34 align=center color=#ffffff wrap=word";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
- }
-
- part { name: "base";
- type: RECT;
- scale : 1;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- min: 448 0;
- max: 448 730;
- color: 0 0 0 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "background";
- scale : 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- image {
- normal: "00_popup_bg.png";
- border: 16 16 15 29;
- middle: DEFAULT;
- border_scale: 1;
- }
- }
- }
- part { name: "elm.rect.title";
- type: IMAGE;
- scale : 1;
- description { state: "default" 0.0;
- min: 434 70;
- fixed : 1 1;
- align: 0.5 0.0;
- visible: 0;
- image.normal: "00_popup_title_bg.png";
- image.border: 9 9 9 0;
- image.border_scale: 1;
- rel1 {
- relative: 0.5 0.0;
- to: "base";offset: 1 1;
- }
- rel2 {
- relative: 0.5 0.0;
- to: "base";offset: -2 -2;
- }
- }
- description { state: "show_title" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.swallow.title.icon";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 48 48;
- max: 48 48;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1 {
- to: "elm.rect.title";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "elm.rect.title";
- relative: 1.0 1.0;
- }
- visible: 0;
- }
- description { state: "show_title_icon" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.title";
- type: TEXTBLOCK;
- effect: SHADOW;
- scale:1;
- description {
- state: "default" 0.0;
- text
- {
- style: "popup_title_style";
- min: 0 0;
- max: 0 1;
- }
- visible:0;
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to: "elm.rect.title"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.title"; }
- align: 0.5 0.5;
- }
- description { state: "show_title" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "show_title_icon" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 426 0;
- align: 0.5 0.5;
- fixed: 1 0;
- rel1 {
- relative: 0.5 0.0;
- to: "base";
- }
- rel2 {
- relative: 0.5 0.0;
- to: "pad_b_button";
- }
- }
- description { state: "show_title" 0.0;
- inherit: "default" 0.0;
- rel1 {
- relative: 0.5 1.0;
- to: "elm.rect.title";
- }
- }
- description { state: "show_button_area" 0.0;
- inherit: "default" 0.0;
- rel2 {
- relative: 0.5 0.0;
- to: "elm.swallow.buttonArea.Background";
- }
- }
- description { state: "show_button_title_area" 0.0;
- inherit: "default" 0.0;
- rel1 {
- relative: 0.5 1.0;
- to: "elm.rect.title";
- }
- rel2 {
- relative: 0.5 0.0;
- to: "elm.swallow.buttonArea.Background";
- }
- }
- }
- part { name: "elm.swallow.buttonArea.Background";
- type: IMAGE;
- scale : 1;
- description { state: "default" 0.0;
- min: 440 90;
- fixed : 1 1;
- align: 0.5 1.0;
- visible: 0;
- image.normal: "00_popup_bottom_bg.png";
- image.border: 9 9 7 10;
- image.border_scale: 1;
- rel1 {
- relative: 0.5 0.0;
- to: "pad_b_button";
- }
- rel2 {
- relative: 0.5 0.0;
- to: "pad_b_button";
- }
- }
- description { state: "show_button_area" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.swallow.buttonArea";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 224 70;
- max: 444 70;
- fixed : 1 1;
- align: 0.5 0.5;
- visible: 0;
- rel1 {
- relative: 0.0 0.0;
- to: "elm.swallow.buttonArea.Background";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.buttonArea.Background";
- }
- }
- description { state: "show_button_area" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "pad_b_button";
- type: RECT;
- scale : 1;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- align: 0.5 1.0;
- min: 0 15;
- fixed: 0 1;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 1.0;
- to: "base";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "base";
- }
- }
- }
- }
- programs {
- /* program {
- name: "show";
- signal: "elm,state,show";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "background";
- transition: "DECELERATE" 0.5;
- }
- program {
- name: "hide";
- signal: "elm,state,hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "background";
- transition: "DECELERATE" 0.5;
- }*/
- program { name: show_title;
- signal: "elm,state,title,visible";
- source: "elm";
- action: STATE_SET "show_title" 0.0;
- target: "elm.swallow.title";
- target: "elm.rect.title";
- target: "elm.swallow.content";
- target: "base";
- }
- program { name: hide_title;
- signal: "elm,state,title,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.title";
- target: "elm.rect.title";
- target: "elm.swallow.content";
- target: "base";
- }
- program { name: show_title_icon;
- signal: "elm,state,title,icon,visible";
- source: "elm";
- action: STATE_SET "show_title_icon" 0.0;
- target: "elm.swallow.title";
- 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";
- target: "elm.swallow.title.icon";
- }
- program { name: show_button_area;
- signal: "elm,state,button,visible";
- source: "elm";
- action: STATE_SET "show_button_area" 0.0;
- target: "elm.swallow.buttonArea";
- target: "elm.swallow.content";
- target: "elm.swallow.buttonArea.Background";
- target: "base";
- }
- program { name: hide_button_area;
- signal: "elm,state,button,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.buttonArea";
- target: "elm.swallow.content";
- target: "elm.swallow.buttonArea.Background";
- target: "base";
- }
- program { name: show_button_title_area;
- signal: "elm,state,button,title,visible";
- source: "elm";
- action: STATE_SET "show_button_title_area" 0.0;
- target: "elm.swallow.content";
- target: "base";
- }
- program { name: hide_button_title_area;
- signal: "elm,state,button,title,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "base";
- }
- } /* end of programs */
-}
-
-group { name: "elm/popup/content/default";
- parts{
- part { name: "pad_t";
- type: RECT;
- scale : 1;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- align: 0.5 0.0;
- min: 0 60;
- fixed: 0 1;
- color: 0 0 0 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 : 20 0;
- fixed: 1 0;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 0.0 1.0;
- }
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min : 20 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- }
- rel2 {
- relative: 1.0 1.0;
- }
- color: 0 0 0 0;
- align: 1.0 0.0;
- }
- }
- part{ name:"elm.swallow.content";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 400 0;
- align: 0.5 0.5;
- fixed: 1 0;
- rel1 {
- relative: 0.5 1.0;
- to: "pad_t";
- }
- rel2 {
- relative: 0.5 0.0;
- to: "pad_b";
- }
- }
- }
- part { name: "pad_b";
- type: RECT;
- scale : 1;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- align: 0.5 1.0;
- min: 0 60;
- fixed: 0 1;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 1.0;to_x: "pad_l";
- }
- rel2 {
- relative: 1.0 1.0;to_x: "pad_r";
- }
- }
- }
- }
-}
-
-group { name: "elm/popup/content/menustyle";
- parts{
- part{ name:"elm.swallow.content";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 426 320;
- align: 0.5 0.5;
- fixed: 1 0;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 1.0 1.0;
- }
- }
- }
- }
-}
-
-group { name: "elm/popup/content/customstyle";
- parts{
- part{ name:"elm.swallow.content";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 426 0;
- align: 0.0 0.0;
- fixed: 1 0;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 1.0 1.0;
- }
- }
- }
- }
-}
-
-group { name: "elm/popup/content/liststyle";
- parts{
- part { name: "pad_t";
- type: RECT;
- scale : 1;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- align: 0.5 0.0;
- min: 0 5;
- fixed: 0 1;
- color: 0 255 0 255;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 0.0 0.0;
- }
- }
- }
-
- part{ name:"elm.swallow.content";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 426 620;
- align: 0.5 0.5;
- fixed: 1 0;
- rel1 {
- relative: 0.0 1.0; to:"pad_t";
- }
- rel2 {
- relative: 1.0 1.0;
- }
- }
- }
- }
-}
-
-group { name: "elm/popup/buttons1/default";
- alias: "elm/ctxpopup/buttons1/default";
- parts{
- part{ name:"actionbtn1";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 308 60;
- max: 308 60;
- fixed : 1 1;
- align: 0.5 1.0;
- rel1 {
- relative: 0.5 0.0;
- }
- rel2 {
- relative: 0.5 1.0;
- }
- }
- }
- }
-}
-
-group { name: "elm/popup/buttons2/default";
- alias: "elm/ctxpopup/buttons2/default";
- parts{
- part{ name:"actionbtn1";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 200 60;
- max: 200 60;
- fixed : 1 1;
- align: 1.0 1.0;
- rel1 {
- relative: 0.0 0.0;
- to: "elm.rect.pad_btn";
- }
- rel2 {
- relative: 0.0 1.0;
- to: "elm.rect.pad_btn";
- }
- }
- }
- part { name: "elm.rect.pad_btn";
- type: RECT;
- scale : 1;
- description { state: "default" 0.0;
- min: 6 60;
- max: 6 60;
- fixed : 1 1;
- align: 0.5 1.0;
- color: 0 0 0 0;
- rel1 {
- relative: 0.5 0.0;
- }
- rel2 {
- relative: 0.5 1.0;
- }
- }
- }
- part{ name:"actionbtn2";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 200 60;
- max: 200 60;
- fixed : 1 1;
- align: 0.0 1.0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.rect.pad_btn";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.rect.pad_btn";
- }
- }
- }
- }
-}
-
-group { name: "elm/popup/buttons3/default";
- alias: "elm/ctxpopup/buttons3/default";
- parts{
- part{ name:"actionbtn1";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 126 60;
- max: 126 60;
- fixed : 1 1;
- align: 1.0 1.0;
- rel1 {
- relative: 0.0 0.0;
- to: "elm.rect.pad_btn";
- }
- rel2 {
- relative: 0.0 1.0;
- to: "elm.rect.pad_btn";
- }
- }
- }
- part { name: "elm.rect.pad_btn";
- type: RECT;
- scale : 1;
- description { state: "default" 0.0;
- min: 6 60;
- max: 6 60;
- fixed : 1 1;
- align: 0.5 1.0;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 0.0;
- to: "actionbtn2";
- }
- rel2 {
- relative: 0.0 1.0;
- to: "actionbtn2";
- }
- }
- }
- part{ name:"actionbtn2";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 126 60;
- max: 126 60;
- fixed : 1 1;
- align: 0.5 1.0;
- rel1 {
- relative: 0.5 0.0;
- }
- rel2 {
- relative: 0.5 1.0;
- }
- }
- }
- part { name: "elm.rect.pad_btn2";
- type: RECT;
- scale : 1;
- description { state: "default" 0.0;
- min: 6 60;
- max: 6 60;
- fixed : 1 1;
- align: 0.5 1.0;
- color: 0 0 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "actionbtn2";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "actionbtn2";
- }
- }
- }
- part{ name:"actionbtn3";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 126 60;
- max: 126 60;
- fixed : 1 1;
- align: 0.0 1.0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.rect.pad_btn2";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.rect.pad_btn2";
- }
- }
- }
- }
-}
-
-group { name: "elm/popup/base/volumebarstyle";
- parts {
- images {
- image: "00_volume_popup_bg.png" COMP;
- }
- styles
- {
- style { name: "popup_title_volumebarstyle";
- base: "font=SLP:style=Medium font_size=32 align=center color=#ffffff wrap=word";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
- }
-
- part { name: "base";
- type: RECT;
- scale : 1;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- min: 262 0;
- // max: 262 424;
- max: 262 480;
- color: 0 0 0 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "background";
- scale : 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- image {
- normal: "00_volume_popup_bg.png";
- border: 11 11 15 19;
- middle: DEFAULT;
- border_scale: 1;
- }
- }
- }
- part { name: "elm.rect.title";
- type: RECT;
- scale : 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- min: 262 137;
- max: 262 137;
- fixed : 1 1;
- align: 0.5 0.0;
- visible: 0;
- rel1 {
- relative: 0.5 0.0;
- to: "base";
- }
- rel2 {
- relative: 0.5 0.0;
- to: "base";
- }
- }
- description { state: "show_title" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.title";
- type: TEXTBLOCK;
- effect: SHADOW;
- scale:1;
- description {
- state: "default" 0.0;
- text
- {
- style: "popup_title_volumebarstyle";
- min: 0 0;
- max: 0 1;
- }
- visible:0;
- color2: 0 0 0 255;
- rel1 { relative: 0.0 0.0; to: "elm.rect.title"; }
- rel2 { relative: 1.0 1.0; to: "elm.rect.title"; }
- align: 0.5 0.2;
- }
- description { state: "show_title" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "show_title_icon" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.swallow.title.icon";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 54 54;
- max: 54 54;
- fixed: 1 1;
- align: 0.5 0.9;
- rel1 {
- to: "elm.rect.title";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "elm.rect.title";
- relative: 1.0 1.0;
- }
- visible: 0;
- }
- description { state: "show_title_icon" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 262 0;
- align: 0.5 0.5;
- fixed: 1 0;
- rel1 {
- relative: 0.5 0.0;
- to: "base";
- }
- rel2 {
- relative: 0.5 0.0;
- to: "pad_b_button";
- }
- }
- description { state: "show_title" 0.0;
- inherit: "default" 0.0;
- rel1 {
- relative: 0.5 1.0;
- to: "elm.rect.title";
- }
- }
- description { state: "show_button_area" 0.0;
- inherit: "default" 0.0;
- rel2 {
- relative: 0.5 0.0;
- to: "elm.swallow.buttonArea.Background";
- }
- }
- description { state: "show_button_title_area" 0.0;
- inherit: "default" 0.0;
- rel1 {
- relative: 0.5 1.0;
- to: "elm.rect.title";
- }
- rel2 {
- relative: 0.5 0.0;
- to: "elm.swallow.buttonArea.Background";
- }
- }
- }
- part { name: "elm.swallow.buttonArea.Background";
- type: RECT;
- scale : 1;
- description { state: "default" 0.0;
- min: 262 90;
- fixed : 1 1;
- align: 0.5 1.0;
- color: 0 0 0 0;
- visible: 0;
- rel1 {
- relative: 0.5 0.0;
- to: "pad_b_button";
- }
- rel2 {
- relative: 0.5 0.0;
- to: "pad_b_button";
- }
- }
- description { state: "show_button_area" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.swallow.buttonArea";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 262 70;
- max: 262 70;
- fixed : 1 1;
- align: 0.5 0.5;
- visible: 0;
- rel1 {
- relative: 0.0 0.0;
- to: "elm.swallow.buttonArea.Background";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.buttonArea.Background";
- }
- }
- description { state: "show_button_area" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "pad_b_button";
- type: RECT;
- scale : 1;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- align: 0.5 1.0;
- min: 0 5;
- fixed: 0 1;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 1.0;
- to: "base";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "base";
- }
- }
- }
- }
- programs {
- program { name: show_title;
- signal: "elm,state,title,visible";
- source: "elm";
- action: STATE_SET "show_title" 0.0;
- target: "elm.swallow.title";
- target: "elm.rect.title";
- target: "elm.swallow.content";
- target: "base";
- }
- program { name: hide_title;
- signal: "elm,state,title,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.title";
- target: "elm.rect.title";
- target: "elm.swallow.content";
- target: "base";
- }
- program { name: show_title_icon;
- signal: "elm,state,title,icon,visible";
- source: "elm";
- action: STATE_SET "show_title_icon" 0.0;
- target: "elm.swallow.title";
- 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";
- target: "elm.swallow.title.icon";
- }
- program { name: show_button_area;
- signal: "elm,state,button,visible";
- source: "elm";
- action: STATE_SET "show_button_area" 0.0;
- target: "elm.swallow.buttonArea";
- target: "elm.swallow.content";
- target: "elm.swallow.buttonArea.Background";
- target: "base";
- }
- program { name: hide_button_area;
- signal: "elm,state,button,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.buttonArea";
- target: "elm.swallow.content";
- target: "elm.swallow.buttonArea.Background";
- target: "base";
- }
- program { name: show_button_title_area;
- signal: "elm,state,button,title,visible";
- source: "elm";
- action: STATE_SET "show_button_title_area" 0.0;
- target: "elm.swallow.content";
- target: "base";
- }
- program { name: hide_button_title_area;
- signal: "elm,state,button,title,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "base";
- }
- } /* end of programs */
-}
-
-group { name: "elm/popup/content/volumebarstyle";
- parts{
- part { name: "pad_t";
- type: RECT;
- scale : 1;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- align: 0.5 0.0;
- min: 0 2;
- fixed: 0 1;
- color: 0 0 0 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 : 68 0;
- fixed: 1 0;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 0.0 1.0;
- }
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min : 68 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- }
- rel2 {
- relative: 1.0 1.0;
- }
- color: 0 0 0 0;
- align: 1.0 0.0;
- }
- }
- part{ name:"elm.swallow.content";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 126 263;
- align: 0.5 0.5;
- fixed: 1 0;
- rel1 {
- relative: 0.5 1.0;
- to: "pad_t";
- }
- rel2 {
- relative: 0.5 0.0;
- to: "pad_b";
- }
- }
- }
- part { name: "pad_b";
- type: RECT;
- scale : 1;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- align: 0.5 1.0;
- min: 0 2;
- fixed: 0 1;
- color: 0 0 0 0;
- rel1 {
- relative: 0.0 1.0;to_x: "pad_l";
- }
- rel2 {
- relative: 1.0 1.0;to_x: "pad_r";
- }
- }
- }
- }
-}
-
-group { name: "elm/popup/buttons2/volumebarstyle";
- parts{
- part{ name:"actionbtn1";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 120 60;
- max: 120 60;
- fixed : 1 1;
- align: 1.0 1.0;
- rel1 {
- relative: 0.0 0.0;
- to: "elm.rect.pad_btn";
- }
- rel2 {
- relative: 0.0 1.0;
- to: "elm.rect.pad_btn";
- }
- }
- }
- part { name: "elm.rect.pad_btn";
- type: RECT;
- scale : 1;
- description { state: "default" 0.0;
- min: 4 60;
- max: 4 60;
- fixed : 1 1;
- align: 0.5 1.0;
- color: 0 0 0 0;
- rel1 {
- relative: 0.5 0.0;
- }
- rel2 {
- relative: 0.5 1.0;
- }
- }
- }
- part{ name:"actionbtn2";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 120 60;
- max: 120 60;
- fixed : 1 1;
- align: 0.0 1.0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.rect.pad_btn";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.rect.pad_btn";
- }
- }
- }
- }
-}
-
-group { name: "elm/popup/buttons1/volumebarstyle";
- parts{
- part{ name:"actionbtn1";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- min: 210 60;
- max: 210 60;
- fixed : 1 1;
- align: 0.5 1.0;
- rel1 {
- relative: 0.5 0.0;
- }
- rel2 {
- relative: 0.5 1.0;
- }
- }
- }
- }
-}
-
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
- styles {
- style { name: "radio_label_textblock_style";
- base: "font=SLP:style=Medium font_size=14 color=#ffffff wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
- style { name: "radio_label_textblock_disabled_style";
- base: "font=SLP:style=Medium font_size=14 color=#888888 color3=#000000 wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
- }
- group { name: "elm/radio/base/default";
- images {
- image: "00_button_radio.png" COMP;
- image: "00_button_radio_press.png" COMP;
- image: "00_button_radio_focus.png" COMP;
- image: "00_button_radio_dim.png" COMP;
- }
- parts {
- part { name: "bg";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description { state: "default" 0.0;
- rel1.offset: 0 0;
- rel2.relative: 0.0 1.0;
- rel2.offset: 0 0;
- fixed: 1 0;
- align: 0.0 0.5;
- min: 42 42;
- max: 42 42;
- color: 0 0 0 0;
- }
- }
- part { name: "radio";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- to: "bg";
- offset: 0 0;
- }
- rel2 {
- to: "bg";
- offset: 0 0;
- }
- visible: 1;
- color: 255 255 255 255;
- image.normal: "00_button_radio.png";
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_radio_focus.png";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_radio_press.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_radio_dim.png";
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_radio_dim.png";
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1.to_x: "bg";
- rel1.relative: 1.0 0.0;
- rel1.offset: 1 1;
- rel2.to_x: "bg";
- rel2.relative: 1.0 1.0;
- rel2.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;
- color: 128 128 128 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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; }
- color: 255 255 255 255;
- 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_disabled_style";
- min: 1 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;
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program { name: "click";
- signal: "mouse,clicked,1";
- source: "over1";
- action: SIGNAL_EMIT "elm,action,radio,toggle" "";
- }
- program { name: "mouse_up";
- signal: "mouse,up,1";
- source: "over2";
- after: "bg_radio_normal";
- }
- program { name: "bg_radio_normal";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"radio", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"radio", "default", 0.0);
- set_state(PART:"bg", "default", 0.0);
- }
- }
- program { name: "pressed";
- signal: "mouse,down,1";
- source: "over2";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"radio", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"radio", "pressed", 0.0);
- }
- }
- program { name: "radio_on";
- signal: "elm,state,radio,on";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "radio";
- }
- program { name: "radio_off";
- signal: "elm,state,radio,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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: "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";
- 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:"radio", "visible", 0.0);
- else
- set_state(PART:"radio", "default", 0.0);
- }
- }
- }
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define MAIN_W 480
-#define MAIN_H 800
-#define CANCEL_BUTTON_W 100
-#define CANCEL_BUTTON_WITH_PADDING_W 110
-#define CANCEL_BUTTON_WITH_DOUBLE_PADDING_W 120
-#define SEARCHBAR_ITEM_H 50
-
-group {
- name: "elm/searchbar/base/default";
- images {
- image: "search_input_field_bg.png" COMP;
- image: "search_icon.png" COMP;
- }
- parts {
- part { name: "top_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 1;
- state: "default" 0.0;
- min: 0 8;
- fixed: 0 1;
- align: 0 0;
- color: 0 0 0 0;
- rel2.relative: 1.0 0.0;
- }
- description{
- visible: 1;
- state: "default_without_bd" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0 0;
- color: 0 0 0 0;
- rel2.relative: 1.0 0.0;
- }
- }
- part { name: "bottom_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 1;
- state: "default" 0.0;
- min: 0 9;
- fixed: 0 1;
- align: 0 1;
- color: 0 0 0 0;
- rel1.relative: 0.0 1.0;
- }
- description{
- visible: 1;
- state: "default_without_bd" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0 1;
- color: 0 0 0 0;
- rel1.relative: 0.0 1.0;
- }
- }
- part { name: "base_bg";
- type: RECT;
- scale: 1;
- description {
- visible:1;
- min: 0 50;
- fixed: 0 1;
- state: "default" 0.0;
- rel1 { relative: 0.0 1.0; to: "top_padding_rect"; }
- rel2 { relative: 1.0 0.0; to: "bottom_padding_rect"; }
- color: 0 0 0 0;
- }
- }
- part { name: "left_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 0;
- min: 10 0;
- fixed: 1 0;
- align: 0 0;
- rel2.relative: 0.0 1.0;
- }
- }
- part { name: "right_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 0;
- min: 10 0;
- fixed: 1 0;
- align: 1 0;
- rel1.relative: 1.0 0.0;
- }
- }
- part { name: "right_field_and_btn_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 0;
- min: CANCEL_BUTTON_WITH_DOUBLE_PADDING_W 0;
- fixed: 1 0;
- align: 1 0;
- rel1.relative: 1.0 0.0;
- }
- }
- part { name: "right_btn_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 0;
- min: CANCEL_BUTTON_WITH_PADDING_W 0;
- fixed: 1 0;
- align: 1 0;
- rel1.relative: 1.0 0.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: "search_input_field_bg.png";
- border: 6 6 7 5;
- }
- }
- description {
- visible:1;
- state: "in" 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_field_and_btn_padding_rect"; to_y: "base_bg"; }
- image {
- normal: "search_input_field_bg.png";
- border: 6 6 7 5;
- }
- }
- }
- part { name: "left_icon_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 0;
- min: 10 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;
- //mouse_events: 1;
- description {
- visible:1;
- min: 30 30;
- 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: "search_icon.png";
- }
- }
- }
- part { name: "left_text_padding_rect";
- type: RECT;
- scale: 1;
- description{
- visible: 0;
- min: 50 0;
- fixed: 1 0;
- align: 0 0;
- rel1 { to_x: "left_padding_rect"; to_y: "base_bg"; };
- rel2 { relative: 0.0 1.0; to_x: "left_padding_rect"; to_y: "base_bg"; };
- }
- }
- part { name: "search_textfield";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- visible:1;
- state: "default" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.5; to_x: "left_text_padding_rect"; to_y: "inputfield_rect"; };
- rel2 { relative: 0.0 0.5; to_x: "right_padding_rect"; to_y: "inputfield_rect"; };
- }
- description {
- visible:1;
- state: "in" 0.0;
- min: 0 30;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.5; to_x: "left_text_padding_rect"; to_y: "inputfield_rect"; };
- rel2 { relative: 0.0 0.5; to_x: "right_field_and_btn_padding_rect"; to_y: "inputfield_rect"; };
- }
- 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: CANCEL_BUTTON_W 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: CANCEL_BUTTON_W 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";
- }
- program { name: "bd_hide";
- signal: "BDHIDE";
- source: "PROG";
- action: STATE_SET "default_without_bd" 0.0;
- target: "top_padding_rect";
- target: "bottom_padding_rect";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,1";
- source: "search_icon";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
-
- } // end program
-} // end group
-
-group {
- name: "elm/entry/base/search_input";
- styles
- {
- style { name: "entry_search_textblock_style";
- base: "font=SLP:style=Medium font_size=24 color=#000000 wrap=none";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
- tag: "hilight" "+ font=SLP:style=Bold";
- }
-
- style { name: "entry_search_textblock_disabled_style";
- base: "font=SLP:style=Medium font_size=24 color=#00000080 wrap=none";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "em" "+ font=SLP:style=Oblique";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "link" "+ color=#800 underline=on underline_color=#8008";
- tag: "hilight" "+ font=SLP:style=Bold";
- }
- }
-
- parts {
-
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 1;
- scale: 1;
- entry_mode: EDITABLE;
- select_mode: EXPLICIT;
- //cursor_mode: BEFORE;
- multiline: 0;
- source: "elm/entry/selection/search_input"; // selection under
- source4: "elm/entry/cursor/search_input"; // cursorover
- source5: "elm/entry/anchor/search_input"; // anchor under
- description { state: "default" 0.0;
- fixed: 1 0;
- text {
- style: "entry_search_textblock_style";
- min: 0 1;
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- text {
- style: "entry_search_textblock_disabled_style";
- min: 0 1;
- }
- }
- }
- }
- programs {
-
- program { name: "focus";
- signal: "load";
- source: "";
- action: FOCUS_SET;
- target: "elm.text";
- }
-#if 1
- 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";
-
- }
-#endif
- } // end program
-} // end group
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-
-//################################################################
-//Segmented Control
-//################################################################
-
-group { name: "elm/segmented-control/base/default";
- styles{
- style { name: "seg_btn_textblock_style";
- base: "font=SLP:style=Medium font_size=24 style=shadow \
- shadow_color="SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_NORMAL_INC" \
- align=center \
- color="SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_NORMAL_INC" wrap=char";
- tag: "br" "\n";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- style { name: "seg_btn_textblock_style1";
- base: "font=SLP:style=Medium font_size=24 style=shadow \
- shadow_color="SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_NORMAL_INC" \
- align=center \
- color="SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_PRESSED_INC" wrap=char";
- tag: "br" "\n";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- style { name: "seg_btn_textblock_style2";
- base: "font=SLP:style=Medium font_size=24 style=shadow \
- shadow_color="SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_SELECTED_INC" \
- align=center color="SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_SELECTED_INC" \
- wrap=char";
- tag: "br" "\n";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- }
- data.item: "default_font_size" "24";
- data.item: "w_pad" "4";
- data.item: "h_pad" "6";
- data.item: "max_height" "50";
- data.item: "def_rgb" SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_NORMAL_INC;
- data.item: "press_rgb" SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_PRESS_INC;
- data.item: "sel_rgb" SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_SELECT_INC;
-
- parts {
- part { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 166 20;
- max: 467 SEGMENT_H;
- fixed: 0 0;
- rel1 {relative: 0.0 0.0;}
- rel2 {relative: 1.0 1.0;}
- color: 0 255 0 0;
- }
- }
- part { name: "elm.padding.left";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- max: 1 1;
- fixed: 1 0;
- rel1 {relative: 0.0 0.0; to: "bg";}
- rel2 {relative: 0.0 1.0; to: "bg";}
- color: 0 0 255 0;
- align: 0.0 0.0;
- }
- }
- part { name: "elm.padding.right";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- max: 1 1;
- fixed: 1 0;
- rel1 {relative: 1.0 0.0; to: "bg";}
- rel2 {relative: 1.0 1.0; to: "bg";}
- color: 0 0 255 0;
- align: 1.0 0.0;
- }
- }
- part { name: "elm.padding.top";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 1;
- max: 1 1;
- fixed: 1 0;
- rel1 {relative: 0.0 0.0; to: "bg";}
- rel2 {relative: 0.0 1.0; to: "bg";}
- color: 0 0 255 0;
- align: 0.0 0.0;
- }
- }
- part { name: "elm.padding.bottom";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 1;
- max: 1 1;
- fixed: 1 0;
- rel1 {relative: 1.0 0.0; to: "bg";}
- rel2 {relative: 1.0 1.0; to: "bg";}
- color: 0 0 255 0;
- align: 0.0 1.0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 0 0;
- min: 164 20;
- max: 467 SEGMENT_H;
- 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";to_y: "elm.padding.bottom";}
- align: 0.5 0.5;
- }
- }
- }
-}
-group { name: "elm/segment/base/default/default";
- images {
- image: "00_winset_btn_sge_press_center.png" COMP;
- image: "00_winset_btn_sge_focus_centre.png" COMP;
- image: "00_winset_btn_sge_normal_centre.png" COMP;
- }
- parts {
- part { name: "segment";
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- max: 467 SEGMENT_H;
- image {
- normal: "00_winset_btn_sge_normal_centre.png";
- border: 7 7 7 7;
- border_scale: 1;
- middle: 1;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_winset_btn_sge_press_center.png";
- border: 1 1 2 2;
- border_scale: 1;
- middle: 1;
- }
- }
- }
- part { name: "focus_segment";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 1 1;
- max: 467 SEGMENT_H;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image {
- normal: "00_winset_btn_sge_focus_centre.png";
- border: 1 1 2 2;
- border_scale: 1;
- middle: 1;
- }
- }
- }
- part {
- name: "elm.swallow.label.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 0 1;
- visible: 0;
- align: 0.5 0.5;
- min: 1 1;
- max: 467 48;
- rel1 {relative: 0.0 0.5; to: "segment";}
- rel2 {relative: 1.0 0.5; to: "segment";}
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- fixed: 1 1;
- aspect: 0.6 0.6;
- aspect_preference: VERTICAL;
- }
- }
- 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: 2 2;
- 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: 2 2;
- 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: 2 2;
- 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: 2 2;
- 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;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- min: 1 1;
- max: 467 48;
- align: 0.5 0.5;
- rel1 { relative: 1.0 1.0; to_x: "padding_icon_text";}
- rel2 { relative: 0.0 0.0; to_x: "padding_right";}
- text {
- style: "seg_btn_textblock_style";
- min: 0 1;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- text {
- style: "seg_btn_textblock_style1";
- min: 0 1;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- text {
- style: "seg_btn_textblock_style2";
- min: 0 1;
- }
- }
- }
- }
- programs {
- program {
- name: "segment_pressed";
- signal: "elm,state,segment,press";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "segment";
- }
- program {
- name: "segment_released";
- signal: "elm,state,segment,release";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "segment";
- after: "text_hide";
- }
- program {
- name: "text_change";
- signal: "elm,state,text,change";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "elm.text";
- }
- program {
- name: "text_pressed";
- signal: "elm,state,text,pressed";
- source: "elm";
- action: STATE_SET "pressed" 0.0;
- target: "elm.text";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- new st1[31];
- new Float:vl1;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- get_state(PART:"elm.text", st1, 30, vl1);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"padding_icon_text", "visible", 0.0);
- }
- if(!strcmp(st1, "selected"))
- {
- set_state(PART:"elm.text", "selected", 0.0);
- }
- else if(!strcmp(st1, "pressed"))
- set_state(PART:"elm.text", "pressed", 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:"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: "label_show";
- signal: "elm,state,label,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.label.content";
- }
- program {
- name: "focused";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "focus_segment";
- }
- program { name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "focus_segment";
- }
- }
-}
-group { name: "elm/segment/base/default/ellipsis";
- images {
- image: "00_winset_btn_sge_press_center.png" COMP;
- image: "00_winset_btn_sge_focus_centre.png" COMP;
- image: "00_winset_btn_sge_normal_centre.png" COMP;
- }
- parts {
- part { name: "segment";
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- max: 467 SEGMENT_H;
- image {
- normal: "00_winset_btn_sge_normal_centre.png";
- border: 7 7 7 7;
- border_scale: 1;
- middle: 1;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_winset_btn_sge_press_center.png";
- border: 1 1 2 2;
- border_scale: 1;
- middle: 1;
- }
- }
- }
- part { name: "focus_segment";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 1 1;
- max: 467 SEGMENT_H;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image {
- normal: "00_winset_btn_sge_focus_centre.png";
- border: 1 1 2 2;
- border_scale: 1;
- middle: 1;
- }
- }
- }
- part {
- name: "elm.swallow.label.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 0 1;
- visible: 0;
- align: 0.5 0.5;
- min: 1 1;
- max: 467 48;
- rel1 {relative: 0.0 0.5; to: "segment";}
- rel2 {relative: 1.0 0.5; to: "segment";}
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- aspect: 0.6 0.6;
- aspect_preference: VERTICAL;
- }
- }
- 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: 2 2;
- 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: 2 2;
- 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: 2 2;
- 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: 2 2;
- 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;
- fixed: 1 1;
- min: 1 1;
- max: 467 48;
- align: 0.5 0.5;
- rel1 { relative: 1.0 1.0; to_x: "padding_icon_text";}
- rel2 { relative: 0.0 0.0; to_x: "padding_right";}
- color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_NORMAL_INC;
- color2: SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_NORMAL_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC;
- min: 1 1;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC;
- color2: SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_SELECTED_INC;
- min: 1 1;
- }
- }
- }
- programs {
- program {
- name: "segment_pressed";
- signal: "elm,state,segment,press";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "segment";
- }
- program {
- name: "segment_released";
- signal: "elm,state,segment,release";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "segment";
- after: "text_hide";
- }
- program {
- name: "text_change";
- signal: "elm,state,text,change";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "elm.text";
- }
- program {
- name: "text_pressed";
- signal: "elm,state,text,pressed";
- source: "elm";
- action: STATE_SET "pressed" 0.0;
- target: "elm.text";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- new st1[31];
- new Float:vl1;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- get_state(PART:"elm.text", st1, 30, vl1);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"padding_icon_text", "visible", 0.0);
- }
- if(!strcmp(st1, "selected"))
- {
- set_state(PART:"elm.text", "selected", 0.0);
- }
- else if(!strcmp(st1, "pressed"))
- set_state(PART:"elm.text", "pressed", 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:"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: "label_show";
- signal: "elm,state,label,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.label.content";
- }
- program {
- name: "focused";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "focus_segment";
- }
- program { name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "focus_segment";
- }
- }
-}
-group {name: "elm/segment/base/first/default";
- images {
- image: "00_winset_btn_sge_press_left.png" COMP;
- image: "00_winset_btn_sge_focus_left.png" COMP;
- image: "00_winset_btn_sge_normal_left.png" COMP;
- }
- parts {
- part {
- name: "segment";
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- max: 467 SEGMENT_H;
- image {
- normal: "00_winset_btn_sge_normal_left.png";
- border: 6 1 7 7;
- border_scale: 1;
- middle: 1;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_winset_btn_sge_press_left.png";
- border: 6 1 0 0;
- border_scale: 1;
- middle: 1;
- }
- }
- }
- part { name: "focus_segment";
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- visible: 0;
- max: 467 SEGMENT_H;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image {
- normal: "00_winset_btn_sge_focus_left.png";
- border: 6 1 0 0;
- border_scale: 1;
- middle: 1;
- }
- }
- }
- part {
- name: "elm.swallow.label.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 0 1;
- visible: 0;
- align: 0.5 0.5;
- min: 1 1;
- max: 467 48;
- rel1 {relative: 0.0 0.5; to: "segment";}
- rel2 {relative: 1.0 0.5; to: "segment";}
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- aspect: 0.6 0.6;
- aspect_preference: VERTICAL;
- }
- }
- 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: 2 2;
- 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: 2 2;
- 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: 2 2;
- 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: 2 2;
- 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;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- min: 1 1;
- max: 467 48;
- align: 0.5 0.5;
- rel1 { relative: 1.0 1.0; to_x: "padding_icon_text";}
- rel2 { relative: 0.0 0.0; to_x: "padding_right";}
- text {
- style: "seg_btn_textblock_style";
- min: 0 1;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- text {
- style: "seg_btn_textblock_style1";
- min: 0 1;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- text {
- style: "seg_btn_textblock_style2";
- min: 0 1;
- }
- }
- }
- }
- programs {
- program {
- name: "segment_pressed";
- signal: "elm,state,segment,press";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "segment";
- }
- program {
- name: "segment_released";
- signal: "elm,state,segment,release";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "segment";
- after: "text_hide";
- }
- program {
- name: "text_change";
- signal: "elm,state,text,change";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "elm.text";
- }
- program {
- name: "text_pressed";
- signal: "elm,state,text,pressed";
- source: "elm";
- action: STATE_SET "pressed" 0.0;
- target: "elm.text";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- new st1[31];
- new Float:vl1;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- get_state(PART:"elm.text", st1, 30, vl1);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"padding_icon_text", "visible", 0.0);
- }
- if(!strcmp(st1, "selected"))
- {
- set_state(PART:"elm.text", "selected", 0.0);
- }
- else if(!strcmp(st1, "pressed"))
- set_state(PART:"elm.text", "pressed", 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:"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: "label_show";
- signal: "elm,state,label,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.label.content";
- }
- program {
- name: "focused";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "focus_segment";
- }
- program { name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "focus_segment";
- }
- }
-}
-group {name: "elm/segment/base/first/ellipsis";
- images {
- image: "00_winset_btn_sge_press_left.png" COMP;
- image: "00_winset_btn_sge_focus_left.png" COMP;
- image: "00_winset_btn_sge_normal_left.png" COMP;
- }
- parts {
- part {
- name: "segment";
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- max: 467 SEGMENT_H;
- image {
- normal: "00_winset_btn_sge_normal_left.png";
- border: 6 1 7 7;
- border_scale: 1;
- middle: 1;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_winset_btn_sge_press_left.png";
- border: 6 1 0 0;
- border_scale: 1;
- middle: 1;
- }
- }
- }
- part { name: "focus_segment";
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- visible: 0;
- max: 467 SEGMENT_H;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image {
- normal: "00_winset_btn_sge_focus_left.png";
- border: 6 1 0 0;
- border_scale: 1;
- middle: 1;
- }
- }
- }
- part {
- name: "elm.swallow.label.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 0 1;
- visible: 0;
- align: 0.5 0.5;
- min: 1 1;
- max: 467 48;
- rel1 {relative: 0.0 0.5; to: "segment";}
- rel2 {relative: 1.0 0.5; to: "segment";}
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- aspect: 0.6 0.6;
- aspect_preference: VERTICAL;
- }
- }
- 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: 2 2;
- 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: 2 2;
- 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: 2 2;
- 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: 2 2;
- 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;
- fixed: 1 1;
- min: 1 1;
- max: 467 48;
- align: 0.5 0.5;
- rel1 { relative: 1.0 1.0; to_x: "padding_icon_text";}
- rel2 { relative: 0.0 0.0; to_x: "padding_right";}
- color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_NORMAL_INC;
- color2: SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_NORMAL_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC;
- min: 1 1;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC;
- color2: SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_SELECTED_INC;
- min: 1 1;
- }
- }
- }
- programs {
- program {
- name: "segment_pressed";
- signal: "elm,state,segment,press";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "segment";
- }
- program {
- name: "segment_released";
- signal: "elm,state,segment,release";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "segment";
- after: "text_hide";
- }
- program {
- name: "text_change";
- signal: "elm,state,text,change";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "elm.text";
- }
- program {
- name: "text_pressed";
- signal: "elm,state,text,pressed";
- source: "elm";
- action: STATE_SET "pressed" 0.0;
- target: "elm.text";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- new st1[31];
- new Float:vl1;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- get_state(PART:"elm.text", st1, 30, vl1);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"padding_icon_text", "visible", 0.0);
- }
- if(!strcmp(st1, "selected"))
- {
- set_state(PART:"elm.text", "selected", 0.0);
- }
- else if(!strcmp(st1, "pressed"))
- set_state(PART:"elm.text", "pressed", 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:"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: "label_show";
- signal: "elm,state,label,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.label.content";
- }
- program {
- name: "focused";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "focus_segment";
- }
- program { name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "focus_segment";
- }
- }
-}
-group { name: "elm/segment/base/last/default";
- images {
- image: "00_winset_btn_sge_press_right.png" COMP;
- image: "00_winset_btn_sge_focus_right.png" COMP;
- image: "00_winset_btn_sge_normal_right.png" COMP;
- }
- parts {
- part {
- name: "segment";
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- max: 467 SEGMENT_H;
- image {
- normal: "00_winset_btn_sge_normal_right.png";
- border: 1 6 7 7;
- border_scale: 1;
- middle: 1;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_winset_btn_sge_press_right.png";
- border: 1 6 0 0;
- border_scale: 1;
- middle: 1;
- }
- }
- }
- part { name: "focus_segment";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 1 1;
- max: 467 SEGMENT_H;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image {
- normal: "00_winset_btn_sge_focus_right.png";
- border: 1 6 0 0;
- border_scale: 1;
- middle: 1;
- }
- }
- }
-
- part {
- name: "elm.swallow.label.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 0 1;
- visible: 0;
- align: 0.5 0.5;
- min: 1 1;
- max: 467 48;
- rel1 {relative: 0.0 0.5; to: "segment";}
- rel2 {relative: 1.0 0.5; to: "segment";}
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- aspect: 0.6 0.6;
- aspect_preference: VERTICAL;
- }
- }
- 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: 2 2;
- 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: 2 2;
- 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: 2 2;
- 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: 2 2;
- 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: "defaultvisible" 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;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- min: 1 1;
- max: 467 48;
- align: 0.5 0.5;
- rel1 { relative: 1.0 1.0; to_x: "padding_icon_text";}
- rel2 { relative: 0.0 0.0; to_x: "padding_right";}
- text {
- style: "seg_btn_textblock_style";
- min: 0 1;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- text {
- style: "seg_btn_textblock_style1";
- min: 0 1;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- text {
- style: "seg_btn_textblock_style2";
- min: 0 1;
- }
- }
- }
- }
- programs {
- program {
- name: "segment_pressed";
- signal: "elm,state,segment,press";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "segment";
- }
- program {
- name: "segment_released";
- signal: "elm,state,segment,release";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "segment";
- after: "text_hide";
- }
- program {
- name: "text_change";
- signal: "elm,state,text,change";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "elm.text";
- }
- program {
- name: "text_pressed";
- signal: "elm,state,text,pressed";
- source: "elm";
- action: STATE_SET "pressed" 0.0;
- target: "elm.text";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- new st1[31];
- new Float:vl1;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- get_state(PART:"elm.text", st1, 30, vl1);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"padding_icon_text", "visible", 0.0);
- }
- if(!strcmp(st1, "selected"))
- {
- set_state(PART:"elm.text", "selected", 0.0);
- }
- else if(!strcmp(st1, "pressed"))
- set_state(PART:"elm.text", "pressed", 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:"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: "label_show";
- signal: "elm,state,label,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.label.content";
- }
- program {
- name: "focused";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "focus_segment";
- }
- program { name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "focus_segment";
- }
- }
-}
-group { name: "elm/segment/base/last/ellipsis";
- images {
- image: "00_winset_btn_sge_press_right.png" COMP;
- image: "00_winset_btn_sge_focus_right.png" COMP;
- image: "00_winset_btn_sge_normal_right.png" COMP;
- }
- parts {
- part {
- name: "segment";
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- max: 467 SEGMENT_H;
- image {
- normal: "00_winset_btn_sge_normal_right.png";
- border: 1 6 7 7;
- border_scale: 1;
- middle: 1;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_winset_btn_sge_press_right.png";
- border: 1 6 0 0;
- border_scale: 1;
- middle: 1;
- }
- }
- }
- part { name: "focus_segment";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 1 1;
- max: 467 SEGMENT_H;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image {
- normal: "00_winset_btn_sge_focus_right.png";
- border: 1 6 0 0;
- border_scale: 1;
- middle: 1;
- }
- }
- }
- part {
- name: "elm.swallow.label.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 0 1;
- visible: 0;
- align: 0.5 0.5;
- min: 1 1;
- max: 467 48;
- rel1 {relative: 0.0 0.5; to: "segment";}
- rel2 {relative: 1.0 0.5; to: "segment";}
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- aspect: 0.6 0.6;
- aspect_preference: VERTICAL;
- }
- }
- 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: 2 2;
- 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: 2 2;
- 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: 2 2;
- 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: 2 2;
- 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;
- fixed: 1 1;
- min: 1 1;
- max: 467 48;
- align: 0.5 0.5;
- rel1 { relative: 1.0 1.0; to_x: "padding_icon_text";}
- rel2 { relative: 0.0 0.0; to_x: "padding_right";}
- color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_NORMAL_INC;
- color2: SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_NORMAL_INC;
- text {
- font: "SLP:style=Medium";
- size: 24;
- min: 0 0;
- align: 0.5 0.5;
- max: 1 0;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC;
- min: 1 1;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC;
- color2: SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_SELECTED_INC;
- min: 1 1;
- }
- }
- }
- programs {
- program {
- name: "segment_pressed";
- signal: "elm,state,segment,press";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "segment";
- }
- program {
- name: "segment_released";
- signal: "elm,state,segment,release";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "segment";
- after: "text_hide";
- }
- program {
- name: "text_change";
- signal: "elm,state,text,change";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "elm.text";
- }
- program {
- name: "text_pressed";
- signal: "elm,state,text,pressed";
- source: "elm";
- action: STATE_SET "pressed" 0.0;
- target: "elm.text";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- new st1[31];
- new Float:vl1;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- get_state(PART:"elm.text", st1, 30, vl1);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"padding_icon_text", "visible", 0.0);
- }
- if(!strcmp(st1, "selected"))
- {
- set_state(PART:"elm.text", "selected", 0.0);
- }
- else if(!strcmp(st1, "pressed"))
- set_state(PART:"elm.text", "pressed", 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:"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: "label_show";
- signal: "elm,state,label,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.label.content";
- }
- program {
- name: "focused";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "focus_segment";
- }
- program { name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "focus_segment";
- }
- }
-}
-group { name: "elm/segment/base/single/default";
- images {
- image: "00_button_02_normal.png" COMP;
- image: "00_button_popup_focus.png" COMP;
- image: "00_winset_btn_sge_normal.png" COMP;
- }
- parts {
- part {
- name: "segment";
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- max: 467 SEGMENT_H;
- image {
- normal: "00_winset_btn_sge_normal.png";
- border: 7 7 7 7;
- border_scale: 1;
- middle: 1;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_button_popup_focus.png";
- border: 7 7 7 7;
- border_scale: 1;
- middle: 1;
- }
- }
- }
- part {
- name: "elm.swallow.label.content";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- align: 0.5 0.5;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- aspect: 0.6 0.6;
- aspect_preference: VERTICAL;
- }
- }
- 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: 2 2;
- 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: 2 2;
- 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: 2 2;
- 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: 2 2;
- 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;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- min: 1 1;
- max: 467 48;
- align: 0.5 0.5;
- rel1 { relative: 1.0 1.0; to_x: "padding_icon_text";}
- rel2 { relative: 0.0 0.0; to_x: "padding_right";}
- text {
- style: "seg_btn_textblock_style";
- min: 0 1;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- text {
- style: "seg_btn_textblock_style1";
- min: 0 1;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 1 1;
- text {
- style: "seg_btn_textblock_style2";
- min: 0 1;
- }
- }
- }
- }
- programs {
- program {
- name: "segment_pressed";
- signal: "elm,state,segment,press";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "segment";
- }
- program {
- name: "segment_released";
- signal: "elm,state,segment,release";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "segment";
- after: "text_hide";
- }
- program {
- name: "text_change";
- signal: "elm,state,text,change";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "elm.text";
- }
- program {
- name: "text_pressed";
- signal: "elm,state,text,pressed";
- source: "elm";
- action: STATE_SET "pressed" 0.0;
- target: "elm.text";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- new st1[31];
- new Float:vl1;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- get_state(PART:"elm.text", st1, 30, vl1);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"padding_icon_text", "visible", 0.0);
- }
- if(!strcmp(st1, "selected"))
- {
- set_state(PART:"elm.text", "selected", 0.0);
- }
- else if(!strcmp(st1, "pressed"))
- set_state(PART:"elm.text", "pressed", 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:"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: "label_show";
- signal: "elm,state,label,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.label.content";
- }
- }
-}
-group { name: "elm/label/base/segment";
- data.item: "default_font_size" "24";
- data.item: "min_font_size" "16";
- data.item: "max_font_size" "24";
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "label.text.clip";
- type: RECT;
- description { state: "default" 0.0;
- visible: 1;
- color: SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC;
- rel1 { relative: 0 0; to: "label.swallow.background"; }
- rel2 { relative: 1 1; to: "label.swallow.background"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- effect: SHADOW;
- mouse_events: 0;
- 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.5;
- text {
- style: "seg_btn_textblock_style";
- align: 0.0 0.5;
- min: 1 0;
- }
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- text {
- style: "seg_btn_textblock_style1";
- min: 1 0;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- text {
- style: "seg_btn_textblock_style2";
- min: 1 0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-group {
- name: "elm/selectioninfo/base/default";
-
- parts {
- part {
- name: "base";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.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: "base";
- rel2.to: "base";
- }
- }
- }
- programs {
- program {
- name: "show";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- }
- program {
- name: "show_2";
- signal: "show";
- 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/standard/selectioninfo/bottom_12";
-
- images {
- image : "00_list_alert_popup_bg.png" COMP;
- }
-
- parts {
- part {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- scale : 1;
- description {
- state: "default" 0.0;
- min: 464 82; // 464, 66+4+12
- 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 66;
- fixed: 0 1;
- align: 0.5 0.0;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 0.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "elm.icon";
- type: IMAGE;
- mouse_events: 0;
- scale : 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.0;
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 1.0 1.0; to: "base"; }
- image.normal: "00_list_alert_popup_bg.png";
- image.border: 11 12 11 16;
- image.border_scale: 1;
- }
- }
-
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- rel1 { relative: 0.0 0.0; to: "elm.icon"; }
- rel2 { relative: 1.0 1.0; to: "elm.icon"; }
- color: 255 255 255 255;
- text {
- font: "SLP";
- size: 24;
- text: "";
- align: 0.5 0.5;
- }
- }
- }
- }
-
- programs {
- program {
- name: "clicked";
- signal: "mouse,clicked,1";
- source: "base";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- }
-}
-
-group {
- name: "elm/standard/selectioninfo/bottom_64";
-
- images {
- image : "00_list_alert_popup_bg.png" COMP;
- }
-
- parts {
- part {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- scale : 1;
- description {
- state: "default" 0.0;
- min: 464 134; // 464, 66+4+64
- 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 66;
- fixed: 0 1;
- align: 0.5 0.0;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 0.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "elm.icon";
- type: IMAGE;
- mouse_events: 0;
- scale : 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.0;
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 1.0 1.0; to: "base"; }
- image.normal: "00_list_alert_popup_bg.png";
- image.border: 11 12 11 16;
- image.border_scale: 1;
- }
- }
-
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- rel1 { relative: 0.0 0.0; to: "elm.icon"; }
- rel2 { relative: 1.0 1.0; to: "elm.icon"; }
- color: 255 255 255 255;
- text {
- font: "SLP";
- size: 24;
- text: "";
- align: 0.5 0.5;
- }
- }
- }
- }
-
- programs {
- program {
- name: "clicked";
- signal: "mouse,clicked,1";
- source: "base";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- }
-}
-
-group {
- name: "elm/standard/selectioninfo/bottom_86";
-
- images {
- image : "00_list_alert_popup_bg.png" COMP;
- }
-
- parts {
- part {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- scale : 1;
- description {
- state: "default" 0.0;
- min: 464 156; // 464, 66+4+86
- 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 66;
- fixed: 0 1;
- align: 0.5 0.0;
- rel1 { relative: 0.0 0.0; to: "bg"; }
- rel2 { relative: 1.0 0.0; to: "bg"; }
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "elm.icon";
- type: IMAGE;
- mouse_events: 0;
- scale : 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.0;
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 1.0 1.0; to: "base"; }
- image.normal: "00_list_alert_popup_bg.png";
- image.border: 11 12 11 16;
- image.border_scale:1;
- }
- }
-
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- align: 0.5 0.5;
- rel1 { relative: 0.0 0.0; to: "elm.icon"; }
- rel2 { relative: 1.0 1.0; to: "elm.icon"; }
- color: 255 255 255 255;
- text {
- font: "SLP";
- size: 24;
- text: "";
- align: 0.5 0.5;
- }
- }
- }
- }
-
- programs {
- program {
- name: "clicked";
- signal: "mouse,clicked,1";
- source: "base";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- }
-}
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
- group { name: "elm/slider/horizontal/default";
- images {
- image: "00_slider_bar_bg.png" COMP;
- image: "00_slider_bar.png" COMP;
- image: "00_slider_bar_press.png" COMP;
- image: "00_slider_handle.png" COMP;
- image: "00_slider_handle_press.png" COMP;
- image: "00_slider_popup_bg.png" COMP;
- image: "01_slider_scroll_popup.png" COMP;
- image: "sl_bt_0.png" COMP;
- image: "sl_bt_1.png" COMP;
- image: "sl_bt_2.png" COMP;
- image: "sl_bt2_0_0.png" COMP;
- image: "sl_bt2_0_1.png" COMP;
- image: "sl_bt2_0_2.png" COMP;
- image: "sl_bt2_1.png" COMP;
- image: "sl_bt2_2.png" COMP;
- image: "sl_units.png" COMP;
- }
-
- script {
- public value_hide = 0;
- public invert_on = 0;
-
- public set_value_show() {
- set_int(value_hide, 0);
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- public set_value_hide() {
- set_int(value_hide, 1);
- set_state(PART:"elm.indicator", "hide", 0.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(value_hide) == 1) {
- set_state(PART:"elm.indicator", "hide", 0.0);
- set_state(PART:"button0", "visible", 0.0);
- set_state(PART:"popup", "default", 0.0);
-
- } else {
- set_state(PART:"elm.indicator", "visible", 0.0);
- set_state(PART:"button0", "visible", 0.0);
- set_state(PART:"popup", "visible", 0.0);
- }
- 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(value_hide) == 1)
- set_state(PART:"elm.indicator", "hide", 0.0);
- else
- set_state(PART:"elm.indicator", "default", 0.0);
- 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);
- set_state(PART:"button0", "default", 0.0);
- set_state(PART:"popup", "default", 0.0);
- }
- }
-
- parts {
- part { name: "base";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- max: 99999 14;
- min: 0 14;
- rel1 { to: "bg";
- offset: 1 0;
- }
- rel2 { to: "bg";
- offset: -5 -1;
- }
- image.normal: "00_slider_bar_bg.png";
- image.border: 7 7 6 7;
- image.border_scale: 1;
- }
- }
- part { name: "level";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- rel1.to: "base";
- rel2 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- offset: -5 -1;
- relative: 0.5 1.0;
- }
- image.normal: "00_slider_bar.png";
- image.border: 7 7 6 7;
- image.border_scale: 1;
- }
- description { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_slider_bar_press.png";
- }
- }
- part { name: "level2";
- mouse_events: 0;
- scale: 1;
- 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";
- rel2.offset: -2 -1;
- image.normal: "00_slider_bar.png";
- image.border: 7 7 6 7;
- 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;
- image.normal: "00_slider_bar_press.png";
- }
- }
- 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: 48 48;
- max: 99999 48;
- align: 1.0 0.5;
- rel1 {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- // offset: 2 0;
- }
- rel2 {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- // offset: -3 -1;
- }
- }
- }
- 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: 164 160 149 255;
- text {
- font: "SLP:style=Bold";
- size: 18;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- 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: 164 160 149 255;
- text {
- font: "SLP:style=Bold";
- size: 18;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- 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: RECT;
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description { state: "default" 0.0;
- min: 48 48;
- 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: "button0";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 48 48;
- max: 48 48;
- rel1.to: "elm.dragable.slider";
- rel2.to: "elm.dragable.slider";
- image {
- normal: "00_slider_handle.png";
- border: 15 15 15 15;
- border_scale: 1;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_slider_handle_press.png";
- }
- }
- }
- part { name: "popup";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- to: "button0";
- relative: -0.4 -1.8;
- }
- rel2 {
- to: "button0";
- relative: 1.5 0.1;
- }
- image {
- normal: "00_slider_popup_bg.png";
- border: 13 21 17 19;
- border_scale: 1;
- }
- visible: 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
-// effect: SOFT_SHADOW;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 {
- to: "button0";
- relative: 0.0 0;
- offset: 0 0;
- }
- rel2 {
- to: "button0";
- relative: 1.0 1.0;
- offset: -2 -2;
- }
- color: 241 150 27 255;
- color3: 0 0 0 64;
- text {
- font: "SLP:style=Bold";
- size: 36;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 241 150 27 255;
- text.size: 60;
- rel1.to: "popup";
- rel2 {
- to: "popup";
- offset: -2 -10;
- }
- }
- description { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 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: "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: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- script {
- set_value_show();
- }
- }
- program { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- script {
- set_value_hide();
- }
- }
- 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();
- }
- }
- }
- }
-
-
- group { name: "elm/slider/horizontal/volume";
- images {
- image: "00_volume_bg.png" COMP;
- image: "00_volume_01.png" COMP;
- image: "00_volume_02.png" COMP;
- image: "00_volume_03.png" COMP;
- image: "00_volume_04.png" COMP;
- image: "00_volume_05.png" COMP;
- image: "00_volume_06.png" COMP;
- image: "00_volume_07.png" COMP;
- image: "00_volume_08.png" COMP;
- image: "00_volume_09.png" COMP;
- image: "00_volume_10.png" COMP;
- image: "00_volume_11.png" COMP;
- image: "00_volume_12.png" COMP;
- image: "00_volume_13.png" COMP;
- image: "00_volume_14.png" COMP;
- }
- script {
- public volume_state_change(){
- new Float:x, Float:y;
- get_drag(PART:"elm.dragable.slider", x, y);
- if(x < 0.0333333)
- set_state(PART:"base", "default", 0.0);
- else if(x < 0.1)
- set_state(PART:"base", "volume_01", 0.0);
- else if(x < 0.1666666)
- set_state(PART:"base", "volume_02", 0.0);
- else if(x < 0.2333333)
- set_state(PART:"base", "volume_03", 0.0);
- else if(x < 0.3)
- set_state(PART:"base", "volume_04", 0.0);
- else if(x < 0.3666666)
- set_state(PART:"base", "volume_05", 0.0);
- else if(x < 0.4333333)
- set_state(PART:"base", "volume_06", 0.0);
- else if(x < 0.5)
- set_state(PART:"base", "volume_07", 0.0);
- else if(x < 0.5666666)
- set_state(PART:"base", "volume_08", 0.0);
- else if(x < 0.6333333)
- set_state(PART:"base", "volume_09", 0.0);
- else if(x < 0.7)
- set_state(PART:"base", "volume_10", 0.0);
- else if(x < 0.7666666)
- set_state(PART:"base", "volume_11", 0.0);
- else if(x < 0.8333333)
- set_state(PART:"base", "volume_12", 0.0);
- else if(x < 0.9)
- set_state(PART:"base", "volume_13", 0.0);
- else
- set_state(PART:"base", "volume_14", 0.0);
- }
- }
- parts {
- part { name: "base";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- max: 99999 62;
- min: 0 62;
- rel1 { to: "bg";
- offset: 0 0;
- }
- rel2 { to: "bg";
- offset: -1 -1;
- }
- image.normal: "00_volume_bg.png";
- }
-#define SLIDER_BG_PART(part_number)\
- description {\
- state: "volume_"part_number 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_volume_"part_number".png"; \
- }
- SLIDER_BG_PART(01)
- SLIDER_BG_PART(02)
- SLIDER_BG_PART(03)
- SLIDER_BG_PART(04)
- SLIDER_BG_PART(05)
- SLIDER_BG_PART(06)
- SLIDER_BG_PART(07)
- SLIDER_BG_PART(08)
- SLIDER_BG_PART(09)
- SLIDER_BG_PART(10)
- SLIDER_BG_PART(11)
- SLIDER_BG_PART(12)
- SLIDER_BG_PART(13)
- SLIDER_BG_PART(14)
-
- }
- 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: 0 0;
- }
- }
- part { name: "elm.swallow.bar";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 48 62;
- max: 99999 62;
- 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: 164 160 149 255;
- text {
- font: "SLP:style=Bold";
- size: 18;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- 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: 164 160 149 255;
- text {
- font: "SLP:style=Bold";
- size: 18;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- 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: RECT;
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description { state: "default" 0.0;
- min: 4 62;
- 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: "button0";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 4 62;
- max: 4 62;
- color: 0 0 0 0;
- rel1.to: "elm.dragable.slider";
- rel2.to: "elm.dragable.slider";
- }
- }*/
- }
- 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: "volume_state_change";
- signal: "elm,state,drag";
- source: "elm";
- script {
- volume_state_change()
- }
- }
- }
- }
-
- group { name: "elm/slider/vertical/volume";
- images {
- image: "00_volume_00_ver.png" COMP;
- image: "00_volume_01_ver.png" COMP;
- image: "00_volume_02_ver.png" COMP;
- image: "00_volume_03_ver.png" COMP;
- image: "00_volume_04_ver.png" COMP;
- image: "00_volume_05_ver.png" COMP;
- image: "00_volume_06_ver.png" COMP;
- image: "00_volume_07_ver.png" COMP;
- image: "00_volume_08_ver.png" COMP;
- image: "00_volume_09_ver.png" COMP;
- image: "00_volume_10_ver.png" COMP;
- image: "00_volume_11_ver.png" COMP;
- image: "00_volume_12_ver.png" COMP;
- image: "00_volume_13_ver.png" COMP;
- image: "00_volume_14_ver.png" COMP;
- }
- script {
- public volume_state_change(){
- new Float:x, Float:y;
- get_drag(PART:"elm.dragable.slider", x, y);
- if(y <= 0.1)
- set_state(PART:"base", "volume_14", 0.0);
- else if(y <= 0.1666666)
- set_state(PART:"base", "volume_13", 0.0);
- else if(y <= 0.2333333)
- set_state(PART:"base", "volume_12", 0.0);
- else if(y <= 0.3)
- set_state(PART:"base", "volume_11", 0.0);
- else if(y <= 0.3666666)
- set_state(PART:"base", "volume_10", 0.0);
- else if(y <= 0.4333333)
- set_state(PART:"base", "volume_09", 0.0);
- else if(y <= 0.5)
- set_state(PART:"base", "volume_08", 0.0);
- else if(y <= 0.5666666)
- set_state(PART:"base", "volume_07", 0.0);
- else if(y <= 0.6333333)
- set_state(PART:"base", "volume_06", 0.0);
- else if(y <= 0.7)
- set_state(PART:"base", "volume_05", 0.0);
- else if(y <= 0.7666666)
- set_state(PART:"base", "volume_04", 0.0);
- else if(y <= 0.8333333)
- set_state(PART:"base", "volume_03", 0.0);
- else if(y <= 0.9)
- set_state(PART:"base", "volume_02", 0.0);
- else if(y <= 0.9666666)
- set_state(PART:"base", "volume_01", 0.0);
- else
- set_state(PART:"base", "default", 0.0);
- }
- }
- parts {
- part { name: "base";
- scale: 1;
- description { state: "default" 0.0;
- max: 126 999999;
- min: 126 0;
- fixed: 1 1;
- rel1 { to: "bg";
- offset: 0 0;
- }
- rel2 { to: "bg";
- offset: -1 -1;
- }
- image.normal: "00_volume_00_ver.png";
- }
-#define SLIDER_VER_BG_PART(part_number)\
- description {\
- state: "volume_"part_number 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_volume_"part_number"_ver.png"; \
- }
- SLIDER_VER_BG_PART(01)
- SLIDER_VER_BG_PART(02)
- SLIDER_VER_BG_PART(03)
- SLIDER_VER_BG_PART(04)
- SLIDER_VER_BG_PART(05)
- SLIDER_VER_BG_PART(06)
- SLIDER_VER_BG_PART(07)
- SLIDER_VER_BG_PART(08)
- SLIDER_VER_BG_PART(09)
- SLIDER_VER_BG_PART(10)
- SLIDER_VER_BG_PART(11)
- SLIDER_VER_BG_PART(12)
- SLIDER_VER_BG_PART(13)
- SLIDER_VER_BG_PART(14)
-
- }
- 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: 0 0;
- }
- }
- part { name: "elm.swallow.bar";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 126 48;
- max: 126 99999;
- align: 0.5 1.0;
- 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: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- // min: 0 10;
- 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: SWALLOW;
- description {
- state: "default" 0.0;
- visible: 0;
- // min: 0 10;
- 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.swallow.icon";
- type: SWALLOW;
- scale: 1;
- 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.icon";
- rel1.relative: 0.0 1.0;
- rel2.to_y: "elm.swallow.icon";
- rel2.relative: 1.0 1.0;
- color: 164 160 149 255;
- text {
- font: "SLP:style=Bold";
- size: 18;
- min: 0 0;
- align: 0.5 0;
- }
- }
- 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: 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;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- }
- }
- part { name: "units";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- rel1 {
- to_y: "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: 0.5 1.0;
- rel1.relative: 0.0 0.0;
- rel1.to_y: "elm.swallow.end";
- rel2.relative: 1.0 0.0;
- rel2.to_y: "elm.swallow.end";
- color: 164 160 149 255;
- text {
- font: "SLP:style=Bold";
- size: 18;
- min: 0 0;
- align: 0.5 0.0;
- }
- }
- 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: RECT;
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 0 0 0;
- y: 1 1 0;
- confine: "bg";
- }
- description { state: "default" 0.0;
- min: 126 5;
- fixed: 1 1;
- rel1 {
- relative: 0.0 0.5;
- to_x: "bg";
- }
- rel2 {
- relative: 1.0 0.5;
- to_x: "bg";
- }
- color: 0 0 0 0;
- }
- }
-/* part { name: "button0";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 4 126;
- max: 4 126;
- color: 0 0 0 0;
- rel1.to: "elm.dragable.slider";
- rel2.to: "elm.dragable.slider";
- }
- }*/
- }
- 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: "volume_state_change";
- signal: "elm,state,drag";
- source: "elm";
- script {
- volume_state_change()
- }
- }
- }
- }
-
- group { name: "elm/slider/horizontal/ebook";
- images {
- image: "00_slider_bar_bg.png" COMP;
- image: "00_slider_bar.png" COMP;
- image: "00_slider_bar_press.png" COMP;
- image: "00_ebook_slider_handle.png" COMP;
- image: "00_ebook_slider_handle_press.png" COMP;
- }
-
- script {
- public value_hide = 0;
- public invert_on = 0;
-
- public set_value_show() {
- set_int(value_hide, 0);
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- public set_value_hide() {
- set_int(value_hide, 1);
- set_state(PART:"elm.indicator", "hide", 0.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(value_hide) == 1) {
- set_state(PART:"elm.indicator", "hide", 0.0);
- set_state(PART:"button0", "visible", 0.0);
-
- } else {
- set_state(PART:"elm.indicator", "visible", 0.0);
- set_state(PART:"button0", "visible", 0.0);
- }
- 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(value_hide) == 1)
- set_state(PART:"elm.indicator", "hide", 0.0);
- else
- set_state(PART:"elm.indicator", "default", 0.0);
- 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);
- set_state(PART:"button0", "default", 0.0);
- }
- }
-
- parts {
- part { name: "base";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- max: 99999 14;
- min: 0 14;
- rel1 { to: "bg";
- offset: 11 0;
- }
- rel2 { to: "bg";
- offset: -15 -1;
- }
- image.normal: "00_slider_bar_bg.png";
- image.border: 7 7 6 7;
- image.border_scale: 1;
- }
- }
- part { name: "level";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- rel1.to: "base";
- rel2 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- offset: -5 -1;
- relative: 0.5 1.0;
- }
- image.normal: "00_slider_bar.png";
- image.border: 7 7 6 7;
- image.border_scale: 1;
- }
- description { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_slider_bar_press.png";
- }
- }
- part { name: "level2";
- mouse_events: 0;
- scale: 1;
- 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";
- rel2.offset: -2 -1;
- image.normal: "00_slider_bar.png";
- image.border: 7 7 6 7;
- 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;
- image.normal: "00_slider_bar_press.png";
- }
- }
- 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: 48 48;
- max: 99999 48;
- align: 1.0 0.5;
- rel1 {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- // offset: 2 0;
- }
- rel2 {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- // offset: -3 -1;
- }
- }
- }
- 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: 164 160 149 255;
- text {
- font: "SLP:style=Bold";
- size: 18;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- 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: 164 160 149 255;
- text {
- font: "SLP:style=Bold";
- size: 18;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- 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: RECT;
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description { state: "default" 0.0;
- min: 48 48;
- 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: "button0";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 48 48;
- max: 48 48;
- rel1.to: "elm.dragable.slider";
- rel2.to: "elm.dragable.slider";
- image {
- normal: "00_ebook_slider_handle.png";
- border: 12 12 12 12;
- border_scale: 1;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_ebook_slider_handle_press.png";
- }
- }
- }
- part { name: "popup";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- to: "button0";
- relative: 0.0 0.0;
- offset: -20 -92;
- }
- rel2 {
- to: "button0";
- relative: 1.0 0.0;
- offset: 22 0;
- }
- image {
- // normal: "00_slider_popup_bg.png";
- border: 13 21 10 22;
- border_scale: 1;
- }
- visible: 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
-// effect: SOFT_SHADOW;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 {
- to: "button0";
- relative: 0.0 0;
- offset: 0 0;
- }
- rel2 {
- to: "button0";
- relative: 1.0 1.0;
- offset: -2 -2;
- }
- color: 241 150 27 255;
- color3: 0 0 0 64;
- text {
- font: "SLP:style=Bold";
- size: 36;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 241 150 27 255;
- text.size: 60;
- rel1.to: "popup";
- rel2 {
- to: "popup";
- offset: -2 -10;
- }
- }
- description { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 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: "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: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- script {
- set_value_show();
- }
- }
- program { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- script {
- set_value_hide();
- }
- }
- 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();
- }
- }
- }
- }
-
- group { name: "elm/slider/vertical/volume7";
- images {
- image: "00_volume7_00_ver.png" COMP;
- image: "00_volume7_01_ver.png" COMP;
- image: "00_volume7_02_ver.png" COMP;
- image: "00_volume7_03_ver.png" COMP;
- image: "00_volume7_04_ver.png" COMP;
- image: "00_volume7_05_ver.png" COMP;
- image: "00_volume7_06_ver.png" COMP;
- image: "00_volume7_07_ver.png" COMP;
- }
- script {
- public volume_state_change(){
- new Float:x, Float:y;
- get_drag(PART:"elm.dragable.slider", x, y);
- if(y <= 0.1875)
- set_state(PART:"base", "volume_07", 0.0);
- else if(y <= 0.3125)
- set_state(PART:"base", "volume_06", 0.0);
- else if(y <= 0.4375)
- set_state(PART:"base", "volume_05", 0.0);
- else if(y <= 0.5625)
- set_state(PART:"base", "volume_04", 0.0);
- else if(y <= 0.6875)
- set_state(PART:"base", "volume_03", 0.0);
- else if(y <= 0.8125)
- set_state(PART:"base", "volume_02", 0.0);
- else if(y <= 0.9375)
- set_state(PART:"base", "volume_01", 0.0);
- else
- set_state(PART:"base", "default", 0.0);
- }
- }
- parts {
- part { name: "base";
- scale: 1;
- description { state: "default" 0.0;
- min: 175 0;
- max: 175 999999;
- fixed: 1 1;
- rel1 { to: "bg";
- offset: 0 0;
- }
- rel2 { to: "bg";
- offset: -1 -1;
- }
- image.normal: "00_volume7_00_ver.png";
- }
-#define SLIDER7_VER_BG_PART(part_number)\
- description {\
- state: "volume_"part_number 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_volume7_"part_number"_ver.png"; \
- }
- SLIDER7_VER_BG_PART(01)
- SLIDER7_VER_BG_PART(02)
- SLIDER7_VER_BG_PART(03)
- SLIDER7_VER_BG_PART(04)
- SLIDER7_VER_BG_PART(05)
- SLIDER7_VER_BG_PART(06)
- SLIDER7_VER_BG_PART(07)
- }
- 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: 0 0;
- }
- }
- part { name: "elm.swallow.bar";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 175 0;
- max: 175 99999;
- align: 0.5 1.0;
- }
- }
- part {
- name: "bar_top_padding";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- // min: 0 10;
- 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: SWALLOW;
- description {
- state: "default" 0.0;
- visible: 0;
- // min: 0 10;
- 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.swallow.icon";
- type: SWALLOW;
- scale: 1;
- 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.icon";
- rel1.relative: 0.0 1.0;
- rel2.to_y: "elm.swallow.icon";
- rel2.relative: 1.0 1.0;
- color: 164 160 149 255;
- text {
- font: "SLP:style=Bold";
- size: 18;
- min: 0 0;
- align: 0.5 0;
- }
- }
- 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: 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;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- }
- }
- part { name: "units";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- rel1 {
- to_y: "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: 0.5 1.0;
- rel1.relative: 0.0 0.0;
- rel1.to_y: "elm.swallow.end";
- rel2.relative: 1.0 0.0;
- rel2.to_y: "elm.swallow.end";
- color: 164 160 149 255;
- text {
- font: "SLP:style=Bold";
- size: 18;
- min: 0 0;
- align: 0.5 0.0;
- }
- }
- 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: RECT;
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 0 0 0;
- y: 1 1 0;
- confine: "bg";
- }
- description { state: "default" 0.0;
- min: 175 5;
- fixed: 1 1;
- rel1 {
- relative: 0.0 0.5;
- to_x: "bg";
- }
- rel2 {
- relative: 1.0 0.5;
- to_x: "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: "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: "volume_state_change";
- signal: "elm,state,drag";
- source: "elm";
- script {
- volume_state_change()
- }
- }
- }
- }
-
- group { name: "elm/slider/vertical/volume15";
- images {
- image: "00_volume15_00_ver.png" COMP;
- image: "00_volume15_01_ver.png" COMP;
- image: "00_volume15_02_ver.png" COMP;
- image: "00_volume15_03_ver.png" COMP;
- image: "00_volume15_04_ver.png" COMP;
- image: "00_volume15_05_ver.png" COMP;
- image: "00_volume15_06_ver.png" COMP;
- image: "00_volume15_07_ver.png" COMP;
- image: "00_volume15_08_ver.png" COMP;
- image: "00_volume15_09_ver.png" COMP;
- image: "00_volume15_10_ver.png" COMP;
- image: "00_volume15_11_ver.png" COMP;
- image: "00_volume15_12_ver.png" COMP;
- image: "00_volume15_13_ver.png" COMP;
- image: "00_volume15_14_ver.png" COMP;
- image: "00_volume15_15_ver.png" COMP;
- }
- script {
- public volume_state_change(){
- new Float:x, Float:y;
- get_drag(PART:"elm.dragable.slider", x, y);
- if(y <= 0.09375)
- set_state(PART:"base", "volume_15", 0.0);
- else if(y <= 0.15625)
- set_state(PART:"base", "volume_14", 0.0);
- else if(y <= 0.21875)
- set_state(PART:"base", "volume_13", 0.0);
- else if(y <= 0.28125)
- set_state(PART:"base", "volume_12", 0.0);
- else if(y <= 0.34375)
- set_state(PART:"base", "volume_11", 0.0);
- else if(y <= 0.40625)
- set_state(PART:"base", "volume_10", 0.0);
- else if(y <= 0.46875)
- set_state(PART:"base", "volume_09", 0.0);
- else if(y <= 0.53125)
- set_state(PART:"base", "volume_08", 0.0);
- else if(y <= 0.59375)
- set_state(PART:"base", "volume_07", 0.0);
- else if(y <= 0.65625)
- set_state(PART:"base", "volume_06", 0.0);
- else if(y <= 0.71875)
- set_state(PART:"base", "volume_05", 0.0);
- else if(y <= 0.78125)
- set_state(PART:"base", "volume_04", 0.0);
- else if(y <= 0.84375)
- set_state(PART:"base", "volume_03", 0.0);
- else if(y <= 0.90625)
- set_state(PART:"base", "volume_02", 0.0);
- else if(y <= 0.96875)
- set_state(PART:"base", "volume_01", 0.0);
- else
- set_state(PART:"base", "default", 0.0);
- }
- }
- parts {
- part { name: "base";
- scale: 1;
- description { state: "default" 0.0;
- max: 175 999999;
- min: 175 0;
- fixed: 1 1;
- rel1 { to: "bg";
- offset: 0 0;
- }
- rel2 { to: "bg";
- offset: -1 -1;
- }
- image.normal: "00_volume15_00_ver.png";
- }
-#define SLIDER15_VER_BG_PART(part_number)\
- description {\
- state: "volume_"part_number 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_volume15_"part_number"_ver.png"; \
- }
- SLIDER15_VER_BG_PART(01)
- SLIDER15_VER_BG_PART(02)
- SLIDER15_VER_BG_PART(03)
- SLIDER15_VER_BG_PART(04)
- SLIDER15_VER_BG_PART(05)
- SLIDER15_VER_BG_PART(06)
- SLIDER15_VER_BG_PART(07)
- SLIDER15_VER_BG_PART(08)
- SLIDER15_VER_BG_PART(09)
- SLIDER15_VER_BG_PART(10)
- SLIDER15_VER_BG_PART(11)
- SLIDER15_VER_BG_PART(12)
- SLIDER15_VER_BG_PART(13)
- SLIDER15_VER_BG_PART(14)
- SLIDER15_VER_BG_PART(15)
-
- }
- 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: 0 0;
- }
- }
- part { name: "elm.swallow.bar";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: 175 0;
- max: 175 99999;
- align: 0.5 1.0;
- }
- }
- part {
- name: "bar_top_padding";
- type: SWALLOW;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- // min: 0 10;
- 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: SWALLOW;
- description {
- state: "default" 0.0;
- visible: 0;
- // min: 0 10;
- 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.swallow.icon";
- type: SWALLOW;
- scale: 1;
- 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.icon";
- rel1.relative: 0.0 1.0;
- rel2.to_y: "elm.swallow.icon";
- rel2.relative: 1.0 1.0;
- color: 164 160 149 255;
- text {
- font: "SLP:style=Bold";
- size: 18;
- min: 0 0;
- align: 0.5 0;
- }
- }
- 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: 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;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- }
- }
- part { name: "units";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- rel1 {
- to_y: "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: 0.5 1.0;
- rel1.relative: 0.0 0.0;
- rel1.to_y: "elm.swallow.end";
- rel2.relative: 1.0 0.0;
- rel2.to_y: "elm.swallow.end";
- color: 164 160 149 255;
- text {
- font: "SLP:style=Bold";
- size: 18;
- min: 0 0;
- align: 0.5 0.0;
- }
- }
- 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: RECT;
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 0 0 0;
- y: 1 1 0;
- confine: "bg";
- }
- description { state: "default" 0.0;
- min: 175 5;
- fixed: 1 1;
- rel1 {
- relative: 0.0 0.5;
- to_x: "bg";
- }
- rel2 {
- relative: 1.0 0.5;
- to_x: "bg";
- }
- color: 0 0 0 0;
- }
- }
-/* part { name: "button0";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 4 126;
- max: 4 126;
- color: 0 0 0 0;
- rel1.to: "elm.dragable.slider";
- rel2.to: "elm.dragable.slider";
- }
- }*/
- }
- 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: "volume_state_change";
- signal: "elm,state,drag";
- source: "elm";
- script {
- volume_state_change()
- }
- }
- }
- }
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define SLIDINGDRAWER_BG_COLOR 246 245 237 255
-#define SLIDINGDRAWER_HANDLER_WIDTH 53
-#define SLIDINGDRAWER_HANDLER_HEIGHT 20
-#define SLIDINGDRAWER_TOPDOWN_HANDLER_HEIGHT 40
-#define SLIDINGDRAWER_LEFTRIGHT_HANDLER_WIDTH 40
-
-group {
- name: "elm/slidingdrawer/bottom/default";
- images {
- image: "slidingdrawer_bottom_handler.png" COMP;
- image: "slidingdrawer_bottom_handler_bar.png" COMP;
- }
- script {
- public g_mouse_state = 0;
- public animator_up(val, Float:step) {
- new Float:vx;
- new Float:vy;
- get_drag(PART:"elm.dragable.handler", vx, vy);
- vy += step;
- if (vy > 1.0)
- vy = 1.0;
- set_drag(PART:"elm.dragable.handler", 1.0, vy);
- }
- public animator_down(val, Float:step) {
- new Float:vx;
- new Float:vy;
- get_drag(PART:"elm.dragable.handler", vx, vy);
- vy -= step;
- if (vy < 0.0)
- vy = 0.0;
- set_drag(PART:"elm.dragable.handler", 1.0, vy);
- }
- }
- parts {
- part {
- name: "elm.swallow.dragable_rect";
- type: SWALLOW;
- mouse_events: 0;
- description {
- visible: 0;
- align: 0 1;
- }
- }
- part {
- name: "content_bg";
- type: RECT;
- mouse_events: 0;
- description {
- rel1 {to:"elm.swallow.content";}
- rel2 {to:"elm.swallow.content";}
- color: SLIDINGDRAWER_BG_COLOR;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description {
- rel1 {to: "elm.dragable.handler"; relative: 0 1;}
- }
- }
- part {
- name: "handler_bar";
- type: IMAGE;
- scale: 1;
- description {
- fixed: 0 1;
- rel1 {to: "elm.dragable.handler";}
- rel2 {to: "elm.dragable.handler";}
- image {
- normal: "slidingdrawer_bottom_handler_bar.png";
- }
- }
- }
- part {
- name: "elm.dragable.handler";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- dragable {
- confine: "elm.swallow.dragable_rect";
- x: 0 0 0;
- y: -1 1 1;
- }
- description {
- min: 1 SLIDINGDRAWER_TOPDOWN_HANDLER_HEIGHT;
- fixed: 0 1;
- align: 0 0;
- rel1 {relative: 0 0; to: "elm.swallow.dragable_rect";}
- rel2 {relative: 1 0; to: "elm.swallow.dragable_rect";}
- }
- }
- part {
- name: "elm.image.handler";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- min: SLIDINGDRAWER_HANDLER_WIDTH SLIDINGDRAWER_HANDLER_HEIGHT;
- max: SLIDINGDRAWER_HANDLER_WIDTH SLIDINGDRAWER_HANDLER_HEIGHT;
- fixed: 1 1;
- align: 0.5 0.5;
- image {
- normal: "slidingdrawer_bottom_handler.png";
- }
- rel1 {to:"elm.dragable.handler";}
- rel2 {to:"elm.dragable.handler";}
- }
- }
- }
- programs {
- program {
- name: "drag_handler";
- signal: "drag";
- source: "elm.dragable.handler";
- script {
- set_int (g_mouse_state, 1);
- }
- }
- program {
- name: "down_handler";
- signal: "mouse,down,*";
- source: "elm.dragable.handler";
- script {
- set_int (g_mouse_state, 0);
- }
- }
- program {
- name: "handler_clicked";
- signal: "mouse,clicked,1";
- source: "elm.dragable.handler";
- script {
- new Float:x;
- new Float:y;
- if (get_int(g_mouse_state) == 0) {
- emit("animation_start", "elm.dragable.handler");
- get_drag(PART:"elm.dragable.handler", x, y);
- if (y == 0) {
- anim(1, "animator_up", 1);
- }
- else if( y == 1 ){
- anim(1, "animator_down", 1);
- }
- }
- }
- }
- }
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-group {
- name: "elm/slidingdrawer/left/default";
- images {
- image: "slidingdrawer_left_handler.png" COMP;
- image: "slidingdrawer_left_handler_bar.png" COMP;
- }
- script {
- public g_mouse_state = 0;
- public animator_right(val, Float:step) {
- new Float:vx;
- new Float:vy;
- get_drag(PART:"elm.dragable.handler", vx, vy);
- vx += step;
- if (vx > 1.0)
- vx = 1.0;
- set_drag(PART:"elm.dragable.handler", vx, 1.0);
- }
- public animator_left(val, Float:step) {
- new Float:vx;
- new Float:vy;
- get_drag(PART:"elm.dragable.handler", vx, vy);
- vx -= step;
- if (vx < 0.0)
- vx = 0.0;
- set_drag(PART:"elm.dragable.handler", vx, 1.0);
- }
- }
- parts {
- part {
- name: "elm.swallow.dragable_rect";
- type: SWALLOW;
- mouse_events: 0;
- description {
- visible: 0;
- align: 0 0;
- }
- }
- part {
- name: "content_bg";
- type: RECT;
- mouse_events: 0;
- description {
- rel1 {to:"elm.swallow.content";}
- rel2 {to:"elm.swallow.content";}
- color: SLIDINGDRAWER_BG_COLOR;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description {
- rel2 {to: "elm.dragable.handler"; relative: 0 1;}
- }
- }
- part {
- name: "handler_bar";
- type: IMAGE;
- scale: 1;
- description {
- fixed: 0 1;
- rel1 {to: "elm.dragable.handler";}
- rel2 {to: "elm.dragable.handler";}
- image {
- normal: "slidingdrawer_left_handler_bar.png";
- }
- }
- }
- part {
- name: "elm.dragable.handler";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- dragable {
- confine: "elm.swallow.dragable_rect";
- x: 1 1 1;
- y: 0 0 0;
- }
- description {
- min: SLIDINGDRAWER_LEFTRIGHT_HANDLER_WIDTH 1;
- fixed: 1 0;
- align: 0 0.5;
- rel1 {relative: 1 0; to: "elm.swallow.dragable_rect";}
- rel2 {relative: 1 1; to: "elm.swallow.dragable_rect";}
- }
- }
- part {
- name: "elm.image.handler";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- min: SLIDINGDRAWER_HANDLER_HEIGHT SLIDINGDRAWER_HANDLER_WIDTH;
- max: SLIDINGDRAWER_HANDLER_HEIGHT SLIDINGDRAWER_HANDLER_WIDTH;
- fixed: 1 1;
- align: 0.5 0.5;
- image {
- normal: "slidingdrawer_left_handler.png";
- }
- rel1 {to:"elm.dragable.handler";}
- rel2 {to:"elm.dragable.handler";}
- }
- }
- }
- programs {
- program {
- name: "drag_handler";
- signal: "drag";
- source: "elm.dragable.handler";
- script {
- set_int (g_mouse_state, 1);
- }
- }
- program {
- name: "down_handler";
- signal: "mouse,down,*";
- source: "elm.dragable.handler";
- script {
- set_int (g_mouse_state, 0);
- }
- }
- program {
- name: "handler_clicked";
- signal: "mouse,clicked,1";
- source: "elm.dragable.handler";
- script {
- new Float:x;
- new Float:y;
- if (get_int(g_mouse_state) == 0) {
- emit("animation_start", "elm.dragable.handler");
- get_drag(PART:"elm.dragable.handler", x, y);
- if (x == 0) {
- anim(1, "animator_right", 1);
- }
- else if( x == 1 ){
- anim(1, "animator_left", 1);
- }
- }
- }
- }
- }
-}
-group {
- name: "elm/slidingdrawer/top/default";
- images {
- image: "slidingdrawer_top_handler.png" COMP;
- image: "slidingdrawer_top_handler_bar.png" COMP;
- }
- script {
- public g_mouse_state = 0;
- public animator_up(val, Float:step) {
- new Float:vx;
- new Float:vy;
- get_drag(PART:"elm.dragable.handler", vx, vy);
- vy += step;
- if (vy > 1.0)
- vy = 1.0;
- set_drag(PART:"elm.dragable.handler", 1.0, vy);
- }
- public animator_down(val, Float:step) {
- new Float:vx;
- new Float:vy;
- get_drag(PART:"elm.dragable.handler", vx, vy);
- vy -= step;
- if (vy < 0.0)
- vy = 0.0;
- set_drag(PART:"elm.dragable.handler", 1.0, vy);
- }
- }
- parts {
- part {
- name: "elm.swallow.dragable_rect";
- type: SWALLOW;
- mouse_events: 0;
- description {
- visible: 0;
- align: 0 0;
- }
- }
- part {
- name: "content_bg";
- type: RECT;
- mouse_events: 0;
- description {
- rel1 {to:"elm.swallow.content";}
- rel2 {to:"elm.swallow.content";}
- color: SLIDINGDRAWER_BG_COLOR;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description {
- rel2 {to: "elm.dragable.handler"; relative: 1 0;}
- }
- }
- part {
- name: "handler_bar";
- type: IMAGE;
- scale: 1;
- description {
- fixed: 0 1;
- rel1 {to: "elm.dragable.handler";}
- rel2 {to: "elm.dragable.handler";}
- image {
- normal: "slidingdrawer_top_handler_bar.png";
- }
- }
- }
- part {
- name: "elm.dragable.handler";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- dragable {
- confine: "elm.swallow.dragable_rect";
- x: 0 0 0;
- y: 1 1 1;
- }
- description {
- min: 1 SLIDINGDRAWER_TOPDOWN_HANDLER_HEIGHT;
- fixed: 0 0;
- align: 0 1;
- rel1 {relative: 0 1; to: "elm.swallow.dragable_rect";}
- rel2 {relative: 1 1; to: "elm.swallow.dragable_rect";}
- }
- }
- part {
- name: "elm.image.handler";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- min: SLIDINGDRAWER_HANDLER_WIDTH SLIDINGDRAWER_HANDLER_HEIGHT;
- max: SLIDINGDRAWER_HANDLER_WIDTH SLIDINGDRAWER_HANDLER_HEIGHT;
- fixed: 1 1;
- align: 0.5 0.5;
- image {
- normal: "slidingdrawer_top_handler.png";
- }
- rel1 {to:"elm.dragable.handler";}
- rel2 {to:"elm.dragable.handler";}
- }
- }
- }
- programs {
- program {
- name: "drag_handler";
- signal: "drag";
- source: "elm.dragable.handler";
- script {
- set_int (g_mouse_state, 1);
- }
- }
- program {
- name: "down_handler";
- signal: "mouse,down,*";
- source: "elm.dragable.handler";
- script {
- set_int (g_mouse_state, 0);
- }
- }
- program {
- name: "handler_clicked";
- signal: "mouse,clicked,1";
- source: "elm.dragable.handler";
- script {
- new Float:x;
- new Float:y;
- if (get_int(g_mouse_state) == 0) {
- emit("animation_start", "elm.dragable.handler");
- get_drag(PART:"elm.dragable.handler", x, y);
- if (y == 1) {
- anim(1, "animator_down", 1);
- }
- else if( y == 0 ){
- anim(1, "animator_up", 1);
- }
- }
- }
- }
- }
-
-}
-
-group {
- name: "elm/slidingdrawer/right/default";
- images {
- image: "slidingdrawer_right_handler.png" COMP;
- image: "slidingdrawer_right_handler_bar.png" COMP;
- }
- script {
- public g_mouse_state = 0;
- public animator_right(val, Float:step) {
- new Float:vx;
- new Float:vy;
- get_drag(PART:"elm.dragable.handler", vx, vy);
- vx += step;
- if (vx > 1.0)
- vx = 1.0;
- set_drag(PART:"elm.dragable.handler", vx, 1.0);
- }
- public animator_left(val, Float:step) {
- new Float:vx;
- new Float:vy;
- get_drag(PART:"elm.dragable.handler", vx, vy);
- vx -= step;
- if (vx < 0.0)
- vx = 0.0;
- set_drag(PART:"elm.dragable.handler", vx, 1.0);
- }
- }
- parts {
- part {
- name: "elm.swallow.dragable_rect";
- type: SWALLOW;
- mouse_events: 0;
- description {
- visible: 0;
- align: 1 0;
- }
- }
- part {
- name: "content_bg";
- type: RECT;
- mouse_events: 0;
- description {
- rel1 {to:"elm.swallow.content";}
- rel2 {to:"elm.swallow.content";}
- color: SLIDINGDRAWER_BG_COLOR;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description {
- rel1 {to: "elm.dragable.handler"; relative: 1 0;}
- }
- }
- part {
- name: "handler_bar";
- type: IMAGE;
- scale: 1;
- description {
- fixed: 0 1;
- rel1 {to: "elm.dragable.handler";}
- rel2 {to: "elm.dragable.handler";}
- image {
- normal: "slidingdrawer_right_handler_bar.png";
- }
- }
- }
- part {
- name: "elm.dragable.handler";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- dragable {
- confine: "elm.swallow.dragable_rect";
- x: -1 1 1;
- y: 0 0 0;
- }
- description {
- min: SLIDINGDRAWER_LEFTRIGHT_HANDLER_WIDTH 1;
- fixed: 1 0;
- align: 1 0.5;
- rel1 {relative: 0 0; to: "elm.swallow.dragable_rect";}
- rel2 {relative: 0 1; to: "elm.swallow.dragable_rect";}
- }
- }
- part {
- name: "elm.image.handler";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- min: SLIDINGDRAWER_HANDLER_HEIGHT SLIDINGDRAWER_HANDLER_WIDTH;
- max: SLIDINGDRAWER_HANDLER_HEIGHT SLIDINGDRAWER_HANDLER_WIDTH;
- fixed: 1 1;
- align: 0.5 0.5;
- image {
- normal: "slidingdrawer_right_handler.png";
- }
- rel1 {to:"elm.dragable.handler";}
- rel2 {to:"elm.dragable.handler";}
- }
- }
- }
- programs {
- program {
- name: "drag_handler";
- signal: "drag";
- source: "elm.dragable.handler";
- script {
- set_int (g_mouse_state, 1);
- }
- }
- program {
- name: "down_handler";
- signal: "mouse,down,*";
- source: "elm.dragable.handler";
- script {
- set_int (g_mouse_state, 0);
- }
- }
- program {
- name: "handler_clicked";
- signal: "mouse,clicked,1";
- source: "elm.dragable.handler";
- script {
- new Float:x;
- new Float:y;
- if (get_int(g_mouse_state) == 0) {
- emit("animation_start", "elm.dragable.handler");
- get_drag(PART:"elm.dragable.handler", x, y);
- if (x == 0) {
- anim(1, "animator_right", 1);
- }
- else if( x == 1 ){
- anim(1, "animator_left", 1);
- }
- }
- }
- }
- }
-}
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/stackedicon/base/default";
-
- parts {
- part {
- name: "elm.base";
- type: RECT;
- mouse_events: 1;
- scale:1;
- description {
- state: "default" 0.0;
- align: 0 0;
- color: 0 0 0 0;
- }
- }
- part{
- name: "elm.bg.swallow";
- type: SWALLOW;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.base"; }
- rel2 { relative: 1.0 1.0; to: "elm.base"; }
- align: 0.0 0.0;
- }
- }
- }
-
- programs {
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/stackedicon/icon/default";
- min: 137 110;
-
- images {
- image: "stackedicon_bg.png" COMP;
- }
-
- parts {
- part { name: "bg";
- type: IMAGE;
- mouse_events: 1;
- scale : 1;
- description {
- state: "default" 0.0;
- image {
- normal : "stackedicon_bg.png";
- border : 5 17 5 24;
- }
- }
- }
-
- part { name: "contents";
- type: SWALLOW;
- mouse_events: 1;
- scale : 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; offset: 5 5; to, "bg"; }
- rel2 { relative: 1.0 1.0; offset: -17 -24; to, "bg"; }
- }
- }
-
- part { name: "shadow";
- type: SWALLOW;
- mouse_events: 0;
- scale : 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; offset: 5 5; to, "bg"; }
- rel2 { relative: 1.0 1.0; offset: -17 -24; to, "bg"; }
- }
- }
- }
-
- programs {
- }
- }
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-
-group {
- name: "elm/tickernoti/base/default";
- alias: "elm/tickernoti/1line/default";
- data {
- item: "height" 27;
- }
- parts {
- part { name: "bg";
- mouse_events: 1;
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- color: 0 0 0 255;
- }
- }
- part {
- name: "bg_1line";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 27;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to:"bg";}
- rel2 { relative: 1.0 1.0; to:"bg";}
- color: 0 0 0 0;
- }
- description {
- state: "show" 1.0;
- min: 0 27;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; to:"bg";}
- rel2 { relative: 1.0 0.0; to:"bg";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "padding_icon";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; to:"bg_1line";}
- rel2 { relative: 0.0 1.0; to:"bg_1line";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "icon";
- type: SWALLOW;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 26 0;
- fixed: 1 0;
- align: 0.0 0.0;
- rel1 { relative: 1.0 0.0; to:"padding_icon";}
- rel2 { relative: 1.0 1.0; to:"padding_icon";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "padding_text";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 10 0;
- fixed: 1 0;
- align: 0.0 0.0;
- rel1 { relative: 1.0 0.0; to:"icon";}
- rel2 { relative: 1.0 1.0; to:"icon";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "text";
- type: TEXT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 { relative: 1.0 0.0; to:"padding_text";}
- rel2 { relative: 1.0 1.0; to:"bg_1line";}
- color: 213 129 31 255;
- text {
- font: "SLP:style=Roman";
- size: 18;
- text: "";
- align: 0.0 0.5;
- }
- }
- }
- }
- programs {
- program {
- name: "init";
- signal: "show";
- after: "effect_show";
- }
- program {
- name: "ticker_click";
- signal: "mouse,down,1";
- source: "bg";
-
- action: STATE_SET "default" "0.0";
- transition: SINUSOIDAL 0.3;
- target: "bg_1line";
- after: "ind_hide";
- }
- program {
- name: "ind_hide";
- action: SIGNAL_EMIT "request,detail,show" "";
- }
- program {
- name: "effect_show";
- signal: "effect,show";
- source: "bg_1line";
-
- action: STATE_SET "show" "1.0";
- transition: SINUSOIDAL 0.3;
- target: "bg_1line";
- }
- }
- }
-
- group {
- name: "elm/tickernoti/2line/default";
- data {
- item: "height" 90;
- }
- images {
- image: "00_notification_bg.png" COMP;
- }
- styles {
- style {
- name: "style_text";
- base: "font=SLP:style=Roman font_size=22 wrap=char color=#ffffff style=shadow shadow_color=#000000";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "b" "+ font=SLP:style=Bold";
- }
- }
-
- parts {
- part { name: "bg";
- mouse_events: 0;
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- color: 0 0 0 0;
- }
- }
- part {
- name: "padding_1line";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 27;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; to:"bg";}
- rel2 { relative: 1.0 0.0; to:"bg";}
- color: 0 0 0 0;
- }
- }
- part { name: "bg_2line";
- mouse_events: 1;
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- min: 0 90;
- fixed: 0 1;
- align: 0.0 1.0;
- rel1 { relative: 0.0 1.0; to:"padding_1line";}
- rel2 { relative: 1.0 1.0; to:"padding_1line";}
- color: 0 0 0 0;
- }
- description { state: "show" 0.0;
- visible: 1;
- min: 0 90;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to:"padding_1line";}
- rel2 { relative: 1.0 1.0; to:"padding_1line";}
- color: 0 0 0 0;
- }
- }
- part { name: "bg_2line_img";
- mouse_events: 0;
- type: IMAGE;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 0.0; to:"bg_2line";}
- rel2 { relative: 1.0 1.0; to:"bg_2line";}
- image.normal: "00_notification_bg.png";
- }
- }
- part { name: "bg_other";
- mouse_events: 1;
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0.0 1.0; to:"bg_2line";}
- rel2 { relative: 1.0 1.0; to:"bg";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "padding_top";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; to:"bg_2line";}
- rel2 { relative: 1.0 0.0; to:"bg_2line";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "padding_bottom";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
- align: 0.0 1.0;
- rel1 { relative: 0.0 1.0; to:"bg_2line";}
- rel2 { relative: 1.0 1.0; to:"bg_2line";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "padding_right";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- align: 1.0 0.0;
- rel1 { relative: 1.0 1.0; to_x:"bg_2line"; to_y:"padding_top";}
- rel2 { relative: 1.0 0.0; to_x:"bg_2line"; to_y:"padding_bottom";}
- color: 0 0 0 0;
- }
- }
-
- /* Icon */
- part {
- name: "padding_icon_top_left";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 15 5;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to:"padding_top";}
- rel2 { relative: 0.0 1.0; to:"padding_top";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "icon";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 50 50;
- max: 50 50;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; to:"padding_icon_top_left";}
- rel2 { relative: 1.0 1.0; to:"padding_icon_top_left";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "padding_icon_right";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- align: 0.0 0.0;
- rel1 { relative: 1.0 1.0; to_x:"icon"; to_y:"padding_top";}
- rel2 { relative: 1.0 0.0; to_x:"icon"; to_y:"padding_bottom";}
- color: 0 0 0 0;
- }
- }
-
- /* Button */
- part {
- name: "button";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 100 50;
- max: 100 50;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1 { relative: 0.0 0.0; to:"padding_right";}
- rel2 { relative: 0.0 1.0; to:"padding_right";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_left";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; to:"button";}
- rel2 { relative: 0.0 1.0; to:"button";}
- color: 0 0 0 0;
- }
- }
-
- /* Text */
- part {
- name: "text_rect";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.0; to:"padding_icon_right";}
- rel2 { relative: 0.0 0.0; to_x:"button_left"; to_y:"padding_bottom";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.5; to:"text_rect";}
- rel2 { relative: 1.0 0.5; to:"text_rect";}
- color: 255 255 255 255;
- align: 0.0 0.5;
- fixed: 0 1;
- text {
- style: "style_text";
- min: 0 1;
- }
- }
- }
- }
- programs {
- program {
- name: "init";
- signal: "show";
- }
- program {
- name: "effect_show";
- signal: "effect,show";
- source: "bg_2line";
-
- action: STATE_SET "show" "1.0";
- transition: SINUSOIDAL 0.4;
- target: "bg_2line";
- }
-
- program {
- name: "other_click";
- signal: "mouse,down,1";
- source: "bg_other";
-
- action: STATE_SET "default" "0.0";
- transition: SINUSOIDAL 0.4;
- target: "bg_2line";
- after: "detail_hide";
- }
- program {
- name: "detail_hide";
- action: SIGNAL_EMIT "request,detail,hide" "";
- }
- }
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
- group {
- name: "elm/toggle/base/style1";
-
- images {
- image: "switch_btn.png" COMP;
- image: "switch_bg.png" COMP;
- image: "switch_left_padding.png" COMP;
- image: "switch_right_padding.png" COMP;
- }
-
- script {
- public timer_on(val) {
- new Float:x, Float:y;
- get_drag(PART:"button", x, y);
- if (x >= 1.0) {
- set_state(PART:"bg", "on", 0.0);
- x = 1.0;
- set_drag(PART:"button", x, y);
- emit("elm,action,toggle,on", "");
- } else if (x <= 0.5) {
- x = x + 0.2;
- set_drag(PART:"button", x, y);
- timer(0.01, "timer_on", 0);
- } else {
- x = x + 0.1;
- set_drag(PART:"button", x, y);
- timer(0.01, "timer_on", 0);
- }
- return 0;
- }
- public timer_off(val) {
- new Float:x, Float:y;
- get_drag(PART:"button", x, y);
- if (x <= 0.0) {
- set_state(PART:"bg", "off", 0.0);
- x = 0.0;
- set_drag(PART:"button", x, y);
- emit("elm,action,toggle,off", "");
- } else if (x >= 0.5) {
- x = x - 0.2;
- set_drag(PART:"button", x, y);
- timer(0.01, "timer_off", 0);
- } else {
- x = x - 0.1;
- set_drag(PART:"button", x, y);
- timer(0.01, "timer_off", 0);
- }
- return 0;
- }
- }
-
- parts {
- part {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 142 41;
- max: 142 41;
- fixed: 1 1;
- align: 1.0 0.5;
- color: 255 255 255 255;
- }
- description {
- state: "on" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "left_padding";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 { relative: 0 1; to: "bg"; }
- align: 0 0.5;
- image.normal: "switch_left_padding.png";
- }
- }
- part {
- name: "right_padding";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 5 0;
- fixed: 1 0;
- rel1 { relative: 1 0; to: "bg"; }
- rel2.to: "bg";
- align: 1 0.5;
- image.normal: "switch_right_padding.png";
- }
- }
- part {
- name: "button_clipper";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "left_padding";
- rel2.to: "right_padding";
- }
- }
- part {
- name: "clipper";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 { relative: 1 0; to_x: "left_padding"; to_y: "bg"; }
- rel2 { relative: 0 1; to_x: "right_padding"; to_y: "bg"; }
- }
- }
- part { name: "button";
- type: RECT;
- scale: 1;
- clip_to: "clipper";
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description {
- state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- min: 58 41;
- max: 58 41;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- 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.to: "button";
- rel1.relative: -2.0 0.0;
- rel2.to: "button";
- rel2.relative: 0.0 1.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "offrect";
- type: RECT;
- scale: 1;
- clip_to: "clipper";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1.to: "button";
- rel1.relative: 1.0 0.0;
- rel2.to: "button";
- rel2.relative: 3.0 1.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "togbase";
- mouse_events: 0;
- clip_to: "clipper";
- description { state: "default" 0.0;
- rel1.to: "onrect";
- rel2.to: "offrect";
- image.normal: "switch_bg.png";
- }
- }
- part {
- name: "button2";
- mouse_events: 0;
- clip_to: "button_clipper";
- description {
- state: "default" 0.0;
- rel1.to: "button";
- rel2.to: "button";
- image {
- normal: "switch_btn.png";
- border: 4 4 7 7;
- border_scale: 1;
- }
- image.middle: SOLID;
- }
- }
- 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: "drag_end";
- signal: "mouse,up,1";
- source: "button";
- script {
- new st[30];
- new Float:vl;
- get_state(PART:"bg", st, 30, vl)
- if (!strncmp(st, "default", 7)) {
- set_state(PART:"bg", "on", 0.0);
- timer_on(0);
- } else {
- set_state(PART:"bg", "off", 0.0);
- timer_off(0);
- }
- }
- }
- program {
- name: "toggle_on";
- signal: "elm,state,toggle,on";
- source: "elm";
- script {
- set_state(PART:"bg", "on", 0.0);
- timer_on(0);
- }
- }
- program {
- name: "toggle_off";
- signal: "elm,state,toggle,off";
- source: "elm";
- script {
- set_state(PART:"bg", "off", 0.0);
- timer_off(0);
- }
- }
- program {
- name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "togbase";
- target: "disabler";
- }
- program {
- name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/toggle/base/default";
- images {
- image: "00_button_on.png" COMP;
- image: "00_button_on_press.png" COMP;
- image: "00_button_off.png" COMP;
- image: "00_button_off_press.png" COMP;
- image: "00_button_onoff_handle.png" COMP;
- image: "00_button_onoff_handle_press.png" COMP;
- }
- script {
- public toggle_move_state = 0; //0:no movement, 1: moved
- public toggle_is_down = 0; //0:not down, 1: down
- }
- parts {
- part { name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 122 40;
- max: 122 40;
- rel1.relative: 1.0 0.0;
- fixed: 1 0;
- color: 0 0 0 0;
- align: 1.0 0.5;
- }
- }
- 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: 4 4;
- 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; to: "bg"; }
- rel2{ relative: 1.0 1.0; to: "bg"; }
- min: 4 4;
- 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; to: "bg"; }
- rel2{ relative: 1.0 0.0; to: "bg"; }
- min: 4 4;
- 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; to: "bg"; }
- rel2{ relative: 1.0 1.0; to: "bg"; }
- min: 4 4;
- fixed: 0 1;
- color: 0 0 0 0;
- }
- }
- part { name: "bg_image";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- 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_off.png";
- }
- description { state: "off_pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_off_press.png";
- }
- description { state: "on_pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_on_press.png";
- }
- description { state: "on" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_on.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_image"; }
- rel2{ relative: 0.0 1.0; to_x: "padding_right"; to_y: "bg_image"; }
- color: 0 0 0 0;
- }
- }
- part { name: "clipper";
- 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: "clipper_inner";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "bg_image";
- rel2.to: "bg_image";
- rel1.offset: 2 0;
- rel2.offset: -2 0;
- color: 255 255 255 255;
- }
- }
- part { name: "button";
- type: IMAGE;
- 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: 56 32;
- max: 56 32;
- image.normal: "00_button_onoff_handle.png";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "00_button_onoff_handle_press.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: "SLP:style=Medium";
- size: 20;
- min: 0 1;
- align: 0.5 0.5;
- text: "OFF";
- }
- }
- 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: "SLP:style=Medium";
- size: 20;
- min: 0 1;
- align: 0.5 0.5;
- text: "ON";
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- color3: 0 0 0 24;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- align: 0.0 0.5;
- rel1.offset: 4 4;
- rel2.relative: 0.0 1.0;
- rel2.offset: 3 -5;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- rel2.offset: 4 -5;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- fixed: 1 1;
- 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;
- rel1.to_x: "elm.swallow.content";
- rel1.relative: 1.0 0.0;
- rel1.offset: 0 4;
- rel2.to_x: "bg";
- rel2.relative: 0.0 1.0;
- rel2.offset: -5 -5;
- color: 0 0 0 255;
- text {
- font: "SLP:style=Medium";
- size: 10;
- 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: 128 128 128 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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: "drag_end";
- signal: "mouse,up,1";
- source: "button";
- script {
- new Float:dx, Float:dy;
- new st[30];
- new Float:vl;
- get_drag(PART:"button", dx, dy);
- set_int(toggle_is_down, 0);
- get_state(PART:"bg_image", st, 30, vl)
- if(get_int(toggle_move_state) == 0) //no movement
- {
- if(dx > 0.5)
- {
- set_drag(PART:"button", 0.0, 0.0);
- emit("elm,action,toggle,off", "");
- set_state(PART:"bg_image", "default", 0.0);
- }
- else
- {
- set_drag(PART:"button", 1.0, 0.0);
- emit("elm,action,toggle,on", "");
- set_state(PART:"bg_image", "on", 0.0);
- }
- }
- else
- {
- if (dx > 0.5)
- {
- set_drag(PART:"button", 1.0, 0.0);
- if (!strcmp(st, "off_pressed")) {
- emit("elm,action,toggle,on", "");
- }
- set_state(PART:"bg_image", "on", 0.0);
- }
- else
- {
- set_drag(PART:"button", 0.0, 0.0);
- if (!strcmp(st, "on_pressed")) {
- emit("elm,action,toggle,off", "");
- }
- set_state(PART:"bg_image", "default", 0.0);
- }
- }
- set_state(PART:"button", "default", 0.0);
- set_int(toggle_move_state,0);
- }
- }
- program { name: "toggle_on";
- signal: "elm,state,toggle,on";
- source: "elm";
- script {
- set_drag(PART:"button", 100.0, 0.0);
- set_state(PART:"bg_image", "on", 0.0);
- }
- }
- program { name: "toggle_off";
- signal: "elm,state,toggle,off";
- source: "elm";
- script {
- set_drag(PART:"button", 0.0, 0.0);
- set_state(PART:"bg_image", "default", 0.0);
- }
- }
- program { name: "mouse_press,";
- signal: "mouse,down,1";
- source: "button";
- script {
- new st[30];
- new Float:vl;
- set_int(toggle_is_down, 1);
- get_state(PART:"bg_image", st, 30, vl)
- if (!strcmp(st, "default")) {
- set_state(PART:"bg_image", "off_pressed", 0.0);
- }
- else {
- set_state(PART:"bg_image", "on_pressed", 0.0);
- }
- set_state(PART:"button", "pressed", 0.0);
- }
- }
- program { name: "mouse_move,";
- signal: "mouse,move";
- source: "button";
- script {
- if(get_int(toggle_is_down) == 0)
- {
- set_int(toggle_move_state,0);
- }
- else
- {
- set_int(toggle_move_state,1);
- }
- }
- }
- 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.ontext";
- target: "elm.offtext";
- 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: "elm.ontext";
- target: "elm.offtext";
- 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);
- }
- }
- }
- }
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-// 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.
-
-#define MAIN_W 480
-#define MAIN_H 800
-#define TOOLBAR_ITEM_H 66
-#define REL_W(x) (x / MAIN_W)
-#define REL_H(x) (x / MAIN_H)
-#define REL_TOOLBAR_H(x) (x / TOOLBAR_ITEM_H)
-
-group {
- name: "elm/toolbar2/base/default";
- parts {
- part { name: "erect";
- type: RECT;
- scale: 1;
- description {
- min: 0 TOOLBAR_ITEM_H;
- max: MAIN_W TOOLBAR_ITEM_H;
- fixed: 0 1;
- align: 0.0 0.0;
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- }
- }
- part { name: "erect_img";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { to: "erect"; relative: 0.0 0.0;}
- rel2 { to: "erect"; relative: 1.0 1.0;}
- color: 90 73 40 255;
- }
- }
- part { name: "elm.swallow.content";
- clip_to: "erect";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1 { to: "erect_img"; relative: 0.0 0.0;}
- rel2 { to: "erect_img"; relative: 1.0 1.0;}
- }
- }
- }
- programs {
-
- } // end program
-} // end group
-
-group { name: "elm/toolbar2/item/default";
- images {
- image: "01_touch_glow.png" COMP;
- }
- min: 0 TOOLBAR_ITEM_H;
-
- parts {
- part { name: "bg";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- visible: 1;
- rel1 {
- relative: 0.0 0.0;
- }
- rel2 {
- relative: 1.0 1.0;
- }
- color: 0 0 0 0;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 255 255 255 255;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- }
- }
- part { name: "elm.swallow.icon";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 { to: "bg"; relative: 0.0 0.5;}
- rel2 { to: "bg"; relative: 1.0 0.5;}
- }
- }
-
- part { name: "over3";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- min: TOOLBAR_ITEM_H TOOLBAR_ITEM_H;
- max: TOOLBAR_ITEM_H TOOLBAR_ITEM_H;
- color: 255 255 255 0;
- align: 0.5 0.5;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- image {
- normal: "01_touch_glow.png";
- }
- fill.smooth : 0;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
-
- }
- programs {
- program { name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- target: "over3";
- }
- program { name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg";
- target: "over3";
- }
- }
- }
-
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-///////////////////////////////////////////////////////////////////////////////
-/*
-Wiper Control
-
- 1) Drag object confie
-
- +-[confine]---------------------------------------------------------------------+
- |+-[bar]---------------------------------------------+ |
- || | |
- || | |
- || | |
- |+---------------------------------------------------+ |
- +-------------------------------------------------------------------------------+
-
- 2) Content.below
- +-[bg]---------------------+
- |+-[content.below]--------+|
- || ||
- || swallow ||
- || ||
- |+------------------------+|
- +--------------------------+
-
- 3) Bar-Left state
-
- +-[bg]---------------------+
- +-[content.above]--------+|+-[bar.right]------------+|
- | ||| ||
- | swallow ||| transparent ||
- | ||| ||
- +------------------------+|+------------------------+|
- +--------------------------+
-
- 4) Bar-Right state
-
- +-[bg]---------------------+
- |+-[content.above]--------+|+-[bar.right]------------+
- || ||| |
- || swallow ||| transparent |
- || ||| |
- |+------------------------+|+------------------------+
- +--------------------------+
-
- 5) Position / Size
- - bar width = bg * 2 (content.above + bar.right)
- - bar height = bg height
- - content width = bg width
- - content height = bg height
- - content position = left of bar
-
-*/
-
-//collections {
- group {
- name: "elm/wipercontrol/base/default";
-
- parts {
- part {
- name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 1.0; }
- color: 0 0 0 0;
- }
- }
- part {
- name: "content.below";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "bg";}
- rel2 { relative: 1.0 1.0; to: "bg";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "content.below.swallow";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "content.below";}
- rel2 { relative: 1.0 1.0; to: "content.below";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "content.below.mouse_block";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "content.below";}
- rel2 { relative: 1.0 1.0; to: "content.below";}
- color: 0 0 0 0;
- visible: 0;
- }
- description {
- state: "block" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bg2";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: -1.0 0.0; to:"bg"; }
- rel2 { relative: 2.0 1.0; to:"bg";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "confine";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to:"bg2"; }
- rel2 { relative: 1.0 1.0; to:"bg2";}
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "bar";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; to: "confine";}
- rel2 { relative: 0.0 1.0; to: "confine";}
- color: 0 0 0 0;
- }
- dragable {
- confine: "confine";
- x: -1 1 1;
- y: 0 0 0;
- }
- }
-
- part {
- name: "content.above";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; to: "bar";}
- rel2 { relative: 0.0 1.0; to: "bar";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "bar.right";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 1 1;
- fixed: 1 1;
- align: 1.0 0.0;
- rel1 { relative: 1.0 0.0; to: "bar";}
- rel2 { relative: 1.0 1.0; to: "bar";}
- color: 0 0 0 0;
- }
- }
- part {
- name: "content.above.swallow";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "content.above";}
- rel2 { relative: 1.0 1.0; to: "content.above";}
- color: 0 0 0 0;
- }
- }
- }
-
- script {
-
- /* 0: mouse_down(no draged), 1: draged */
- public g_mouse_state = 0;
-
- /* FIXME: smooth animation */
- public animator_left(val, Float:step) {
- new Float:vx;
- new Float:vy;
-
- get_drag(PART:"bar", vx, vy);
- vx += step;
- if (vx > 0.9)
- vx = 1.0;
- set_drag(PART:"bar", vx, 1.0);
- }
-
- /* FIXME: smooth animation */
- public animator_right(val, Float:step) {
- new Float:vx;
- new Float:vy;
-
- get_drag(PART:"bar", vx, vy);
- vx -= step;
- if (vx < 0.1)
- vx = 0.0;
- set_drag(PART:"bar", vx, 1.0);
- }
- }
-
- programs {
-
- /* default program for resize event */
- program {
- name: "on_resize";
- signal: "resize";
- source: "";
- script {
- emit("resize_content", "content");
- set_drag(PART:"bar", 1.0, 1.0);
- set_state(PART:"content.below.mouse_block", "default", 0.0);
- }
- }
-
- program {
- name: "resize_content";
- signal: "resize_content";
- source: "content";
- script {
- new x;
- new y;
- new w;
- new h;
- get_geometry (PART:"bg", x, y, w, h);
-
- /* bar resize */
- custom_state (PART:"bar", "default", 0.0);
- set_state_val (PART:"bar", STATE_MIN, w*2, h);
- set_state (PART:"bar", "custom", 0.0);
-
- /* bar resize */
- custom_state (PART:"content.above", "default", 0.0);
- set_state_val (PART:"content.above", STATE_MIN, w, h);
- set_state (PART:"content.above", "custom", 0.0);
- }
- }
-
- program {
- name: "drag_bar";
- signal: "drag";
- source: "bar";
- script {
- set_int (g_mouse_state, 1);
- }
- }
-
- program {
- name: "down_bar";
- signal: "mouse,down,*";
- source: "bar";
- script {
- set_int (g_mouse_state, 0);
- }
- }
-
- program {
- name: "up_bar";
- signal: "mouse,up,*";
- source: "bar";
- script {
- new Float:vx;
- new Float:vy;
-
- if (get_int(g_mouse_state) != 0) {
- get_drag(PART:"bar", vx, vy);
- if (vx > 0.5) {
- anim(0.2, "animator_left", 1);
- set_state(PART:"content.below.mouse_block", "default", 0.0);
- }
- else {
- anim(0.2, "animator_right", 1);
- set_state(PART:"content.below.mouse_block", "block", 0.0);
- }
- }
- }
- }
-
-
- } /* programs */
-
- } /* group */
-//}
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define LAYOUT_BG_COLOR_INC 0 0 0 255
-#define LAYOUT_EDIT_MODE_BG_COLOR_INC 15 15 15 255
-#define LAYOUT_GROUP_LIST_BG_COLOR_INC 15 15 15 255
-
-#define NAVIGATIONBAR_TITLE_TEXT_COLOR 255 252 202 255
-#define NAVIGATIONBAR_TITLE_TEXT_COLOR_HEX "#fffcca"
-
-#define LABEL_TEXT_BLOCK_STYLE_COLOR_INC "#FFFFFF"
-
-#define GENLIST_PART_BG_COLOR_INC 0 0 0 255
-#define GENLIST_PART_TEXT_COLOR_INC 255 255 255 255
-#define GENLIST_PART_TEXT_SELECTED_COLOR_INC 225 225 225 255
-#define GENLIST_PART_SUB_TEXT_COLOR_INC 161 139 73 255
-#define GENLIST_PART_BOTTOM_LINE_INC 41 40 36 255
-#define GENLIST_GROUP_PART_TEXT_COLOR_INC 153 151 121 255
-#define GENLIST_GROUP_PART_BASE_EVENT_INC \
- part { name: "base_event";\
- type: RECT;\
- repeat_events: 0;\
- description { state: "default" 0.0;\
- color: 0 0 0 0;\
- }\
- }
-#define GENLIST_GROUP_PART_BASE_IMAGE_INC
-#define GENLIST_GROUP_BG_COLOR_DEFAULT_INC 15 15 15 255
-#define GENLIST_GROUP_BG_COLOR_ALPHA_OFF_INC 15 15 15 255
-#define GENLIST_GROUP_LEFT_BG_COLOR_INC 15 15 15 255
-#define GENLIST_EDIT_PART_LINE_INC 41 40 36 150
-#define GENLIST_EDIT_BG_COLOR_INC 0 0 0 255
-#define GENLIST_EXPANDABLE2_PART_BG_COLOR_INC 15 15 15 255
-#define GENLIST_EXPANDABLE2_NOSHADOW_BG_COLOR_INC 15 15 15 255
-#define GENLIST_EXPANDABLE3_PART_BG_COLOR_INC 30 30 30 255
-#define GENLIST_EXPANDABLE_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- visible: 0;\
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- visible: 1;\
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_PART_BG_EXPANDABLE3_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- visible: 0;\
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- visible: 1;\
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_EXPANDABLE3_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- visible: 0;\
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- visible: 1;\
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_EXPANDABLE3_NOSHADOW_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- visible: 0;\
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- visible: 1;\
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-
-#define DIALOGUEGROUP_ITEM_TITLE_TEXT_COLOR_INC 130 130 130 255
-#define DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC 255 255 255 255
-#define DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC_HEX "#000000"
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_1_INC 147 131 81 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_1_INC 255 255 255 255
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_2_INC 147 131 81 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_2_INC 255 255 255 255
-#define DIALOGUEGROUP_ITEM_ON_TEXT_COLOR_INC 212 188 116 255
-#define DIALOGUEGROUP_ITEM_OFF_TEXT_COLOR_INC 212 188 116 255
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_SETTING_INC 255 255 255 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_SETTING_INC 147 131 81 255
-#define DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC 255 255 255 255
-#define DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC_HEX "#ffffff"
-
-#define CONTACT_DISPLAY_NAME_FONT_COLOR_INC 255 255 255 255
-#define CONTACT_DISPLAY_NAME_FONT_GRAY_COLOR_INC 230 230 230 255
-
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_COLOR_INC 232 231 218 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC 0 0 0 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC 0 0 0 102
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC 0 0 0 102
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_COLOR_INC 180 180 160 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_SHADOW_COLOR_INC 41 36 34 255
-
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_COLOR_INC 232 231 218 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC 0 0 0 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC 0 0 0 102
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC 0 0 0 102
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_DISABLED_COLOR_INC 180 180 160 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_DISABLED_SHADOW_COLOR_INC 41 36 34 255
-
-#define BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE1_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE1_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE1_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC 204 200 188 255
-#define BUTTON_TEXT_STYLE1_DISABLED_SHAWDOW_COLOR_INC 41 36 34 128
-
-
-#define BUTTON_TEXT_STYLE2_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE2_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_TEXT_STYLE2_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE2_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE2_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE2_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE2_DISABLED_COLOR_INC 180 176 162 255
-#define BUTTON_TEXT_STYLE2_DISABLED_SHAWDOW_COLOR_INC 255 255 255 128
-
-
-#define BUTTON_TEXT_STYLE3_NORMAL_COLOR_INC 171 164 141 255
-#define BUTTON_TEXT_STYLE3_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_TEXT_STYLE3_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE3_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE3_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE3_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE3_DISABLED_COLOR_INC 106 100 81 255
-#define BUTTON_TEXT_STYLE3_DISABLED_SHAWDOW_COLOR_INC 0 0 0 255
-
-
-#define BUTTON_ICON_TEXT_NORMAL_COLOR_INC 255 225 255 255
-#define BUTTON_ICON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_ICON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_ICON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_ICON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_ICON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_ICON_TEXT_DISABLED_COLOR_INC 204 200 188 255
-#define BUTTON_ICON_TEXT_DISABLED_SHAWDOW_COLOR_INC 41 36 34 128
-
-
-#define BUTTON_POPUP_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_POPUP_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_POPUP_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_POPUP_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_POPUP_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_POPUP_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_POPUP_BUTTON_TEXT_DISABLED_COLOR_INC 204 200 188 255
-#define BUTTON_POPUP_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 41 36 34 128
-
-
-#define BUTTON_SWEEP_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_SWEEP_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_SWEEP_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_SWEEP_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 128
-#define BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 128
-#define BUTTON_SWEEP_BUTTON_TEXT_DISABLED_COLOR_INC 0 0 0 255
-#define BUTTON_SWEEP_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 0 0 0 255
-
-
-#define BUTTON_CONTACT_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_DISABLED_COLOR_INC 241 238 234 255
-#define BUTTON_CONTACT_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 51 45 36 128
-
-#define BUTTON_MORE_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_MORE_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 0
-
-
-#define BUTTON_HIDDEN_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_HIDDEN_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_HIDDEN_BUTTON_TEXT_DISABLED_COLOR_INC 180 176 162 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 41 36 34 255
-
-#define CHECK_DELETE_TEXT_DELETE_NORMAL_COLOR_INC 205 2 5 255
-#define CHECK_DELETE_TEXT_DELETE_PRESS_COLOR_INC 255 255 255 255
-
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_NORMAL_INC 232 232 218 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_NORMAL_INC 41 36 34 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC 232 231 218 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC 0 0 0 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_SELECTED_INC 255 255 255 77
-
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_NORMAL_INC "#e8e7daff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_NORMAL_INC "#292422ff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_PRESSED_INC "#e8e7daff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_PRESSED_INC "#292422ff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_SELECTED_INC "#000000ff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_SELECTED_INC "#ffffff4d"
-
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_NORMAL_INC "232 232 218 255"
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_PRESS_INC "232 232 218 255"
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_SELECT_INC "0 0 0 255"
-
-#define EDITFIELD_TITLE_COLOR_INC 73 73 73 255_
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define LAYOUT_BG_COLOR_INC 245 245 237 255
-#define LAYOUT_EDIT_MODE_BG_COLOR_INC 204 198 180 255
-#define LAYOUT_GROUP_LIST_BG_COLOR_INC 204 198 180 255
-
-#define NAVIGATIONBAR_TITLE_TEXT_COLOR 255 255 255 255
-#define NAVIGATIONBAR_TITLE_TEXT_COLOR_HEX "#ffffff"
-
-#define LABEL_TEXT_BLOCK_STYLE_COLOR_INC "#000000"
-
-#define GENLIST_PART_BG_COLOR_INC 246 245 237 255
-#define GENLIST_PART_TEXT_COLOR_INC 0 0 0 255
-#define GENLIST_PART_TEXT_SELECTED_COLOR_INC 225 225 225 255
-#define GENLIST_PART_SUB_TEXT_COLOR_INC 0 0 0 255
-#define GENLIST_PART_BOTTOM_LINE_INC 212 212 212 255
-#define GENLIST_GROUP_PART_TEXT_COLOR_INC 50 50 50 255
-#define GENLIST_GROUP_PART_BASE_EVENT_INC \
- part { name: "base_event";\
- type: RECT;\
- repeat_events: 0;\
- description { state: "default" 0.0;\
- color: 0 0 0 0;\
- }\
- }
-#define GENLIST_GROUP_PART_BASE_IMAGE_INC \
- part { name: "base_image";\
- repeat_events: 1;\
- description { state: "default" 0.0;\
- rel1.to: "rect";\
- rel2.to: "rect";\
- image {\
- normal: "01_list_group_title_bg.jpg";\
- }\
- }\
- }
-#define GENLIST_GROUP_BG_COLOR_DEFAULT_INC 0 0 0 0
-#define GENLIST_GROUP_BG_COLOR_ALPHA_OFF_INC 0 0 0 0
-//color: 190 186 171 200;
-//color: 190 186 171 255;
-#define GENLIST_GROUP_LEFT_BG_COLOR_INC 210 206 191 255
-#define GENLIST_EDIT_PART_LINE_INC 187 187 187 150
-#define GENLIST_EDIT_BG_COLOR_INC 234 230 217 255
-#define GENLIST_EXPANDABLE2_PART_BG_COLOR_INC 230 228 215 255
-#define GENLIST_EXPANDABLE3_PART_BG_COLOR_INC 230 228 215 255
-#define GENLIST_EXPANDABLE2_NOSHADOW_BG_COLOR_INC 230 228 215 255
-#define GENLIST_EXPANDABLE_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_bg.png"; \
- border: 0 0 12 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_PART_BG_EXPANDABLE3_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_2_bg.png"; \
- border: 0 0 12 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_EXPANDABLE3_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_2_bg.png"; \
- border: 0 0 12 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_EXPANDABLE3_NOSHADOW_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_2_noshadow_bg.png"; \
- border: 0 0 0 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-
-#define DIALOGUEGROUP_ITEM_TITLE_TEXT_COLOR_INC 104 94 82 255
-#define DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC_HEX "#000000"
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_1_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_1_INC 213 129 31 255
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_2_INC 147 131 81 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_2_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_ON_TEXT_COLOR_INC 229 134 22 255
-#define DIALOGUEGROUP_ITEM_OFF_TEXT_COLOR_INC 56 56 56 255
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_SETTING_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_SETTING_INC 213 129 31 255
-#define DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC 255 255 255 255
-#define DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC_HEX "#ffffff"
-
-#define CONTACT_DISPLAY_NAME_FONT_COLOR_INC 0 0 0 255
-#define CONTACT_DISPLAY_NAME_FONT_GRAY_COLOR_INC 167 167 167 255
-
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC 0 0 0 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC 0 0 0 128
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC 0 0 0 128
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_COLOR_INC 160 151 145 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_SHADOW_COLOR_INC 41 36 34 255
-
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC 0 0 0 0
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_COLOR_INC 234 143 24 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC 0 0 0 102
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_COLOR_INC 234 143 24 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC 0 0 0 102
-
-
-#define BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC 53 45 39 255
-#define BUTTON_TEXT_STYLE1_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE1_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE1_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC 87 87 87 255
-#define BUTTON_TEXT_STYLE1_DISABLED_SHAWDOW_COLOR_INC 255 255 255 128
-
-
-#define BUTTON_TEXT_STYLE2_NORMAL_COLOR_INC 90 73 40 255
-#define BUTTON_TEXT_STYLE2_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_TEXT_STYLE2_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE2_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE2_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE2_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE2_DISABLED_COLOR_INC 154 144 123 128
-#define BUTTON_TEXT_STYLE2_DISABLED_SHAWDOW_COLOR_INC 255 255 255 255
-
-
-#define BUTTON_TEXT_STYLE3_NORMAL_COLOR_INC 53 45 39 255
-#define BUTTON_TEXT_STYLE3_NORMAL_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE3_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE3_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE3_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE3_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE3_DISABLED_COLOR_INC 127 119 113 255
-#define BUTTON_TEXT_STYLE3_DISABLED_SHAWDOW_COLOR_INC 255 255 255 128
-
-
-#define BUTTON_ICON_TEXT_NORMAL_COLOR_INC 90 73 40 255
-#define BUTTON_ICON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_ICON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_ICON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_ICON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_ICON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_ICON_TEXT_DISABLED_COLOR_INC 154 144 123 255
-#define BUTTON_ICON_TEXT_DISABLED_SHAWDOW_COLOR_INC 255 255 255 255
-
-
-#define BUTTON_POPUP_BUTTON_TEXT_NORMAL_COLOR_INC 53 45 39 255
-#define BUTTON_POPUP_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_POPUP_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_POPUP_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_POPUP_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_POPUP_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_POPUP_BUTTON_TEXT_DISABLED_COLOR_INC 87 87 87 255
-#define BUTTON_POPUP_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 255 255 255 128
-
-
-#define BUTTON_SWEEP_BUTTON_TEXT_NORMAL_COLOR_INC 73 71 66 255
-#define BUTTON_SWEEP_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 0
-#define BUTTON_SWEEP_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_SWEEP_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_SWEEP_BUTTON_TEXT_DISABLED_COLOR_INC 0 0 0 128
-#define BUTTON_SWEEP_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 0 0 0 0
-
-
-#define BUTTON_CONTACT_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_DISABLED_COLOR_INC 241 238 234 255
-#define BUTTON_CONTACT_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 51 45 36 128
-
-#define BUTTON_MORE_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_MORE_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 0
-
-
-#define BUTTON_HIDDEN_BUTTON_TEXT_NORMAL_COLOR_INC 0 0 0 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 0
-#define BUTTON_HIDDEN_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_HIDDEN_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_HIDDEN_BUTTON_TEXT_DISABLED_COLOR_INC 154 144 123 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 255 255 255 255
-
-#define CHECK_DELETE_TEXT_DELETE_NORMAL_COLOR_INC 207 41 41 255
-#define CHECK_DELETE_TEXT_DELETE_PRESS_COLOR_INC 255 255 255 255
-
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_NORMAL_INC 27 26 24 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_NORMAL_INC 41 36 34 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC 255 255 255 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC 0 0 0 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_SELECTED_INC 255 255 255 77
-
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_NORMAL_INC "#1B1A18ff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_NORMAL_INC "#2924224d"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_PRESSED_INC "#ffffffff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_PRESSED_INC "#2924224d"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_SELECTED_INC "#000000ff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_SELECTED_INC "#ffffff4d"
-
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_NORMAL_INC "27 26 24 255"
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_PRESS_INC "255 255 255 255"
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_SELECT_INC "0 0 0 255"
-
-#define EDITFIELD_TITLE_COLOR_INC 73 73 73 255_
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define LAYOUT_BG_COLOR_INC 245 245 237 255
-#define LAYOUT_EDIT_MODE_BG_COLOR_INC 204 198 180 255
-#define LAYOUT_GROUP_LIST_BG_COLOR_INC 204 198 180 255
-
-#define NAVIGATIONBAR_TITLE_TEXT_COLOR 255 255 255 255
-#define NAVIGATIONBAR_TITLE_TEXT_COLOR_HEX "#ffffff"
-
-#define LABEL_TEXT_BLOCK_STYLE_COLOR_INC "#000000"
-
-#define GENLIST_PART_BG_COLOR_INC 246 245 237 255
-#define GENLIST_PART_TEXT_COLOR_INC 0 0 0 255
-#define GENLIST_PART_TEXT_SELECTED_COLOR_INC 225 225 225 255
-#define GENLIST_PART_SUB_TEXT_COLOR_INC 0 0 0 255
-#define GENLIST_PART_BOTTOM_LINE_INC 212 212 212 255
-#define GENLIST_GROUP_PART_TEXT_COLOR_INC 50 50 50 255
-#define GENLIST_GROUP_PART_BASE_EVENT_INC \
- part { name: "base_event";\
- type: RECT;\
- repeat_events: 0;\
- description { state: "default" 0.0;\
- color: 0 0 0 0;\
- }\
- }
-#define GENLIST_GROUP_PART_BASE_IMAGE_INC \
- part { name: "base_image";\
- repeat_events: 1;\
- description { state: "default" 0.0;\
- rel1.to: "rect";\
- rel2.to: "rect";\
- image {\
- normal: "01_list_group_title_bg.jpg";\
- }\
- }\
- }
-#define GENLIST_GROUP_BG_COLOR_DEFAULT_INC 0 0 0 0
-#define GENLIST_GROUP_BG_COLOR_ALPHA_OFF_INC 0 0 0 0
-//color: 190 186 171 200;
-//color: 190 186 171 255;
-#define GENLIST_GROUP_LEFT_BG_COLOR_INC 210 206 191 255
-#define GENLIST_EDIT_PART_LINE_INC 187 187 187 150
-#define GENLIST_EDIT_BG_COLOR_INC 234 230 217 255
-#define GENLIST_EXPANDABLE2_PART_BG_COLOR_INC 230 228 215 255
-#define GENLIST_EXPANDABLE3_PART_BG_COLOR_INC 230 228 215 255
-#define GENLIST_EXPANDABLE2_NOSHADOW_BG_COLOR_INC 230 228 215 255
-#define GENLIST_EXPANDABLE_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_bg.png"; \
- border: 0 0 12 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_PART_BG_EXPANDABLE3_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_2_bg.png"; \
- border: 0 0 12 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_EXPANDABLE3_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_2_bg.png"; \
- border: 0 0 12 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_EXPANDABLE3_NOSHADOW_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_2_noshadow_bg.png"; \
- border: 0 0 0 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-
-#define DIALOGUEGROUP_ITEM_TITLE_TEXT_COLOR_INC 104 94 82 255
-#define DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC_HEX "#000000"
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_1_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_1_INC 213 129 31 255
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_2_INC 147 131 81 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_2_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_ON_TEXT_COLOR_INC 229 134 22 255
-#define DIALOGUEGROUP_ITEM_OFF_TEXT_COLOR_INC 56 56 56 255
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_SETTING_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_SETTING_INC 213 129 31 255
-#define DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC 255 255 255 255
-#define DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC_HEX "#ffffff"
-
-#define CONTACT_DISPLAY_NAME_FONT_COLOR_INC 0 0 0 255
-#define CONTACT_DISPLAY_NAME_FONT_GRAY_COLOR_INC 167 167 167 255
-
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC 0 0 0 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC 0 0 0 128
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC 0 0 0 128
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_COLOR_INC 160 151 145 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_SHADOW_COLOR_INC 41 36 34 255
-
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC 0 0 0 0
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_COLOR_INC 234 143 24 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC 0 0 0 102
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_COLOR_INC 234 143 24 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC 0 0 0 102
-
-
-#define BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC 53 45 39 255
-#define BUTTON_TEXT_STYLE1_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE1_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE1_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC 87 87 87 255
-#define BUTTON_TEXT_STYLE1_DISABLED_SHAWDOW_COLOR_INC 255 255 255 128
-
-
-#define BUTTON_TEXT_STYLE2_NORMAL_COLOR_INC 90 73 40 255
-#define BUTTON_TEXT_STYLE2_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_TEXT_STYLE2_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE2_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE2_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE2_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE2_DISABLED_COLOR_INC 154 144 123 128
-#define BUTTON_TEXT_STYLE2_DISABLED_SHAWDOW_COLOR_INC 255 255 255 255
-
-
-#define BUTTON_TEXT_STYLE3_NORMAL_COLOR_INC 53 45 39 255
-#define BUTTON_TEXT_STYLE3_NORMAL_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE3_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE3_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE3_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE3_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE3_DISABLED_COLOR_INC 127 119 113 255
-#define BUTTON_TEXT_STYLE3_DISABLED_SHAWDOW_COLOR_INC 255 255 255 128
-
-
-#define BUTTON_ICON_TEXT_NORMAL_COLOR_INC 90 73 40 255
-#define BUTTON_ICON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_ICON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_ICON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_ICON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_ICON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_ICON_TEXT_DISABLED_COLOR_INC 154 144 123 255
-#define BUTTON_ICON_TEXT_DISABLED_SHAWDOW_COLOR_INC 255 255 255 255
-
-
-#define BUTTON_POPUP_BUTTON_TEXT_NORMAL_COLOR_INC 53 45 39 255
-#define BUTTON_POPUP_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_POPUP_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_POPUP_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_POPUP_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_POPUP_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_POPUP_BUTTON_TEXT_DISABLED_COLOR_INC 87 87 87 255
-#define BUTTON_POPUP_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 255 255 255 128
-
-
-#define BUTTON_SWEEP_BUTTON_TEXT_NORMAL_COLOR_INC 73 71 66 255
-#define BUTTON_SWEEP_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 0
-#define BUTTON_SWEEP_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_SWEEP_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_SWEEP_BUTTON_TEXT_DISABLED_COLOR_INC 0 0 0 128
-#define BUTTON_SWEEP_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 0 0 0 0
-
-
-#define BUTTON_CONTACT_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_DISABLED_COLOR_INC 241 238 234 255
-#define BUTTON_CONTACT_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 51 45 36 128
-
-#define BUTTON_MORE_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_MORE_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 0
-
-
-#define BUTTON_HIDDEN_BUTTON_TEXT_NORMAL_COLOR_INC 0 0 0 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 0
-#define BUTTON_HIDDEN_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_HIDDEN_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_HIDDEN_BUTTON_TEXT_DISABLED_COLOR_INC 154 144 123 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 255 255 255 255
-
-#define CHECK_DELETE_TEXT_DELETE_NORMAL_COLOR_INC 207 41 41 255
-#define CHECK_DELETE_TEXT_DELETE_PRESS_COLOR_INC 255 255 255 255
-
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_NORMAL_INC 27 26 24 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_NORMAL_INC 41 36 34 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC 255 255 255 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC 0 0 0 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_SELECTED_INC 255 255 255 77
-
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_NORMAL_INC "#1B1A18ff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_NORMAL_INC "#2924224d"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_PRESSED_INC "#ffffffff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_PRESSED_INC "#2924224d"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_SELECTED_INC "#000000ff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_SELECTED_INC "#ffffff4d"
-
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_NORMAL_INC "27 26 24 255"
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_PRESS_INC "255 255 255 255"
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_SELECT_INC "0 0 0 255"
-
-#define EDITFIELD_TITLE_COLOR_INC 73 73 73 255_
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define LAYOUT_BG_COLOR_INC 245 245 237 255
-#define LAYOUT_EDIT_MODE_BG_COLOR_INC 204 198 180 255
-#define LAYOUT_GROUP_LIST_BG_COLOR_INC 204 198 180 255
-
-#define NAVIGATIONBAR_TITLE_TEXT_COLOR 255 255 255 255
-#define NAVIGATIONBAR_TITLE_TEXT_COLOR_HEX "#ffffff"
-
-#define LABEL_TEXT_BLOCK_STYLE_COLOR_INC "#000000"
-
-#define GENLIST_PART_BG_COLOR_INC 246 245 237 255
-#define GENLIST_PART_TEXT_COLOR_INC 0 0 0 255
-#define GENLIST_PART_TEXT_SELECTED_COLOR_INC 225 225 225 255
-#define GENLIST_PART_SUB_TEXT_COLOR_INC 0 0 0 255
-#define GENLIST_PART_BOTTOM_LINE_INC 212 212 212 255
-#define GENLIST_GROUP_PART_TEXT_COLOR_INC 50 50 50 255
-#define GENLIST_GROUP_PART_BASE_EVENT_INC \
- part { name: "base_event";\
- type: RECT;\
- repeat_events: 0;\
- description { state: "default" 0.0;\
- color: 0 0 0 0;\
- }\
- }
-#define GENLIST_GROUP_PART_BASE_IMAGE_INC \
- part { name: "base_image";\
- repeat_events: 1;\
- description { state: "default" 0.0;\
- rel1.to: "rect";\
- rel2.to: "rect";\
- image {\
- normal: "01_list_group_title_bg.jpg";\
- }\
- }\
- }
-#define GENLIST_GROUP_BG_COLOR_DEFAULT_INC 0 0 0 0
-#define GENLIST_GROUP_BG_COLOR_ALPHA_OFF_INC 0 0 0 0
-//color: 190 186 171 200;
-//color: 190 186 171 255;
-#define GENLIST_GROUP_LEFT_BG_COLOR_INC 210 206 191 255
-#define GENLIST_EDIT_PART_LINE_INC 187 187 187 150
-#define GENLIST_EDIT_BG_COLOR_INC 234 230 217 255
-#define GENLIST_EXPANDABLE2_PART_BG_COLOR_INC 230 228 215 255
-#define GENLIST_EXPANDABLE3_PART_BG_COLOR_INC 230 228 215 255
-#define GENLIST_EXPANDABLE2_NOSHADOW_BG_COLOR_INC 230 228 215 255
-#define GENLIST_EXPANDABLE_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_bg.png"; \
- border: 0 0 12 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_PART_BG_EXPANDABLE3_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_2_bg.png"; \
- border: 0 0 12 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_EXPANDABLE3_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_2_bg.png"; \
- border: 0 0 12 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_EXPANDABLE3_NOSHADOW_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_2_noshadow_bg.png"; \
- border: 0 0 0 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-
-#define DIALOGUEGROUP_ITEM_TITLE_TEXT_COLOR_INC 104 94 82 255
-#define DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC_HEX "#000000"
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_1_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_1_INC 213 129 31 255
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_2_INC 147 131 81 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_2_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_ON_TEXT_COLOR_INC 229 134 22 255
-#define DIALOGUEGROUP_ITEM_OFF_TEXT_COLOR_INC 56 56 56 255
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_SETTING_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_SETTING_INC 213 129 31 255
-#define DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC 255 255 255 255
-#define DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC_HEX "#ffffff"
-
-#define CONTACT_DISPLAY_NAME_FONT_COLOR_INC 0 0 0 255
-#define CONTACT_DISPLAY_NAME_FONT_GRAY_COLOR_INC 167 167 167 255
-
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC 0 0 0 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC 0 0 0 128
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC 0 0 0 128
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_COLOR_INC 160 151 145 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_SHADOW_COLOR_INC 41 36 34 255
-
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC 0 0 0 0
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_COLOR_INC 234 143 24 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC 0 0 0 102
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_COLOR_INC 234 143 24 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC 0 0 0 102
-
-
-#define BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC 53 45 39 255
-#define BUTTON_TEXT_STYLE1_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE1_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE1_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC 87 87 87 255
-#define BUTTON_TEXT_STYLE1_DISABLED_SHAWDOW_COLOR_INC 255 255 255 128
-
-
-#define BUTTON_TEXT_STYLE2_NORMAL_COLOR_INC 90 73 40 255
-#define BUTTON_TEXT_STYLE2_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_TEXT_STYLE2_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE2_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE2_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE2_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE2_DISABLED_COLOR_INC 154 144 123 128
-#define BUTTON_TEXT_STYLE2_DISABLED_SHAWDOW_COLOR_INC 255 255 255 255
-
-
-#define BUTTON_TEXT_STYLE3_NORMAL_COLOR_INC 53 45 39 255
-#define BUTTON_TEXT_STYLE3_NORMAL_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE3_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE3_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE3_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE3_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE3_DISABLED_COLOR_INC 127 119 113 255
-#define BUTTON_TEXT_STYLE3_DISABLED_SHAWDOW_COLOR_INC 255 255 255 128
-
-
-#define BUTTON_ICON_TEXT_NORMAL_COLOR_INC 90 73 40 255
-#define BUTTON_ICON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_ICON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_ICON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_ICON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_ICON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_ICON_TEXT_DISABLED_COLOR_INC 154 144 123 255
-#define BUTTON_ICON_TEXT_DISABLED_SHAWDOW_COLOR_INC 255 255 255 255
-
-
-#define BUTTON_POPUP_BUTTON_TEXT_NORMAL_COLOR_INC 53 45 39 255
-#define BUTTON_POPUP_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_POPUP_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_POPUP_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_POPUP_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_POPUP_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_POPUP_BUTTON_TEXT_DISABLED_COLOR_INC 87 87 87 255
-#define BUTTON_POPUP_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 255 255 255 128
-
-
-#define BUTTON_SWEEP_BUTTON_TEXT_NORMAL_COLOR_INC 73 71 66 255
-#define BUTTON_SWEEP_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 0
-#define BUTTON_SWEEP_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_SWEEP_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_SWEEP_BUTTON_TEXT_DISABLED_COLOR_INC 0 0 0 128
-#define BUTTON_SWEEP_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 0 0 0 0
-
-
-#define BUTTON_CONTACT_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_DISABLED_COLOR_INC 241 238 234 255
-#define BUTTON_CONTACT_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 51 45 36 128
-
-#define BUTTON_MORE_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_MORE_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 0
-
-
-#define BUTTON_HIDDEN_BUTTON_TEXT_NORMAL_COLOR_INC 0 0 0 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 0
-#define BUTTON_HIDDEN_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_HIDDEN_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_HIDDEN_BUTTON_TEXT_DISABLED_COLOR_INC 154 144 123 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 255 255 255 255
-
-#define CHECK_DELETE_TEXT_DELETE_NORMAL_COLOR_INC 207 41 41 255
-#define CHECK_DELETE_TEXT_DELETE_PRESS_COLOR_INC 255 255 255 255
-
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_NORMAL_INC 255 255 255 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_NORMAL_INC 41 36 34 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC 27 26 24 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC 0 0 0 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_SELECTED_INC 255 255 255 77
-
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_NORMAL_INC "#ffffffff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_NORMAL_INC "#2924224d"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_PRESSED_INC "#1B1A18ff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_PRESSED_INC "#2924224d"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_SELECTED_INC "#000000ff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_SELECTED_INC "#ffffff4d"
-
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_NORMAL_INC "255 255 255 255"
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_PRESS_INC "27 26 24 255"
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_SELECT_INC "0 0 0 255"
-
-#define EDITFIELD_TITLE_COLOR_INC 73 73 73 255_
+++ /dev/null
-/*
- * nBeat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-#define LAYOUT_BG_COLOR_INC 245 245 237 255
-#define LAYOUT_EDIT_MODE_BG_COLOR_INC 204 198 180 255
-#define LAYOUT_GROUP_LIST_BG_COLOR_INC 204 198 180 255
-
-#define NAVIGATIONBAR_TITLE_TEXT_COLOR 255 255 255 255
-#define NAVIGATIONBAR_TITLE_TEXT_COLOR_HEX "#ffffff"
-
-#define LABEL_TEXT_BLOCK_STYLE_COLOR_INC "#000000"
-
-#define GENLIST_PART_BG_COLOR_INC 246 245 237 255
-#define GENLIST_PART_TEXT_COLOR_INC 0 0 0 255
-#define GENLIST_PART_TEXT_SELECTED_COLOR_INC 225 225 225 255
-#define GENLIST_PART_SUB_TEXT_COLOR_INC 0 0 0 255
-#define GENLIST_PART_BOTTOM_LINE_INC 212 212 212 255
-#define GENLIST_GROUP_PART_TEXT_COLOR_INC 50 50 50 255
-#define GENLIST_GROUP_PART_BASE_EVENT_INC \
- part { name: "base_event";\
- type: RECT;\
- repeat_events: 0;\
- description { state: "default" 0.0;\
- color: 0 0 0 0;\
- }\
- }
-#define GENLIST_GROUP_PART_BASE_IMAGE_INC \
- part { name: "base_image";\
- repeat_events: 1;\
- description { state: "default" 0.0;\
- rel1.to: "rect";\
- rel2.to: "rect";\
- image {\
- normal: "01_list_group_title_bg.jpg";\
- }\
- }\
- }
-#define GENLIST_GROUP_BG_COLOR_DEFAULT_INC 0 0 0 0
-#define GENLIST_GROUP_BG_COLOR_ALPHA_OFF_INC 0 0 0 0
-//color: 190 186 171 200;
-//color: 190 186 171 255;
-#define GENLIST_GROUP_LEFT_BG_COLOR_INC 210 206 191 255
-#define GENLIST_EDIT_PART_LINE_INC 187 187 187 150
-#define GENLIST_EDIT_BG_COLOR_INC 234 230 217 255
-#define GENLIST_EXPANDABLE2_PART_BG_COLOR_INC 230 228 215 255
-#define GENLIST_EXPANDABLE3_PART_BG_COLOR_INC 230 228 215 255
-#define GENLIST_EXPANDABLE2_NOSHADOW_BG_COLOR_INC 230 228 215 255
-#define GENLIST_EXPANDABLE_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_bg.png"; \
- border: 0 0 12 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_PART_BG_EXPANDABLE3_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_2_bg.png"; \
- border: 0 0 12 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_EXPANDABLE3_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_2_bg.png"; \
- border: 0 0 12 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-#define GENLIST_EXPANDABLE3_NOSHADOW_PART_BG_IMAGE_INC \
- part { name: "bg_image"; \
- clip_to: "disclip"; \
- mouse_events: 0; \
- description { state: "default" 0.0; \
- image { \
- normal: "00_list_expandable_2_noshadow_bg.png"; \
- border: 0 0 0 6; \
- border_scale: 1; \
- } \
- } \
- description { state: "selected" 0.0; \
- inherit: "default" 0.0; \
- image.normal: "00_list_bar_press_1x80.png"; \
- } \
- BEAT_GENLIST_PART_MAP_START(-90.0, 0.0, 0.0) \
- BEAT_GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0) \
- }
-
-#define DIALOGUEGROUP_ITEM_TITLE_TEXT_COLOR_INC 104 94 82 255
-#define DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_SINGLE_TEXT_COLOR_INC_HEX "#000000"
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_1_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_1_INC 213 129 31 255
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_2_INC 147 131 81 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_2_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_ON_TEXT_COLOR_INC 229 134 22 255
-#define DIALOGUEGROUP_ITEM_OFF_TEXT_COLOR_INC 56 56 56 255
-#define DIALOGUEGROUP_ITEM_TOP_TEXT_COLOR_SETTING_INC 0 0 0 255
-#define DIALOGUEGROUP_ITEM_BOTTOM_TEXT_COLOR_SETTING_INC 213 129 31 255
-#define DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC 255 255 255 255
-#define DIALOGUEGROUP_ITEM_PRESSED_TEXT_COLOR_INC_HEX "#ffffff"
-
-#define CONTACT_DISPLAY_NAME_FONT_COLOR_INC 0 0 0 255
-#define CONTACT_DISPLAY_NAME_FONT_GRAY_COLOR_INC 167 167 167 255
-
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC 0 0 0 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC 0 0 0 128
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC 0 0 0 128
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_COLOR_INC 160 151 145 255
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_SHADOW_COLOR_INC 41 36 34 255
-
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_NORMAL_SHADOW_COLOR_INC 0 0 0 0
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_COLOR_INC 234 143 24 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_PRESSED_SHADOW_COLOR_INC 0 0 0 102
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_COLOR_INC 234 143 24 255
-#define BUTTON_NAVIBAR_BACK_BUTTON_TEXT_FOCUSED_SHADOW_COLOR_INC 0 0 0 102
-
-
-#define BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC 53 45 39 255
-#define BUTTON_TEXT_STYLE1_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE1_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE1_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC 87 87 87 255
-#define BUTTON_TEXT_STYLE1_DISABLED_SHAWDOW_COLOR_INC 255 255 255 128
-
-
-#define BUTTON_TEXT_STYLE2_NORMAL_COLOR_INC 90 73 40 255
-#define BUTTON_TEXT_STYLE2_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_TEXT_STYLE2_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE2_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE2_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE2_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE2_DISABLED_COLOR_INC 154 144 123 128
-#define BUTTON_TEXT_STYLE2_DISABLED_SHAWDOW_COLOR_INC 255 255 255 255
-
-
-#define BUTTON_TEXT_STYLE3_NORMAL_COLOR_INC 53 45 39 255
-#define BUTTON_TEXT_STYLE3_NORMAL_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE3_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE3_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE3_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE3_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_TEXT_STYLE3_DISABLED_COLOR_INC 127 119 113 255
-#define BUTTON_TEXT_STYLE3_DISABLED_SHAWDOW_COLOR_INC 255 255 255 128
-
-
-#define BUTTON_ICON_TEXT_NORMAL_COLOR_INC 90 73 40 255
-#define BUTTON_ICON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_ICON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_ICON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_ICON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_ICON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_ICON_TEXT_DISABLED_COLOR_INC 154 144 123 255
-#define BUTTON_ICON_TEXT_DISABLED_SHAWDOW_COLOR_INC 255 255 255 255
-
-
-#define BUTTON_POPUP_BUTTON_TEXT_NORMAL_COLOR_INC 53 45 39 255
-#define BUTTON_POPUP_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 255
-#define BUTTON_POPUP_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_POPUP_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_POPUP_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_POPUP_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_POPUP_BUTTON_TEXT_DISABLED_COLOR_INC 87 87 87 255
-#define BUTTON_POPUP_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 255 255 255 128
-
-
-#define BUTTON_SWEEP_BUTTON_TEXT_NORMAL_COLOR_INC 73 71 66 255
-#define BUTTON_SWEEP_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 0
-#define BUTTON_SWEEP_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_SWEEP_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_SWEEP_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_SWEEP_BUTTON_TEXT_DISABLED_COLOR_INC 0 0 0 128
-#define BUTTON_SWEEP_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 0 0 0 0
-
-
-#define BUTTON_CONTACT_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_CONTACT_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 132 74 0 255
-#define BUTTON_CONTACT_BUTTON_TEXT_DISABLED_COLOR_INC 241 238 234 255
-#define BUTTON_CONTACT_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 51 45 36 128
-
-#define BUTTON_MORE_BUTTON_TEXT_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_MORE_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 0
-
-
-#define BUTTON_HIDDEN_BUTTON_TEXT_NORMAL_COLOR_INC 0 0 0 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_NORMAL_SHAWDOW_COLOR_INC 0 0 0 0
-#define BUTTON_HIDDEN_BUTTON_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_PRESSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_HIDDEN_BUTTON_TEXT_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_FOCUSED_SHAWDOW_COLOR_INC 0 0 0 102
-#define BUTTON_HIDDEN_BUTTON_TEXT_DISABLED_COLOR_INC 154 144 123 255
-#define BUTTON_HIDDEN_BUTTON_TEXT_DISABLED_SHAWDOW_COLOR_INC 255 255 255 255
-
-#define CHECK_DELETE_TEXT_DELETE_NORMAL_COLOR_INC 207 41 41 255
-#define CHECK_DELETE_TEXT_DELETE_PRESS_COLOR_INC 255 255 255 255
-
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_NORMAL_INC 27 26 24 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_NORMAL_INC 41 36 34 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_PRESSED_INC 255 255 255 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_COLOR_SELECTED_INC 0 0 0 255
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_COLOR_SELECTED_INC 255 255 255 77
-
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_NORMAL_INC "#1B1A18ff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_NORMAL_INC "#2924224d"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_PRESSED_INC "#ffffffff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_PRESSED_INC "#2924224d"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_STYLE_COLOR_SELECTED_INC "#000000ff"
-#define SEGMENT_CONTROL_ITEM_TITLE_TEXT_SHADOW_STYLE_COLOR_SELECTED_INC "#ffffff4d"
-
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_NORMAL_INC "27 26 24 255"
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_PRESS_INC "255 255 255 255"
-#define SEGMENT_CONTROL_ITEM_LABEL_TEXT_COLOR_SELECT_INC "0 0 0 255"
-
-#define EDITFIELD_TITLE_COLOR_INC 73 73 73 255_
+++ /dev/null
-/*
- * Beat-theme
- *
- * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
- *
- * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>,
- * Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>,
- * Hyunsil Park <hyunsil.park@samsung.com>, Sohyun Kim <anna1014.kim@samsung.com>, Seunggyun Kim <sgyun.kim@samsung.com>
- *
- * This library is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by the
- * Free Software Foundation; either version 2.1 of the License, or (at your option)
- * any later version.
- *
- * This library is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
- */
-
-// 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 (beat, beat-blue, ...)
-#include "inc/tmp-inc.edc"
-
-#define INDICATOR_H 27
-#define NAVI_BAR_H 67
-#define TAB_BAR_H 86
-#define TOOL_BAR_H 74
-#define SOFTKEY_H 72
-#define SEGMENT_H 50
-#define SEARCHBAR_H 67
-
-externals {
- external: "elm";
-}
-
-collections {
-#include "groups/actionslider.edc"
-#include "groups/animatedicon.edc"
-#include "groups/badge.edc"
-#include "groups/bubble.edc"
-#include "groups/button.edc"
-#include "groups/calendar.edc"
-#include "groups/check.edc"
-#include "groups/colorpalette.edc"
-#include "groups/colorselector.edc"
-#include "groups/conformant.edc"
-#include "groups/controlbar.edc"
-#include "groups/ctxpopup.edc"
-#include "groups/datefield.edc"
-#include "groups/dayselector.edc"
-#include "groups/dialoguegroup.edc"
-#include "groups/editfield.edc"
-#include "groups/entry.edc"
-#include "groups/gengrid.edc"
-#include "groups/genlist/genlist.edc"
-#include "groups/imageslider.edc"
-#include "groups/index.edc"
-#include "groups/label.edc"
-#include "groups/layout.edc"
-#include "groups/map.edc"
-#include "groups/multibuttonentry.edc"
-//#include "groups/multisense_ui.edc"
-#include "groups/navigationbar.edc"
-#include "groups/navigationbar_ex.edc"
-#include "groups/nocontents.edc"
-#include "groups/pagecontrol.edc"
-#include "groups/panes.edc"
-#include "groups/photocam.edc"
-#include "groups/popup.edc"
-#include "groups/radio.edc"
-#include "groups/searchbar.edc"
-#include "groups/segmentedcontrol.edc"
-#include "groups/selectioninfo.edc"
-#include "groups/slider.edc"
-#include "groups/slidingdrawer.edc"
-#include "groups/stackedicon.edc"
-#include "groups/tickernoti.edc"
-#include "groups/toggle.edc"
-#include "groups/toolbar2.edc"
-#include "groups/wipercontrol.edc"
-
-// Theme Change Demo
-#include "groups/applications/contacts.edc"
-#include "groups/applications/myfile_genlist.edc"
-#include "groups/applications/email_mailbox_theme.edc"
-#include "groups/applications/email_account_theme.edc"
-#include "groups/applications/email_setting_theme.edc"
-#include "groups/applications/email_viewer_theme.edc"
-#include "groups/applications/email_composer_theme.edc"
-#include "groups/applications/msg_ui_entry.edc"
-#include "groups/applications/msg_ui_genlist.edc"
-#include "groups/applications/msg_ui_setting.edc"
-#include "groups/applications/msg_ui_thread.edc"
-#include "groups/applications/rss_macro.edc"
-#include "groups/applications/rss_tree.edc"
-#include "groups/applications/rss_tree_feed.edc"
-#include "groups/applications/rss_tree_folder.edc"
-#include "groups/applications/setting.edc"
-#include "groups/applications/calllog_theme.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" ;
- }
-}
-*/
-
-///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/bg/base/default";
- parts {
- part { name: "base";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 255;
- }
- }
- part { name: "elm.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- }
- }
- }
- }
-
- group { name: "elm/bg/base/dialogue_field";
- images {
- image: "01_dialog_field_background.png" COMP;
- }
- parts {
- part { name: "base";
- mouse_events: 0;
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 255;
- }
- }
- part { name: "elm.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- }
- }
- part { name: "image";
- mouse_events: 0;
- type: IMAGE;
- description { state: "default" 0.0;
- image.normal: "01_dialog_field_background.png";
- image.border: 5 5 5 5;
- }
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/hover/base/default";
- images {
- image: "shad_circ.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";
- rel1.relative: 1.0 1.0;
- rel2.to: "elm.swallow.offset";
- rel2.relative: 1.0 1.0;
- }
- }
- part { name: "base";
- type: RECT;
- mouse_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 64;
- }
- }
- part { name: "shad";
- mouse_events: 0;
- description { state: "default" 0.0;
- image.normal: "shad_circ.png";
- rel1.to: "elm.swallow.size";
- rel1.offset: -32 -32;
- rel2.to: "elm.swallow.size";
- rel2.offset: 31 31;
- fill.smooth: 0;
- }
- }
- part { name: "box";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.to: "elm.swallow.size";
- rel1.offset: -2 -2;
- rel2.to: "elm.swallow.size";
- rel2.offset: 1 1;
- }
- }
- part { name: "elm.swallow.slot.left";
- type: SWALLOW;
- description { state: "default" 0.0;
- align: 1.0 0.5;
- rel1.to: "elm.swallow.slot.middle";
- rel1.relative: 0.0 0.0;
- rel1.offset: -1 0;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 0.0 1.0;
- rel2.offset: -1 -1;
- }
- }
- part { name: "elm.swallow.slot.right";
- type: SWALLOW;
- description { state: "default" 0.0;
- align: 0.0 0.5;
- rel1.to: "elm.swallow.slot.middle";
- rel1.relative: 1.0 0.0;
- rel1.offset: 0 0;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 1.0;
- rel2.offset: 0 -1;
- }
- }
- part { name: "elm.swallow.slot.top";
- type: SWALLOW;
- description { state: "default" 0.0;
- align: 0.5 1.0;
- rel1.to: "elm.swallow.slot.middle";
- rel1.relative: 0.0 0.0;
- rel1.offset: 0 -1;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 0.0;
- rel2.offset: -1 -1;
- }
- }
- part { name: "elm.swallow.slot.bottom";
- type: SWALLOW;
- description { state: "default" 0.0;
- align: 0.5 0.0;
- rel1.to: "elm.swallow.slot.middle";
- rel1.relative: 0.0 1.0;
- rel1.offset: 0 0;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 1.0;
- rel2.offset: -1 0;
- }
- }
- 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/matchlist";
- 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";
- rel1.relative: 1.0 1.0;
- rel2.to: "elm.swallow.offset";
- rel2.relative: 1.0 1.0;
- }
- }
- part { name: "base";
- type: RECT;
- mouse_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "box";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.to: "elm.swallow.size";
- rel1.offset: -2 -2;
- rel2.to: "elm.swallow.size";
- rel2.offset: 1 1;
- }
- }
- part { name: "elm.swallow.slot.left";
- type: SWALLOW;
- description { state: "default" 0.0;
- align: 1.0 0.5;
- rel1.to: "elm.swallow.slot.middle";
- rel1.relative: 0.0 0.0;
- rel1.offset: -1 0;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 0.0 1.0;
- rel2.offset: -1 -1;
- }
- }
- part { name: "elm.swallow.slot.right";
- type: SWALLOW;
- description { state: "default" 0.0;
- align: 0.0 0.5;
- rel1.to: "elm.swallow.slot.middle";
- rel1.relative: 1.0 0.0;
- rel1.offset: 0 0;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 1.0;
- rel2.offset: 0 -1;
- }
- }
- part { name: "elm.swallow.slot.top";
- type: SWALLOW;
- description { state: "default" 0.0;
- align: 0.5 1.0;
- rel1.to: "elm.swallow.slot.middle";
- rel1.relative: 0.0 0.0;
- rel1.offset: 0 -1;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 0.0;
- rel2.offset: -1 -1;
- }
- }
- part { name: "elm.swallow.slot.bottom";
- type: SWALLOW;
- description { state: "default" 0.0;
- align: 0.5 0.0;
- rel1.to: "elm.swallow.slot.middle";
- rel1.relative: 0.0 1.0;
- rel1.offset: 0 0;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 1.0;
- rel2.offset: -1 0;
- }
- }
- 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: "shad_circ.png" COMP;
- image: "bt_dis_base.png" COMP;
- image: "bt_dis_hilight.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";
- rel1.relative: 1.0 1.0;
- rel2.to: "elm.swallow.offset";
- rel2.relative: 1.0 1.0;
- }
- }
- part { name: "base";
- type: RECT;
- 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: "leftclip";
- type: RECT;
- description { state: "default" 0.0;
- rel2.to_x: "pop";
- rel2.relative: 0.0 1.0;
- rel2.offset: 1 -1;
- }
- }
- part { name: "left";
- clip_to: "leftclip";
- description { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.slot.left";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.slot.left";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.swallow.slot.left";
- type: SWALLOW;
- clip_to: "leftclip";
- description { state: "default" 0.0;
- align: 0.0 0.5;
- rel1.to: "elm.swallow.slot.middle";
- rel1.relative: 0.0 0.0;
- rel1.offset: -1 0;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 0.0 1.0;
- rel2.offset: -1 -1;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.offset: -7 0;
- rel2.offset: -7 -1;
- align: 1.0 0.5;
- }
- }
- part { name: "leftover";
- clip_to: "leftclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "left";
- rel2.to: "left";
- rel2.relative: 1.0 0.5;
- color: 0 0 0 0;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "rightclip";
- type: RECT;
- description { state: "default" 0.0;
- rel1.to_x: "pop";
- rel1.relative: 1.0 0.0;
- rel1.offset: -2 0;
- }
- }
- part { name: "right";
- clip_to: "rightclip";
- description { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.slot.right";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.slot.right";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.swallow.slot.right";
- type: SWALLOW;
- clip_to: "rightclip";
- description { state: "default" 0.0;
- align: 1.0 0.5;
- rel1.to: "elm.swallow.slot.middle";
- rel1.relative: 1.0 0.0;
- rel1.offset: 0 0;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 1.0;
- rel2.offset: 0 -1;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.offset: 6 0;
- rel2.offset: 6 -1;
- align: 0.0 0.5;
- }
- }
- part { name: "rightover";
- clip_to: "rightclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "right";
- rel2.to: "right";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "topclip";
- type: RECT;
- description { state: "default" 0.0;
- rel2.to_y: "pop";
- rel2.relative: 1.0 0.0;
- rel2.offset: -1 1;
- }
- }
- part { name: "top";
- clip_to: "topclip";
- description { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.slot.top";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.slot.top";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.swallow.slot.top";
- type: SWALLOW;
- clip_to: "topclip";
- description { state: "default" 0.0;
- visible: 1;
- align: 0.5 0.0;
- rel1.to: "elm.swallow.slot.middle";
- rel1.relative: 0.0 0.0;
- rel1.offset: 0 -1;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 0.0;
- rel2.offset: -1 -1;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.offset: 0 -7;
- rel2.offset: -1 -7;
- align: 0.5 1.0;
- }
- }
- part { name: "topover";
- clip_to: "topclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "top";
- rel2.to: "top";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "bottomclip";
- type: RECT;
- description { state: "default" 0.0;
- rel1.to_y: "pop";
- rel1.relative: 0.0 1.0;
- rel1.offset: -1 -2;
- }
- }
- part { name: "bottom";
- clip_to: "bottomclip";
- description { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.slot.bottom";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.slot.bottom";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- 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";
- rel1.relative: 0.0 1.0;
- rel1.offset: 0 0;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 1.0;
- rel2.offset: -1 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.offset: 0 6;
- rel2.offset: -1 6;
- align: 0.5 0.0;
- }
- }
- part { name: "bottomover";
- clip_to: "bottomclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "bottom";
- rel2.to: "bottom";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "shad";
- mouse_events: 0;
- description { state: "default" 0.0;
- image.normal: "shad_circ.png";
- rel1.to: "elm.swallow.size";
- rel1.offset: -64 -64;
- rel2.to: "elm.swallow.size";
- rel2.offset: 63 63;
- fill.smooth: 0;
- }
- }
- part { name: "pop";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.slot.middle";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.slot.middle";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- }
- part { name: "elm.swallow.slot.middle";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.size";
- rel2.to: "elm.swallow.size";
- }
- }
- part { name: "popover";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "pop";
- rel2.to: "pop";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 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: "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: "shad_circ.png" COMP;
- image: "bt_dis_base.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";
- rel1.relative: 1.0 1.0;
- rel2.to: "elm.swallow.offset";
- rel2.relative: 1.0 1.0;
- }
- }
- part { name: "base";
- type: RECT;
- 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: "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: "pop";
- rel1.relative: 0.0 1.0;
- rel1.offset: -1 -2;
- }
- }
- part { name: "bottom";
- clip_to: "bottomclip";
- description { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.slot.bottom";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.slot.bottom";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- 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";
- rel1.relative: 0.0 1.0;
- rel1.offset: 0 0;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 1.0;
- rel2.offset: -1 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.offset: 0 6;
- rel2.offset: -1 6;
- align: 0.5 0.0;
- }
- }
- part { name: "pop";
- mouse_events: 1;
- repeat_events:1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.slot.middle";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.slot.middle";
- rel2.offset: 4 4;
- }
- }
- part { name: "elm.swallow.slot.middle";
- type: SWALLOW;
- repeat_events: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: "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 submenu only the bottom part is used
- //and no part should interact except the bottom area
- group { name: "elm/hover/base/submenu";
- images {
- image: "shad_circ.png" COMP;
- image: "bt_dis_base.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";
- rel1.relative: 1.0 1.0;
- rel2.to: "elm.swallow.offset";
- rel2.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: 0 0 0 0;
- 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: "pop";
- rel1.relative: 0.0 1.0;
- rel1.offset: -1 -2;
- }
- }
- part { name: "bottom";
- clip_to: "bottomclip";
- description { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.slot.bottom";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.slot.bottom";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- 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";
- rel1.relative: 0.0 1.0;
- rel1.offset: 0 0;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 1.0;
- rel2.offset: -1 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.offset: 0 6;
- rel2.offset: -1 6;
- align: 0.5 0.0;
- }
- }
- part { name: "pop";
- mouse_events: 1;
- repeat_events:1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.slot.middle";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.slot.middle";
- rel2.offset: 4 4;
- }
- }
- part { name: "elm.swallow.slot.middle";
- type: SWALLOW;
- repeat_events: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: "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";
- }
- }
- }
-
- group { name: "elm/hover/base/hoversel_vertical/default";
- alias: "elm/hover/base/hoversel_vertical/entry";
- images {
-// image: "shad_circ.png" COMP;
- image: "bt_base2.png" COMP;
- image: "bt_hilight.png" COMP;
- image: "bt_shine.png" COMP;
- image: "outdent-top.png" COMP;
- image: "outdent-bottom.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";
- rel1.relative: 1.0 1.0;
- rel2.to: "elm.swallow.offset";
- rel2.relative: 1.0 1.0;
- }
- }
-/*
- part { name: "shad";
- mouse_events: 0;
- description { state: "default" 0.0;
- image.normal: "shad_circ.png";
- rel1.to: "button_image";
- rel1.offset: -64 -64;
- rel2.to: "button_image";
- rel2.offset: 63 63;
- fill.smooth: 0;
- }
- }
- */
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to_x: "elm.swallow.slot.top";
- rel1.to_y: "elm.swallow.slot.top";
- rel1.offset: -2 -6;
- rel2.to_x: "elm.swallow.slot.top";
- rel2.to_y: "elm.swallow.slot.bottom";
- rel2.offset: 1 5;
- image {
- normal: "bt_base2.png";
- border: 7 7 7 7;
- }
- image.middle: SOLID;
- }
-
- description { state: "bottom" 0.0;
- rel1.to_x: "elm.swallow.slot.bottom";
- rel1.to_y: "elm.swallow.slot.top";
- rel1.offset: -2 -6;
- rel2.to_x: "elm.swallow.slot.bottom";
- rel2.to_y: "elm.swallow.slot.bottom";
- rel2.offset: 1 5;
- image {
- normal: "bt_base2.png";
- border: 7 7 7 7;
- }
- image.middle: SOLID;
- }
-
- }
-
- part { name: "base";
- type: RECT;
- 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 0;
- }
- }
-
- part { name: "topclip";
- type: RECT;
- description { state: "default" 0.0;
- rel2.to_y: "edge_top";
- rel2.relative: 1.0 0.0;
- rel2.offset: -1 7;
- }
- }
- part { name: "elm.swallow.slot.top";
- type: SWALLOW;
- clip_to: "topclip";
- description { state: "default" 0.0;
- visible: 1;
- align: 0.5 0.0;
- rel1.to: "elm.swallow.slot.middle";
- rel1.relative: 0.0 0.0;
- rel1.offset: 0 -1;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 0.0;
- rel2.offset: -1 -1;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.offset: 0 -7;
- rel2.offset: -1 -7;
- align: 0.5 1.0;
- }
- }
-
- part { name: "bottomclip";
- type: RECT;
- description { state: "default" 0.0;
- rel1.to_y: "edge_bottom";
- rel1.relative: 0.0 1.0;
- rel1.offset: -1 -8;
- }
- }
- 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";
- rel1.relative: 0.0 1.0;
- rel1.offset: 0 0;
- rel2.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 1.0;
- rel2.offset: -1 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.offset: 0 6;
- rel2.offset: -1 6;
- align: 0.5 0.0;
- }
- }
-
- part { name: "over1";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "button_image";
- rel2.to: "button_image";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_hilight.png";
- border: 7 7 7 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";
- image {
- normal: "bt_shine.png";
- border: 7 7 7 7;
- }
- }
- }
- part { name: "edge_top";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- rel1 {
- to: "elm.swallow.size";
- offset: 0 -10;
- }
- rel2 {
- to: "elm.swallow.size";
- }
- image.normal: "outdent-bottom.png";
- image.border: 0 0 13 0;
- fill.smooth: 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "edge_bottom";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- rel1 {
- to: "elm.swallow.size";
- }
- rel2 {
- to: "elm.swallow.size";
- offset: -1 9;
- }
- image.normal: "outdent-top.png";
- image.border: 0 0 0 13;
- fill.smooth: 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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;
-// 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: "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/entry";
- images {
- image: "10_cont_popup_copypaste_bg01.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";
- rel1.relative: 1.0 1.0;
- rel2.to: "elm.swallow.offset";
- rel2.relative: 1.0 1.0;
- }
- }
- 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";
- }
- }
-
- part { name: "base";
- type: RECT;
- mouse_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 1.0;
- color: 0 0 0 64;
- }
- }
-
- part { name: "edge_top";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "edge_bottom";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
-
-
- part { name: "button_image_right";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- color: 255 255 255 255;
- image.normal: "10_cont_popup_copypaste_bg01.png";
- image.border: 4 4 4 4;
- fill.smooth: 0;
- align: 0.5 0.5;
- rel1 {
- to: "elm.swallow.slot.right";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "elm.swallow.slot.right";
- relative: 1.0 1.0;
- offset: -2 -2;
- }
- }
- }
- part { name: "button_image_left";
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- color: 255 255 255 255;
- image.normal: "10_cont_popup_copypaste_bg01.png";
- image.border: 4 4 4 4;
- fill.smooth: 0;
- align: 0.5 0.5;
- rel1 {
- to: "elm.swallow.slot.left";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "elm.swallow.slot.left";
- relative: 1.0 1.0;
- offset: -2 -2;
- }
- }
- }
-
- part { name: "elm.swallow.slot.top";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- fixed: 0 1;
- min: 460 60;
- max: 460 60;
- align: 0.5 1.0;
- rel1.relative: 0.0 0.0;
- rel1.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 0.0;
- rel2.to: "elm.swallow.slot.middle";
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "elm.swallow.slot.bottom";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- fixed: 0 1;
- min: 460 60;
- max: 460 60;
- align: 0.5 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: "elm.swallow.slot.middle";
- rel2.relative: 1.0 1.0;
- rel2.to: "elm.swallow.slot.middle";
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- }
- }
-
- part { name: "elm.swallow.slot.right";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- align: 0.5 0.5;
- rel1.relative: 0.5 0.0;
- rel1.to_y: "elm.swallow.slot.middle";
- rel2.relative: 0.5 1.0;
- rel2.to_y: "elm.swallow.slot.middle";
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "elm.swallow.slot.left";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- visible: 1;
- align: 0.5 0.5;
- rel1.relative: 0.5 0.0;
- rel1.to_y: "elm.swallow.slot.middle";
- rel2.relative: 0.5 1.0;
- rel2.to_y: "elm.swallow.slot.middle";
- }
- description { state: "visible" 0.0;
- inherit: "default" 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: "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: "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: "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/notify/block_events/default";
- parts {
- part { name: "block_events";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- description { state: "default" 0.0;
- color: 0 0 0 180;
- }
- }
- }
- programs {
- program {
- name: "block_clicked";
- signal: "mouse,clicked,1";
- source: "block_events";
- action: SIGNAL_EMIT "elm,action,clicked" "elm";
- }
- }
- }
- group { name: "elm/notify/top/default";
- //this group is a design similar to the inwin group
- images {
- // image: "shad_circ.png" COMP;
- // image: "bt_dis_base.png" COMP;
- // image: "bt_dis_hilight.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.offset: 10 10;
- rel2.offset: -10 -10;
- 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: "shad";
- mouse_events: 0;
- description { state: "default" 0.0;
- // image.normal: "shad_circ.png";
- rel1.to: "elm.swallow.content";
- rel1.offset: -64 -64;
- rel2.to: "elm.swallow.content";
- rel2.offset: 63 63;
- fill.smooth: 0;
- }
- }
- part { name: "pop";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.content";
- rel2.offset: 4 4;
- image {
- // normal: "bt_dis_base.png";
- // border: 4 4 4 4;
- }
- // image.middle: SOLID;
- }
- }
- part { name: "popover";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "pop";
- rel2.to: "pop";
- rel2.relative: 1.0 0.5;
- image {
- // normal: "bt_dis_hilight.png";
- // border: 4 4 4 0;
- }
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- }
- }
- }
- programs {
- program { name: "show";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- }
- program { name: "show_2";
- signal: "show";
- action: STATE_SET "default" 0.0;
- target: "base";
- after: "show_3";
- }
- program { name: "show_3";
- signal: "show";
- action: STATE_SET "visible" 0.0;
- target: "base";
- transition: LINEAR 0.5;
- }
- program { name: "hide";
- signal: "elm,action,hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "base";
- }
- }
- }
- group { name: "elm/notify/center/default";
- //this group is a design similar to the inwin group
- images {
- // image: "00_popup_bg.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- scale : 1;
- 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: "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: "pop";
- scale : 1;
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- image {
- // normal: "00_popup_bg.png";
- // border: 16 16 15 29;
- middle: DEFAULT;
- border_scale: 0;
- }
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale : 1;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- map {
- on: 1;
- backface_cull: 1;
- perspective: "persp";
- }
- }
- description { state: "visible" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- map {
- on: 1;
- backface_cull: 1;
- perspective: "persp1";
- }
- }
- description { state: "end" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- map {
- on: 0;
- }
- }
- }
- }
- programs {
- program { name: "show";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- }
- program { name: "show_2";
- signal: "show";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.content";
- transition: LINEAR 0.2;
- after: "end";
- }
- program { name: "end";
- 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/bottom/default";
- //this group is a design similar to the inwin group
- /*images {
- image: "shad_circ.png" COMP;
- image: "bt_dis_base.png" COMP;
- image: "bt_dis_hilight.png" COMP;
- }*/
- parts {
- part { name: "base";
- type: RECT;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- //rel1.offset: 10 10;
- //rel2.offset: -10 -10;
- 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: "shad";
- mouse_events: 0;
- description { state: "default" 0.0;
- image.normal: "shad_circ.png";
- rel1.to: "elm.swallow.content";
- rel1.offset: -64 -64;
- rel2.to: "elm.swallow.content";
- rel2.offset: 63 63;
- fill.smooth: 0;
- }
- }
- part { name: "pop";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.content";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- }
- part { name: "popover";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "pop";
- rel2.to: "pop";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }*/
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- }
- }
- }
- programs {
- program { name: "show";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- }
- program { name: "show_2";
- signal: "show";
- action: STATE_SET "default" 0.0;
- target: "base";
- after: "show_3";
- }
- program { name: "show_3";
- signal: "show";
- action: STATE_SET "visible" 0.0;
- target: "base";
- transition: LINEAR 0.5;
- }
- program { name: "hide";
- signal: "elm,action,hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "base";
- }
- }
- }
- group { name: "elm/notify/left/default";
- //this group is a design similar to the inwin group
- images {
- image: "shad_circ.png" COMP;
- image: "bt_dis_base.png" COMP;
- image: "bt_dis_hilight.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.offset: 10 10;
- rel2.offset: -10 -10;
- 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: "shad";
- mouse_events: 0;
- description { state: "default" 0.0;
- image.normal: "shad_circ.png";
- rel1.to: "elm.swallow.content";
- rel1.offset: -64 -64;
- rel2.to: "elm.swallow.content";
- rel2.offset: 63 63;
- fill.smooth: 0;
- }
- }
- part { name: "pop";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.content";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- }
- part { name: "popover";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "pop";
- rel2.to: "pop";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- }
- }
- }
- programs {
- program { name: "show";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- }
- program { name: "show_2";
- signal: "show";
- action: STATE_SET "default" 0.0;
- target: "base";
- after: "show_3";
- }
- program { name: "show_3";
- signal: "show";
- action: STATE_SET "visible" 0.0;
- target: "base";
- transition: LINEAR 0.5;
- }
- program { name: "hide";
- signal: "elm,action,hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "base";
- }
- }
- }
- group { name: "elm/notify/right/default";
- //this group is a design similar to the inwin group
- images {
- image: "shad_circ.png" COMP;
- image: "bt_dis_base.png" COMP;
- image: "bt_dis_hilight.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.offset: 10 10;
- rel2.offset: -10 -10;
- 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: "shad";
- mouse_events: 0;
- description { state: "default" 0.0;
- image.normal: "shad_circ.png";
- rel1.to: "elm.swallow.content";
- rel1.offset: -64 -64;
- rel2.to: "elm.swallow.content";
- rel2.offset: 63 63;
- fill.smooth: 0;
- }
- }
- part { name: "pop";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.content";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- }
- part { name: "popover";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "pop";
- rel2.to: "pop";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- }
- }
- }
- programs {
- program { name: "show";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- }
- program { name: "show_2";
- signal: "show";
- action: STATE_SET "default" 0.0;
- target: "base";
- after: "show_3";
- }
- program { name: "show_3";
- signal: "show";
- action: STATE_SET "visible" 0.0;
- target: "base";
- transition: LINEAR 0.5;
- }
- program { name: "hide";
- signal: "elm,action,hide";
- source: "elm";
- 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
- images {
- image: "shad_circ.png" COMP;
- image: "bt_dis_base.png" COMP;
- image: "bt_dis_hilight.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.offset: 10 10;
- rel2.offset: -10 -10;
- 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: "shad";
- mouse_events: 0;
- description { state: "default" 0.0;
- image.normal: "shad_circ.png";
- rel1.to: "elm.swallow.content";
- rel1.offset: -64 -64;
- rel2.to: "elm.swallow.content";
- rel2.offset: 63 63;
- fill.smooth: 0;
- }
- }
- part { name: "pop";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.content";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- }
- part { name: "popover";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "pop";
- rel2.to: "pop";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- }
- }
- }
- programs {
- program { name: "show";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- }
- program { name: "show_2";
- signal: "show";
- action: STATE_SET "default" 0.0;
- target: "base";
- after: "show_3";
- }
- program { name: "show_3";
- signal: "show";
- action: STATE_SET "visible" 0.0;
- target: "base";
- transition: LINEAR 0.5;
- }
- program { name: "hide";
- signal: "elm,action,hide";
- source: "elm";
- 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
- images {
- image: "shad_circ.png" COMP;
- image: "bt_dis_base.png" COMP;
- image: "bt_dis_hilight.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.offset: 10 10;
- rel2.offset: -10 -10;
- 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: "shad";
- mouse_events: 0;
- description { state: "default" 0.0;
- image.normal: "shad_circ.png";
- rel1.to: "elm.swallow.content";
- rel1.offset: -64 -64;
- rel2.to: "elm.swallow.content";
- rel2.offset: 63 63;
- fill.smooth: 0;
- }
- }
- part { name: "pop";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.content";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- }
- part { name: "popover";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "pop";
- rel2.to: "pop";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- }
- }
- }
- programs {
- program { name: "show";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- }
- program { name: "show_2";
- signal: "show";
- action: STATE_SET "default" 0.0;
- target: "base";
- after: "show_3";
- }
- program { name: "show_3";
- signal: "show";
- action: STATE_SET "visible" 0.0;
- target: "base";
- transition: LINEAR 0.5;
- }
- program { name: "hide";
- signal: "elm,action,hide";
- source: "elm";
- 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
- images {
- image: "shad_circ.png" COMP;
- image: "bt_dis_base.png" COMP;
- image: "bt_dis_hilight.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.offset: 10 10;
- rel2.offset: -10 -10;
- 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: "shad";
- mouse_events: 0;
- description { state: "default" 0.0;
- image.normal: "shad_circ.png";
- rel1.to: "elm.swallow.content";
- rel1.offset: -64 -64;
- rel2.to: "elm.swallow.content";
- rel2.offset: 63 63;
- fill.smooth: 0;
- }
- }
- part { name: "pop";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.content";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- }
- part { name: "popover";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "pop";
- rel2.to: "pop";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- }
- }
- }
- programs {
- program { name: "show";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- }
- program { name: "show_2";
- signal: "show";
- action: STATE_SET "default" 0.0;
- target: "base";
- after: "show_3";
- }
- program { name: "show_3";
- signal: "show";
- action: STATE_SET "visible" 0.0;
- target: "base";
- transition: LINEAR 0.5;
- }
- program { name: "hide";
- signal: "elm,action,hide";
- source: "elm";
- 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
- images {
- image: "shad_circ.png" COMP;
- image: "bt_dis_base.png" COMP;
- image: "bt_dis_hilight.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- mouse_events: 0;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- rel1.offset: 10 10;
- rel2.offset: -10 -10;
- 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: "shad";
- mouse_events: 0;
- description { state: "default" 0.0;
- image.normal: "shad_circ.png";
- rel1.to: "elm.swallow.content";
- rel1.offset: -64 -64;
- rel2.to: "elm.swallow.content";
- rel2.offset: 63 63;
- fill.smooth: 0;
- }
- }
- part { name: "pop";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.content";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- }
- part { name: "popover";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "pop";
- rel2.to: "pop";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.to: "base";
- rel2.to: "base";
- }
- }
- }
- programs {
- program { name: "show";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- }
- program { name: "show_2";
- signal: "show";
- action: STATE_SET "default" 0.0;
- target: "base";
- after: "show_3";
- }
- program { name: "show_3";
- signal: "show";
- action: STATE_SET "visible" 0.0;
- target: "base";
- transition: LINEAR 0.5;
- }
- program { name: "hide";
- signal: "elm,action,hide";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "base";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/win/inwin/default";
- images {
- image: "shad_circ.png" COMP;
- image: "bt_dis_base.png" COMP;
- image: "bt_dis_hilight.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- 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: "shad";
- mouse_events: 0;
- description { state: "default" 0.0;
- image.normal: "shad_circ.png";
- rel1.to: "elm.swallow.content";
- rel1.offset: -64 -64;
- rel2.to: "elm.swallow.content";
- rel2.offset: 63 63;
- fill.smooth: 0;
- }
- }
- part { name: "pop";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.content";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- }
- part { name: "popover";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "pop";
- rel2.to: "pop";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- description { state: "default" 0.0;
- rel1.relative: 0.1 0.1;
- rel2.relative: 0.9 0.9;
- }
- }
- }
- programs {
- 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";
- }
- }
- }
-
- group { name: "elm/win/inwin/minimal";
- images {
- image: "shad_circ.png" COMP;
- image: "bt_dis_base.png" COMP;
- image: "bt_dis_hilight.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- 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: "shad";
- mouse_events: 0;
- description { state: "default" 0.0;
- image.normal: "shad_circ.png";
- rel1.to: "elm.swallow.content";
- rel1.offset: -64 -64;
- rel2.to: "elm.swallow.content";
- rel2.offset: 63 63;
- fill.smooth: 0;
- }
- }
- part { name: "pop";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.content";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- }
- part { name: "popover";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "pop";
- rel2.to: "pop";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- 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;
-// 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";
- }
- }
- }
-
- group { name: "elm/win/inwin/minimal_vertical";
- images {
- image: "shad_circ.png" COMP;
- image: "bt_dis_base.png" COMP;
- image: "bt_dis_hilight.png" COMP;
- }
- parts {
- part { name: "base";
- type: RECT;
- 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: "shad";
- mouse_events: 0;
- description { state: "default" 0.0;
- image.normal: "shad_circ.png";
- rel1.to: "elm.swallow.content";
- rel1.offset: -64 -64;
- rel2.to: "elm.swallow.content";
- rel2.offset: 63 63;
- fill.smooth: 0;
- }
- }
- part { name: "pop";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel1.offset: -5 -5;
- rel2.to: "elm.swallow.content";
- rel2.offset: 4 4;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- image.middle: SOLID;
- }
- }
- part { name: "popover";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "pop";
- rel2.to: "pop";
- rel2.relative: 1.0 0.5;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- 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;
-// 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";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/pager/base/default";
- data.item: "onshow" "raise";
-// other options
-// data.item: "onhide" "lower";
-// data.item: "onshow" "lower";
- /*images {
- image: "frame_1.png" COMP;
- image: "frame_2.png" COMP;
- image: "dia_grad.png" COMP;
- }*/
- parts {
- part { name: "clip";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1 {
- to: "base";
- offset: -9999 -9999;
- }
- rel2 {
- to: "base";
- offset: 9999 9999;
- }
- color: 255 255 255 255;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "hidden" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- visible: 0;
- }
- }
- part { name: "base0";
- mouse_events: 0;
- clip_to: "clip";
- description { state: "default" 0.0;
- //image.normal: "dia_grad.png";
- rel1.to: "over";
- rel2.to: "over";
- /*fill {
- smooth: 0;
- size {
- relative: 0.0 1.0;
- offset: 64 0;
- }
- }*/
- }
- }
- part { name: "base";
- mouse_events: 0;
- clip_to: "clip";
- description { state: "default" 0.0;
- /*image {
- normal: "frame_2.png";
- border: 5 5 32 26;
- middle: 0;
- }
- fill.smooth : 0;*/
- }
- description { state: "hidden" 0.0;
- inherit: "default" 0.0;
- rel1.relative: -1.0 0.0;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- part { name: "over";
- mouse_events: 0;
- clip_to: "clip";
- description { state: "default" 0.0;
- rel1 {
- to: "base";
- offset: 4 4;
- }
- rel2 {
- to: "base";
- offset: -5 -5;
- }
- /*image {
- normal: "frame_1.png";
- border: 2 2 28 22;
- middle: 0;
- }
- fill.smooth : 0;*/
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- clip_to: "clip";
- description { state: "default" 0.0;
- rel1 {
- to: "base";
- //offset: 8 8;
- }
- rel2 {
- to: "base";
- //offset: -9 -9;
- }
- }
- }
- }
- programs {
- program { name: "push_start";
- signal: "elm,action,push";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "base";
- target: "clip";
- after: "show_start2";
- }
-
- program { name: "show_start";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "base";
- target: "clip";
- after: "show_start2";
- }
- program { name: "show_start2";
- action: STATE_SET "visible" 0.0;
- transition: DECELERATE 0.5;
- target: "base";
- target: "clip";
- after: "show_end";
- }
- program { name: "show_end";
- action: SIGNAL_EMIT "elm,action,show,finished" "";
- }
- program { name: "pop_start";
- signal: "elm,action,pop";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- target: "clip";
- after: "hide_start2";
- }
-
- program { name: "hide_start";
- signal: "elm,action,hide";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- target: "clip";
- after: "hide_start2";
- }
- program { name: "hide_start2";
- action: STATE_SET "hidden" 0.0;
- transition: DECELERATE 0.5;
- target: "base";
- target: "clip";
- after: "hide_end";
- }
- program { name: "hide_end";
- action: SIGNAL_EMIT "elm,action,hide,finished" "";
- }
- program { name: "reset";
- signal: "elm,action,reset";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "base";
- target: "clip";
- }
- }
- }
-
- group { name: "elm/pager/base/fade";
- data.item: "onshow" "raise";
- // other options
- // data.item: "onhide" "lower";
- // data.item: "onshow" "lower";
- images {
- image: "frame_1.png" COMP;
- image: "frame_2.png" COMP;
- image: "dia_grad.png" COMP;
- }
- parts {
- part { name: "clip_base";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1 {
- to: "base";
- offset: -9999 -9999;
- }
- rel2 {
- to: "base";
- offset: 9999 9999;
- }
- color: 255 255 255 120;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "hidden" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- visible: 0;
- }
- }
- part { name: "clip";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1 {
- to: "base";
- offset: -9999 -9999;
- }
- rel2 {
- to: "base";
- offset: 9999 9999;
- }
- color: 255 255 255 255;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "hidden" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- visible: 0;
- }
- }
- part { name: "base0";
- mouse_events: 0;
- clip_to: "clip_base";
- description { state: "default" 0.0;
- image.normal: "dia_grad.png";
- rel1.to: "over";
- rel2.to: "over";
- fill {
- smooth: 0;
- size {
- relative: 0.0 1.0;
- offset: 64 0;
- }
- }
- }
- }
- part { name: "base";
- mouse_events: 0;
- clip_to: "clip_base";
- description { state: "default" 0.0;
- image {
- normal: "frame_2.png";
- border: 5 5 32 26;
- middle: 0;
- }
- fill.smooth : 0;
- }
- }
- part { name: "over";
- mouse_events: 0;
- clip_to: "clip";
- description { state: "default" 0.0;
- rel1 {
- to: "base";
- offset: 4 4;
- }
- rel2 {
- to: "base";
- offset: -5 -5;
- }
- image {
- normal: "frame_1.png";
- border: 2 2 28 22;
- middle: 0;
- }
- fill.smooth : 0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- clip_to: "clip";
- description { state: "default" 0.0;
- rel1 {
- to: "base";
- offset: 8 8;
- }
- rel2 {
- to: "base";
- offset: -9 -9;
- }
- }
- }
- }
- programs {
- program { name: "push_start";
- signal: "elm,action,push";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "base";
- target: "clip";
- after: "show_start2";
- }
- program { name: "show_start";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "clip";
- target: "clip_base";
- after: "show_start2";
- }
- program { name: "show_start2";
- action: STATE_SET "visible" 0.0;
- transition: DECELERATE 0.5;
- target: "clip";
- target: "clip_base";
- after: "show_end";
- }
- program { name: "show_end";
- action: SIGNAL_EMIT "elm,action,show,finished" "";
- }
- program { name: "pop_start";
- signal: "elm,action,pop";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- target: "clip";
- after: "hide_start2";
- }
- program { name: "hide_start";
- signal: "elm,action,hide";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "clip";
- target: "clip_base";
- after: "hide_start2";
- }
- program { name: "hide_start2";
- action: STATE_SET "hidden" 0.0;
- transition: DECELERATE 0.5;
- target: "clip";
- target: "clip_base";
- after: "hide_end";
- }
- program { name: "hide_end";
- action: SIGNAL_EMIT "elm,action,hide,finished" "";
- }
- program { name: "reset";
- signal: "elm,action,reset";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "clip_base";
- target: "clip";
- }
- }
- }
- group { name: "elm/pager/base/fade_translucide";
- data.item: "onshow" "raise";
- // other options
- // data.item: "onhide" "lower";
- // data.item: "onshow" "lower";
- images {
- image: "frame_1.png" COMP;
- image: "frame_2.png" COMP;
- image: "dia_grad.png" COMP;
- }
- parts {
- part { name: "clip_base";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1 {
- to: "base";
- offset: -9999 -9999;
- }
- rel2 {
- to: "base";
- offset: 9999 9999;
- }
- color: 255 255 255 120;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "hidden" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- visible: 0;
- }
- }
- part { name: "clip";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1 {
- to: "base";
- offset: -9999 -9999;
- }
- rel2 {
- to: "base";
- offset: 9999 9999;
- }
- color: 255 255 255 255;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "hidden" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- visible: 0;
- }
- }
- part { name: "base0";
- mouse_events: 0;
- clip_to: "clip_base";
- description { state: "default" 0.0;
- image.normal: "dia_grad.png";
- rel1.to: "over";
- rel2.to: "over";
- fill {
- smooth: 0;
- size {
- relative: 0.0 1.0;
- offset: 64 0;
- }
- }
- }
- }
- part { name: "base";
- mouse_events: 0;
- clip_to: "clip_base";
- description { state: "default" 0.0;
- image {
- normal: "frame_2.png";
- border: 5 5 32 26;
- middle: 0;
- }
- fill.smooth : 0;
- }
- }
- part { name: "over";
- mouse_events: 0;
- clip_to: "clip";
- description { state: "default" 0.0;
- rel1 {
- to: "base";
- offset: 4 4;
- }
- rel2 {
- to: "base";
- offset: -5 -5;
- }
- image {
- normal: "frame_1.png";
- border: 2 2 28 22;
- middle: 0;
- }
- fill.smooth : 0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- clip_to: "clip";
- description { state: "default" 0.0;
- rel1 {
- to: "base";
- offset: 8 8;
- }
- rel2 {
- to: "base";
- offset: -9 -9;
- }
- }
- }
- }
- programs {
- program { name: "push_start";
- signal: "elm,action,push";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "base";
- target: "clip";
- after: "show_start2";
- }
- program { name: "show_start";
- signal: "elm,action,show";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "clip";
- target: "clip_base";
- after: "show_start2";
- }
- program { name: "show_start2";
- action: STATE_SET "visible" 0.0;
- transition: DECELERATE 0.5;
- target: "clip";
- target: "clip_base";
- after: "show_end";
- }
- program { name: "show_end";
- action: SIGNAL_EMIT "elm,action,show,finished" "";
- }
- program { name: "pop_start";
- signal: "elm,action,pop";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "base";
- target: "clip";
- after: "hide_start2";
- }
- program { name: "hide_start";
- signal: "elm,action,hide";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "clip";
- target: "clip_base";
- after: "hide_start2";
- }
- program { name: "hide_start2";
- action: STATE_SET "hidden" 0.0;
- transition: DECELERATE 0.5;
- target: "clip";
- target: "clip_base";
- after: "hide_end";
- }
- program { name: "hide_end";
- action: SIGNAL_EMIT "elm,action,hide,finished" "";
- }
- program { name: "reset";
- signal: "elm,action,reset";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "clip_base";
- target: "clip";
- }
- }
- }
-
-
-#if 0
-///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/separator/horizontal/default";
- images {
- image: "separator_h.png" COMP;
- }
- parts {
- part { name: "separator"; // separator group
- description { state: "default" 0.0;
- min: 2 2;
- rel1.offset: 4 4;
- rel2.offset: -5 -5;
- image {
- normal: "separator_h.png";
- }
- fill {
- smooth: 0;
- }
- }
- }
- }
- }
-
- ///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/separator/vertical/default";
- images {
- image: "separator_v.png" COMP;
- }
- parts {
- part { name: "separator"; // separator group
- description { state: "default" 0.0;
- min: 2 2;
- rel1.offset: 4 4;
- rel2.offset: -5 -5;
- image {
- normal: "separator_v.png";
- }
- fill {
- smooth: 0;
- }
- }
- }
- }
- }
-#endif
-
- group { name: "elm/separator/horizontal/dialoguefield_top";
- parts {
- part { name: "separator"; // separator group
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 15;
- align: 0 0;
- color: 0 0 0 0;
- }
- }
- }
- }
-
- group { name: "elm/separator/horizontal/dialoguefield_middle";
- parts {
- part {
- name: "separator"; // separator group
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 10;
- align: 0 0;
- color: 0 0 0 0;
- }
- }
- }
- }
- group { name: "elm/separator/horizontal/dialoguefield_bottom";
- parts {
- part {
- name: "separator"; // separator group
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 10;
- align: 0 0;
- color: 0 0 0 0;
- }
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////
-
- group { name: "elm/progressbar/horizontal/default";
- images {
- image: "progress_slider_bg.9.png" COMP;
- image: "progress_slider_bar.9.png" COMP;
- }
- parts {
- part { name: "elm.background.progressbar";
- 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: 0 18;
- max: 99999 18;
- state: "default" 0.0;
- rel1 {
- to_y: "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: 0 -1;//4 -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;
- offset: -1 -1;
- }
- image {
- normal: "progress_slider_bg.9.png";
- border: 3 3 2 2;
- }
- }
- }
- part { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- mouse_events: 0;
- 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: "SLP:style=Roman";
- size: 25;
- min: 0 0;
- align: 0.5 0.0;
- }
- color: 255 255 255 255;
- }
- description { state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- text.min: 1 1;
- }
- }
-
- 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 0;
- 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: "progress_slider_bar.9.png";
- border: 3 3 2 2;
- }
- }
- 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";
- 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;
- }
- }
- }
- part { name: "text-bar";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- clip_to: "progress-rect";
- effect: SOFT_SHADOW;
- scale: 1;
- 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: "SLP:style=Roman";
- size: 10;
- min: 0 0;
- align: 0.0 0.0;
- }
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- 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: "background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to: "background";
- relative: 0 0;
- }
- rel2.to: "background";
- }
- }
- part { name: "progress-rect";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
-
- part { name: "elm.padding.left";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 20 0;
- fixed: 1 0;
- rel1 {
- relative: 0.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 0;
- }
- color: 0 0 0 0;
- align: 0.0 0.0;
- }
- }
-
- 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.padding.left";
- relative: 1.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- }
- color: 255 255 255 255;
- text {
- font: "SLP:style=Roman";
- size: 34;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- text.min: 1 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 "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";
- }
- }
- }
-
-
- group { name: "elm/progressbar/horizontal/list_progress";
- images {
- image: "00_winset_list_progress_bg.png" COMP;
- image: "00_winset_list_progress_bar.png" COMP;
- }
- parts {
- 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;
- }
- 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 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- }
- color: 0 0 0 0;
- align: 1.0 0.0;
- }
- }
- part { name: "elm.background.progressbar";
- 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: 48 14;
- max: 99999 14;
- 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;
- rel1.offset: -1 4;
- rel2.to_x: "elm.swallow.content";
- rel2.relative: 1.0 1.0;
- rel2.offset: -1 -5;
- color: 0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 10;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- text.min: 1 1;
- rel1.offset: 0 4;
- rel2.offset: 0 -5;
- }
- }
-
- 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;
- offset: -1 -1;
- }
- image {
- normal: "00_winset_list_progress_bg.png";
- border: 6 6 0 0;
- }
- }
- }
-
- 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: "SLP:style=Roman";
- size: 10;
- min: 0 0;
- align: 0.5 0.0;
- }
- color: 0 0 0 255;
- }
- description { state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- text.min: 1 1;
- }
- }
-
- 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: "elm.swallow.bar";
- relative: 0.0 0.0;
- }
- rel2 {
- to_y: "elm.swallow.bar";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- image {
- normal: "00_winset_list_progress_bar.png";
- border: 6 6 0 0;
- }
- }
- 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";
- 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;
- }
- }
- }
- 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: "SLP:style=Roman";
- size: 10;
- min: 0 0;
- align: 0.0 0.0;
- }
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- 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: "background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to: "background";
- relative: 0 0;
- }
- rel2.to: "background";
- }
- }
- part { name: "progress-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";
- }
- }
- }
-
-
- group { name: "elm/progressbar/horizontal/toolbar_progress";
- images {
- image: "00_toolbar_progress_bg.png" COMP;
- image: "00_toolbar_progress_bar.png" COMP;
- }
- parts {
- 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;
- }
- 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 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- }
- color: 0 0 0 0;
- align: 1.0 0.0;
- }
- }
- part { name: "elm.background.progressbar";
- 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: 48 14;
- max: 99999 14;
- 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;
- rel1.offset: -1 4;
- rel2.to_x: "elm.swallow.content";
- rel2.relative: 1.0 1.0;
- rel2.offset: -1 -5;
- color: 0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 10;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- text.min: 1 1;
- rel1.offset: 0 4;
- rel2.offset: 0 -5;
- }
- }
-
- 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;
- offset: -1 -1;
- }
- image {
- normal: "00_toolbar_progress_bg.png";
- border: 6 6 0 0;
- }
- }
- }
-
- 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: "SLP:style=Roman";
- size: 10;
- min: 0 0;
- align: 0.5 0.0;
- }
- color: 0 0 0 255;
- }
- description { state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- text.min: 1 1;
- }
- }
-
- 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: "elm.swallow.bar";
- relative: 0.0 0.0;
- }
- rel2 {
- to_y: "elm.swallow.bar";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- image {
- normal: "00_toolbar_progress_bar.png";
- border: 6 6 0 0;
- }
- }
- 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";
- 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;
- }
- }
- }
- 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: "SLP:style=Roman";
- size: 10;
- min: 0 0;
- align: 0.0 0.0;
- }
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- 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: "background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to: "background";
- relative: 0 0;
- }
- rel2.to: "background";
- }
- }
- part { name: "progress-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";
- }
- }
- }
-
-
- group { name: "elm/progressbar/horizontal/pending_list";
- images {
- image: "00_pending_list_01.png" COMP;
- image: "00_pending_list_02.png" COMP;
- }
- parts {
- 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;
- }
- 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 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- offset: 0 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 0 0;
- }
- color: 0 0 0 0;
- align: 1.0 0.0;
- }
- }
- part { name: "elm.background.progressbar";
- 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: 406 14;
- max: 99999 14;
- 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;
- rel1.offset: -1 4;
- rel2.to_x: "elm.swallow.content";
- rel2.relative: 1.0 1.0;
- rel2.offset: -1 -5;
- color: 0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 10;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- text.min: 1 1;
- rel1.offset: 0 4;
- rel2.offset: 0 -5;
- }
- }
-
- 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;
- offset: -1 -1;
- }
- image {
- normal: "00_pending_list_01.png";
- border: 0 0 0 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: "elm.swallow.bar";
- relative: 0.0 0.0;
- }
- rel2 {
- to_y: "elm.swallow.bar";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- image {
- normal: "00_pending_list_01.png";
- border: 0 0 0 0;
- }
- }
- 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";
- 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 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;
- }
- image {
- normal: "00_pending_list_02.png";
- border: 0 0 0 0;
- }
- }
- }
- part { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable {
- confine: "background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to: "background";
- relative: 0 0;
- }
- rel2.to: "background";
- }
- }
- part { name: "progress-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: "slide_to_end";
- action: STATE_SET "state_end" 0.0;
- transition: LINEAR 0.3;
- 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.3;
- 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";
- }
- 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";
- }
- }
- }
-
-
-
-
- group { name: "elm/progressbar/horizontal/UIProgressViewStyleDefault";
- images {
- image: "progress_slider_bg01.9.png" COMP;
- image: "progress_slider_bar01.9.png" COMP;
- }
- parts {
- part { name: "elm.padding.left";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- //min: 25 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;
- }
- 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: 25 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;
- }
- color: 0 0 0 0;
- align: 1.0 0.0;
- }
- }
- part { name: "elm.background.progressbar";
- 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: 48 14;
- max: 99999 14;
- 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;
- rel1.offset: -1 4;
- rel2.to_x: "elm.swallow.content";
- rel2.relative: 1.0 1.0;
- rel2.offset: -1 -5;
- color: 0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 10;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- text.min: 1 1;
- rel1.offset: 0 4;
- rel2.offset: 0 -5;
- }
- }
-
- 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;
- offset: -1 -1;
- }
- image {
- normal: "progress_slider_bg01.9.png";
- border: 6 6 0 0;
- }
- }
- }
-
- 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: "SLP:style=Roman";
- size: 10;
- min: 0 0;
- align: 0.5 0.0;
- }
- color: 0 0 0 255;
- }
- description { state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- text.min: 1 1;
- }
- }
-
- 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: "elm.swallow.bar";
- relative: 0.0 0.0;
- }
- rel2 {
- to_y: "elm.swallow.bar";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- image {
- normal: "progress_slider_bar01.9.png";
- border: 6 6 0 0;
- }
- }
- 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";
- 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;
- }
- }
- }
- 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: "SLP:style=Roman";
- size: 10;
- min: 0 0;
- align: 0.0 0.0;
- }
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- 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: "background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to: "background";
- relative: 0 0;
- }
- rel2.to: "background";
- }
- }
- part { name: "progress-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";
- }
- }
- }
-
-
-
- group { name: "elm/progressbar/horizontal/UIProgressViewStyleBar";
- images {
- image: "progress_slider_bg02.9.png" COMP;
- image: "progress_slider_bar02.9.png" COMP;
- }
- parts {
- part { name: "elm.padding.left";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- //min: 25 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;
- }
- 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: 25 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;
- }
- color: 0 0 0 0;
- align: 1.0 0.0;
- }
- }
- part { name: "elm.background.progressbar";
- 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: 48 14;
- max: 99999 14;
- 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;
- rel1.offset: -1 4;
- rel2.to_x: "elm.swallow.content";
- rel2.relative: 1.0 1.0;
- rel2.offset: -1 -5;
- color: 0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 10;
- min: 0 0;
- align: 0.0 0.5;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- text.min: 1 1;
- rel1.offset: 0 4;
- rel2.offset: 0 -5;
- }
- }
-
- 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;
- offset: -1 -1;
- }
- image {
- normal: "progress_slider_bg02.9.png";
- border: 6 6 0 0;
- }
- }
- }
-
- 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: "SLP:style=Roman";
- size: 10;
- min: 0 0;
- align: 0.5 0.0;
- }
- color: 0 0 0 255;
- }
- description { state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- text.min: 1 1;
- }
- }
-
- 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: "elm.swallow.bar";
- relative: 0.0 0.0;
- }
- rel2 {
- to_y: "elm.swallow.bar";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- image {
- normal: "progress_slider_bar02.9.png";
- border: 6 6 0 0;
- }
- }
- 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";
- 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;
- }
- }
- }
- 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: "SLP:style=Roman";
- size: 10;
- min: 0 0;
- align: 0.0 0.0;
- }
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- 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: "background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to: "background";
- relative: 0 0;
- }
- rel2.to: "background";
- }
- }
- part { name: "progress-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";
- }
- }
- }
-
-
-#define PROGRESS_LOAD_IMAGEG( param_num ) \
- image: "00_winset_list_progress_"#param_num".png" COMP;
-
-#define PROGRESS_BG_DESC( param_name, param_num ) \
- description { state: "pulse" 0.#param_num; \
- inherit: "default" 0.0; \
- image { \
- normal: "00_winset_"#param_name"_process_"#param_num".png"; \
- } \
- }
-
-#define PROGRESSING_DELAY 0.03
-
- group { name: "elm/progressbar/horizontal/list_process";
- 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: "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: 32 32;
- max: 32 32;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image {
- normal: "00_winset_list_process_01.png";
- }
- }
- description { state: "pulse" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_winset_list_process_01.png";
- }
- }
- PROGRESS_BG_DESC( list, 01 )
- PROGRESS_BG_DESC( list, 02 )
- PROGRESS_BG_DESC( list, 03 )
- PROGRESS_BG_DESC( list, 04 )
- PROGRESS_BG_DESC( list, 05 )
- PROGRESS_BG_DESC( list, 06 )
- PROGRESS_BG_DESC( list, 07 )
- PROGRESS_BG_DESC( list, 08 )
- PROGRESS_BG_DESC( list, 09 )
- PROGRESS_BG_DESC( list, 10 )
- PROGRESS_BG_DESC( list, 11 )
- PROGRESS_BG_DESC( list, 12 )
- PROGRESS_BG_DESC( list, 13 )
- PROGRESS_BG_DESC( list, 14 )
- PROGRESS_BG_DESC( list, 15 )
- PROGRESS_BG_DESC( list, 16 )
- PROGRESS_BG_DESC( list, 17 )
- PROGRESS_BG_DESC( list, 18 )
- PROGRESS_BG_DESC( list, 19 )
- PROGRESS_BG_DESC( list, 20 )
- PROGRESS_BG_DESC( list, 21 )
- PROGRESS_BG_DESC( list, 22 )
- PROGRESS_BG_DESC( list, 23 )
- PROGRESS_BG_DESC( list, 24 )
- PROGRESS_BG_DESC( list, 25 )
- PROGRESS_BG_DESC( list, 26 )
- PROGRESS_BG_DESC( list, 27 )
- PROGRESS_BG_DESC( list, 28 )
- PROGRESS_BG_DESC( list, 29 )
- PROGRESS_BG_DESC( list, 30 )
-
- }
- }
- 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/toolbar_process";
- images {
- image: "00_winset_toolbar_process_01.png" COMP;
- image: "00_winset_toolbar_process_02.png" COMP;
- image: "00_winset_toolbar_process_03.png" COMP;
- image: "00_winset_toolbar_process_04.png" COMP;
- image: "00_winset_toolbar_process_05.png" COMP;
- image: "00_winset_toolbar_process_06.png" COMP;
- image: "00_winset_toolbar_process_07.png" COMP;
- image: "00_winset_toolbar_process_08.png" COMP;
- image: "00_winset_toolbar_process_09.png" COMP;
- image: "00_winset_toolbar_process_10.png" COMP;
- image: "00_winset_toolbar_process_11.png" COMP;
- image: "00_winset_toolbar_process_12.png" COMP;
- image: "00_winset_toolbar_process_13.png" COMP;
- image: "00_winset_toolbar_process_14.png" COMP;
- image: "00_winset_toolbar_process_15.png" COMP;
- image: "00_winset_toolbar_process_16.png" COMP;
- image: "00_winset_toolbar_process_17.png" COMP;
- image: "00_winset_toolbar_process_18.png" COMP;
- image: "00_winset_toolbar_process_19.png" COMP;
- image: "00_winset_toolbar_process_20.png" COMP;
- image: "00_winset_toolbar_process_21.png" COMP;
- image: "00_winset_toolbar_process_22.png" COMP;
- image: "00_winset_toolbar_process_23.png" COMP;
- image: "00_winset_toolbar_process_24.png" COMP;
- image: "00_winset_toolbar_process_25.png" COMP;
- image: "00_winset_toolbar_process_26.png" COMP;
- image: "00_winset_toolbar_process_27.png" COMP;
- image: "00_winset_toolbar_process_28.png" COMP;
- image: "00_winset_toolbar_process_29.png" COMP;
- image: "00_winset_toolbar_process_30.png" COMP;
- }
- parts {
- 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: 32 32;
- max: 32 32;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image {
- normal: "00_winset_toolbar_process_01.png";
- }
- }
- description { state: "pulse" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "00_winset_toolbar_process_01.png";
- }
- }
- PROGRESS_BG_DESC( toolbar, 01 )
- PROGRESS_BG_DESC( toolbar, 02 )
- PROGRESS_BG_DESC( toolbar, 03 )
- PROGRESS_BG_DESC( toolbar, 04 )
- PROGRESS_BG_DESC( toolbar, 05 )
- PROGRESS_BG_DESC( toolbar, 06 )
- PROGRESS_BG_DESC( toolbar, 07 )
- PROGRESS_BG_DESC( toolbar, 08 )
- PROGRESS_BG_DESC( toolbar, 09 )
- PROGRESS_BG_DESC( toolbar, 10 )
- PROGRESS_BG_DESC( toolbar, 11 )
- PROGRESS_BG_DESC( toolbar, 12 )
- PROGRESS_BG_DESC( toolbar, 13 )
- PROGRESS_BG_DESC( toolbar, 14 )
- PROGRESS_BG_DESC( toolbar, 15 )
- PROGRESS_BG_DESC( toolbar, 16 )
- PROGRESS_BG_DESC( toolbar, 17 )
- PROGRESS_BG_DESC( toolbar, 18 )
- PROGRESS_BG_DESC( toolbar, 19 )
- PROGRESS_BG_DESC( toolbar, 20 )
- PROGRESS_BG_DESC( toolbar, 21 )
- PROGRESS_BG_DESC( toolbar, 22 )
- PROGRESS_BG_DESC( toolbar, 23 )
- PROGRESS_BG_DESC( toolbar, 24 )
- PROGRESS_BG_DESC( toolbar, 25 )
- PROGRESS_BG_DESC( toolbar, 26 )
- PROGRESS_BG_DESC( toolbar, 27 )
- PROGRESS_BG_DESC( toolbar, 28 )
- PROGRESS_BG_DESC( toolbar, 29 )
- PROGRESS_BG_DESC( toolbar, 30 )
-
- }
- }
- 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/UIActivityIndicatorStyleWhiteLarge";
- images {
- image: "progress_01.png" COMP;
- image: "progress_02.png" COMP;
- image: "progress_03.png" COMP;
- image: "progress_04.png" COMP;
- image: "progress_05.png" COMP;
- image: "progress_06.png" COMP;
- image: "progress_07.png" COMP;
- image: "progress_08.png" COMP;
- image: "progress_09.png" COMP;
- image: "progress_10.png" COMP;
- image: "progress_11.png" COMP;
- image: "progress_12.png" COMP;
- }
- parts {
- 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: 60 60;
- max: 60 60;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image {
- normal: "progress_01.png";
- }
- }
- description {
- state: "pulse" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "progress_01.png";
- }
- }
- description {
- state: "pulse" 0.01;
- inherit: "default" 0.0;
- image {
- normal: "progress_01.png";
- }
- }
- description {
- state: "pulse" 0.02;
- inherit: "default" 0.0;
- image {
- normal: "progress_02.png";
- }
- }
- description {
- state: "pulse" 0.03;
- inherit: "default" 0.0;
- image {
- normal: "progress_03.png";
- }
- }
- description {
- state: "pulse" 0.04;
- inherit: "default" 0.0;
- image {
- normal: "progress_04.png";
- }
- }
- description {
- state: "pulse" 0.05;
- inherit: "default" 0.0;
- image {
- normal: "progress_05.png";
- }
- }
- description {
- state: "pulse" 0.06;
- inherit: "default" 0.0;
- image {
- normal: "progress_06.png";
- }
- }
- description {
- state: "pulse" 0.07;
- inherit: "default" 0.0;
- image {
- normal: "progress_07.png";
- }
- }
- description {
- state: "pulse" 0.08;
- inherit: "default" 0.0;
- image {
- normal: "progress_08.png";
- }
- }
- description {
- state: "pulse" 0.09;
- inherit: "default" 0.0;
- image {
- normal: "progress_09.png";
- }
- }
- description {
- state: "pulse" 0.10;
- inherit: "default" 0.0;
- image {
- normal: "progress_10.png";
- }
- }
- description {
- state: "pulse" 0.11;
- inherit: "default" 0.0;
- image {
- normal: "progress_11.png";
- }
- }
- description {
- state: "pulse" 0.12;
- inherit: "default" 0.0;
- image {
- normal: "progress_12.png";
- }
- }
- }
- }
- 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.12 )
- 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/UIActivityIndicatorStyleWhite";
- images {
- image: "progress_01_s.png" COMP;
- image: "progress_02_s.png" COMP;
- image: "progress_03_s.png" COMP;
- image: "progress_04_s.png" COMP;
- image: "progress_05_s.png" COMP;
- image: "progress_06_s.png" COMP;
- image: "progress_07_s.png" COMP;
- image: "progress_08_s.png" COMP;
- image: "progress_09_s.png" COMP;
- image: "progress_10_s.png" COMP;
- image: "progress_11_s.png" COMP;
- image: "progress_12_s.png" COMP;
- }
- parts {
- 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: 30 30;
- max: 30 30;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image {
- normal: "progress_01_s.png";
- }
- }
- description {
- state: "pulse" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "progress_01_s.png";
- }
- }
- description {
- state: "pulse" 0.01;
- inherit: "default" 0.0;
- image {
- normal: "progress_01_s.png";
- }
- }
- description {
- state: "pulse" 0.02;
- inherit: "default" 0.0;
- image {
- normal: "progress_02_s.png";
- }
- }
- description {
- state: "pulse" 0.03;
- inherit: "default" 0.0;
- image {
- normal: "progress_03_s.png";
- }
- }
- description {
- state: "pulse" 0.04;
- inherit: "default" 0.0;
- image {
- normal: "progress_04_s.png";
- }
- }
- description {
- state: "pulse" 0.05;
- inherit: "default" 0.0;
- image {
- normal: "progress_05_s.png";
- }
- }
- description {
- state: "pulse" 0.06;
- inherit: "default" 0.0;
- image {
- normal: "progress_06_s.png";
- }
- }
- description {
- state: "pulse" 0.07;
- inherit: "default" 0.0;
- image {
- normal: "progress_07_s.png";
- }
- }
- description {
- state: "pulse" 0.08;
- inherit: "default" 0.0;
- image {
- normal: "progress_08_s.png";
- }
- }
- description {
- state: "pulse" 0.09;
- inherit: "default" 0.0;
- image {
- normal: "progress_09_s.png";
- }
- }
- description {
- state: "pulse" 0.10;
- inherit: "default" 0.0;
- image {
- normal: "progress_10_s.png";
- }
- }
- description {
- state: "pulse" 0.11;
- inherit: "default" 0.0;
- image {
- normal: "progress_11_s.png";
- }
- }
- description {
- state: "pulse" 0.12;
- inherit: "default" 0.0;
- image {
- normal: "progress_12_s.png";
- }
- }
- }
- }
- 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.12 )
- 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/UIActivityIndicatorStyleGray";
- images {
- image: "progress_01_g.png" COMP;
- image: "progress_02_g.png" COMP;
- image: "progress_03_g.png" COMP;
- image: "progress_04_g.png" COMP;
- image: "progress_05_g.png" COMP;
- image: "progress_06_g.png" COMP;
- image: "progress_07_g.png" COMP;
- image: "progress_08_g.png" COMP;
- image: "progress_09_g.png" COMP;
- image: "progress_10_g.png" COMP;
- image: "progress_11_g.png" COMP;
- image: "progress_12_g.png" COMP;
- }
- parts {
- 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: 30 30;
- max: 30 30;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: BOTH;
- image {
- normal: "progress_01_g.png";
- }
- }
- description {
- state: "pulse" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "progress_01_g.png";
- }
- }
- description {
- state: "pulse" 0.01;
- inherit: "default" 0.0;
- image {
- normal: "progress_01_g.png";
- }
- }
- description {
- state: "pulse" 0.02;
- inherit: "default" 0.0;
- image {
- normal: "progress_02_g.png";
- }
- }
- description {
- state: "pulse" 0.03;
- inherit: "default" 0.0;
- image {
- normal: "progress_03_g.png";
- }
- }
- description {
- state: "pulse" 0.04;
- inherit: "default" 0.0;
- image {
- normal: "progress_04_g.png";
- }
- }
- description {
- state: "pulse" 0.05;
- inherit: "default" 0.0;
- image {
- normal: "progress_05_g.png";
- }
- }
- description {
- state: "pulse" 0.06;
- inherit: "default" 0.0;
- image {
- normal: "progress_06_g.png";
- }
- }
- description {
- state: "pulse" 0.07;
- inherit: "default" 0.0;
- image {
- normal: "progress_07_g.png";
- }
- }
- description {
- state: "pulse" 0.08;
- inherit: "default" 0.0;
- image {
- normal: "progress_08_g.png";
- }
- }
- description {
- state: "pulse" 0.09;
- inherit: "default" 0.0;
- image {
- normal: "progress_09_g.png";
- }
- }
- description {
- state: "pulse" 0.10;
- inherit: "default" 0.0;
- image {
- normal: "progress_10_g.png";
- }
- }
- description {
- state: "pulse" 0.11;
- inherit: "default" 0.0;
- image {
- normal: "progress_11_g.png";
- }
- }
- description {
- state: "pulse" 0.12;
- inherit: "default" 0.0;
- image {
- normal: "progress_12_g.png";
- }
- }
- }
- }
- 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.12 )
- 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/spinner/base/default";
- images {
- image: "shelf_inset.png" COMP;
- image: "bt_base1.png" COMP;
- image: "bt_hilight.png" COMP;
- image: "bt_shine.png" COMP;
- image: "bt_glow.png" COMP;
- image: "bt_dis_base.png" COMP;
- image: "bt_dis_hilight.png" COMP;
- image: "sp_bt_l.png" COMP;
- image: "sp_bt_r.png" COMP;
- }
- parts {
- part { name: "bg";
- type: RECT;
- description { state: "default" 0.0;
- max: 99999 30;
- min: 0 30;
- rel1.offset: 1 1;
- rel2.offset: -2 -2;
- color: 255 255 255 0;
- }
- }
- part { name: "conf_over";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- image {
- normal: "shelf_inset.png";
- border: 7 7 7 7;
- middle: 0;
- }
- fill.smooth : 0;
- }
- }
- part { name: "left_bt";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1 { to: "bg";
- offset: 2 2;
- }
- rel2 { to: "bg";
- offset: -3 -3;
- }
- align: 0.0 0.5;
- min: 24 24;
- max: 24 24;
- image {
- normal: "bt_base1.png";
- border: 6 6 6 6;
- }
- fill.smooth : 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "bt_base1.png";
- image.middle: SOLID;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- }
- }
- part { name: "left_over1";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "left_bt";
- rel2 { to: "left_bt";
- relative: 1.0 0.5;
- }
- image {
- normal: "bt_hilight.png";
- border: 7 7 7 0;
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "left_over2";
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- rel1.to: "left_bt";
- rel2.to: "left_bt";
- image {
- normal: "bt_shine.png";
- border: 7 7 7 7;
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "left_over3";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "left_bt";
- rel2.to: "left_bt";
- image {
- normal: "bt_glow.png";
- border: 12 12 12 12;
- }
- fill.smooth : 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "right_bt";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1 { to: "bg";
- offset: -27 3;
- }
- rel2 { to: "bg";
- offset: -3 -3;
- }
- align: 1.0 0.5;
- min: 24 24;
- max: 24 24;
- image {
- normal: "bt_base1.png";
- border: 5 5 4 12;
- }
- fill.smooth : 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "bt_base1.png";
- image.middle: SOLID;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- }
- }
- part { name: "right_over1";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "right_bt";
- rel2 { to: "right_bt";
- relative: 1.0 0.5;
- }
- image {
- normal: "bt_hilight.png";
- border: 7 7 7 0;
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "right_over2";
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- rel1.to: "right_bt";
- rel2.to: "right_bt";
- image {
- normal: "bt_shine.png";
- border: 7 7 7 7;
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "right_over3";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "right_bt";
- rel2.to: "right_bt";
- image {
- normal: "bt_glow.png";
- border: 12 12 12 12;
- }
- fill.smooth : 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "left_bt_icon";
- repeat_events: 1;
- description { state: "default" 0.0;
- rel1.to: "left_bt";
- rel2.to: "left_bt";
- align: 0.5 0.5;
- min: 16 16;
- max: 16 16;
- image.normal: "sp_bt_l.png";
- }
- }
- part { name: "right_bt_icon";
- repeat_events: 1;
- description { state: "default" 0.0;
- rel1.to: "right_bt";
- rel2.to: "right_bt";
- align: 0.5 0.5;
- min: 16 16;
- max: 16 16;
- image.normal: "sp_bt_r.png";
- }
- }
- 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.0 0.0;
- offset: 3 2;
- to_x: "left_bt";
- to_y: "bg";
- }
- rel2 { relative: 0.0 1.0;
- offset: -3 -2;
- to_x: "right_bt";
- to_y: "bg";
- }
- color: 0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 10;
- min: 1 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 128;
- color3: 0 0 0 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 0 0 0 128;
- 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";
- 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;
- offset: 3 2;
- to_x: "left_bt";
- to_y: "bg";
- }
- rel2 { relative: 0.0 0.5;
- offset: -3 -2;
- 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: "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";
- 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_over2";
- action: STATE_SET "clicked" 0.0;
- target: "left_bt";
- }
- program {
- name: "left_bt_unclick";
- signal: "mouse,up,1";
- source: "left_over2";
- action: STATE_SET "default" 0.0;
- target: "left_bt";
- }
- program {
- name: "left_bt_click2";
- signal: "mouse,down,1";
- source: "left_over3";
- action: STATE_SET "clicked" 0.0;
- target: "left_over3";
- }
- program {
- name: "left_bt_unclick2";
- signal: "mouse,up,1";
- source: "left_over3";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "left_over3";
- }
- program {
- name: "left_bt_unclick3";
- signal: "mouse,up,1";
- source: "left_over2";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
-
- program {
- name: "right_bt_click";
- signal: "mouse,down,1";
- source: "right_over2";
- action: STATE_SET "clicked" 0.0;
- target: "right_bt";
- }
- program {
- name: "right_bt_unclick";
- signal: "mouse,up,1";
- source: "right_over2";
- action: STATE_SET "default" 0.0;
- target: "right_bt";
- }
- program {
- name: "right_bt_click2";
- signal: "mouse,down,1";
- source: "right_over3";
- action: STATE_SET "clicked" 0.0;
- target: "right_over3";
- }
- program {
- name: "right_bt_unclick2";
- signal: "mouse,up,1";
- source: "right_over3";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "right_over3";
- }
- program {
- name: "right_bt_unclick3";
- signal: "mouse,up,1";
- source: "right_over2";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "left_bt";
- target: "left_over1";
- target: "left_over2";
- target: "right_bt";
- target: "right_over1";
- target: "right_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, "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: "left_over1";
- target: "left_over2";
- target: "right_bt";
- target: "right_over1";
- target: "right_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_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" "";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/spinner/base/vertical";
- images {
- image: "shelf_inset.png" COMP;
- image: "bt_hilight.png" COMP;
- image: "bt_shine.png" COMP;
- image: "bt_glow.png" COMP;
- image: "bt_dis_base.png" COMP;
- image: "bt_dis_hilight.png" COMP;
- image: "up.png" COMP;
- image: "down.png" COMP;
- image: "bt_spinner_up.png" COMP;
- image: "bt_spinner_down.png" COMP;
- image: "bt_spinner_hilight.png" COMP;
- }
- parts {
- part { name: "bg";
- type: RECT;
- description { state: "default" 0.0;
- max: 99999 30;
- min: 0 30;
- rel1.offset: 1 1;
- rel2.offset: -2 -2;
- color: 255 255 255 0;
- }
- }
- part { name: "conf_over";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1 {
- to: "bg";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "down_bt";
- offset: -22 -1;
- }
- rel2 {
- to_y: "bg";
- }
- image {
- normal: "shelf_inset.png";
- border: 7 7 7 7;
- middle: 0;
- }
- fill.smooth : 0;
- }
- }
- part { name: "down_bt";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1 {
- to_x: "bg";
- to_y: "up_bt";
- relative: 1 1;
- offset: 0 1;
- }
- rel2 { to: "bg";
- relative: 1 1;
- offset: -1 -1;
- }
- align: 1.0 0.5;
- min: 24 16;
- max: 24 16;
- image {
- normal: "bt_spinner_down.png";
- border: 6 6 6 6;
- }
- fill.smooth : 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "bt_spinner_down.png";
- image.middle: SOLID;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- }
- }
- part { name: "down_over3";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "down_bt";
- rel2.to: "down_bt";
- image {
- normal: "bt_glow.png";
- border: 12 12 12 12;
- }
- fill.smooth : 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "up_bt";
- mouse_events: 1;
- description { state: "default" 0.0;
- rel1 { to: "bg";
- relative: 0 0;
- offset: 0 0;
- }
- rel2 { to: "bg";
- relative: 1 0.5;
- offset: -1 -1;
- }
- align: 1.0 0.5;
- min: 24 16;
- max: 24 16;
- image {
- normal: "bt_spinner_up.png";
- border: 6 6 6 6;
- }
- fill.smooth : 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "bt_spinner_up.png";
- image.middle: SOLID;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "bt_dis_base.png";
- border: 4 4 4 4;
- }
- }
- }
- part { name: "up_over1";
- mouse_events: 0;
- description { state: "default" 0.0;
- rel1.to: "up_bt";
- rel2 { to: "up_bt";
- relative: 1.0 0.5;
- }
- image {
- normal: "bt_spinner_hilight.png";
- border: 7 7 7 0;
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "bt_dis_hilight.png";
- border: 4 4 4 0;
- }
- }
- }
- part { name: "up_over3";
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "up_bt";
- rel2.to: "up_bt";
- image {
- normal: "bt_glow.png";
- border: 12 12 12 12;
- }
- fill.smooth : 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "down_bt_icon";
- repeat_events: 1;
- description { state: "default" 0.0;
- rel1.to: "down_bt";
- rel2.to: "down_bt";
- align: 0.5 0.5;
- min: 14 12;
- max: 14 12;
- image.normal: "down.png";
- }
- }
- part { name: "up_bt_icon";
- repeat_events: 1;
- description { state: "default" 0.0;
- rel1.to: "up_bt";
- rel2.to: "up_bt";
- align: 0.5 0.5;
- min: 14 12;
- max: 14 12;
- image.normal: "up.png";
- }
- }
- 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: "bg";
- to_y: "bg";
- }
- color: 0 0 0 255;
- text {
- font: "SLP:style=Roman";
- size: 10;
- min: 1 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 128;
- color3: 0 0 0 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 0 0 0 128;
- 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";
- 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: "bg";
- }
- rel2 { relative: 1.0 0.5;
- offset: -3 -2;
- to: "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: "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";
- 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_over3";
- action: STATE_SET "clicked" 0.0;
- target: "down_over3";
- }
- program {
- name: "down_bt_unclick2";
- signal: "mouse,up,1";
- source: "down_over3";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "down_over3";
- }
- program {
- name: "up_bt_click2";
- signal: "mouse,down,1";
- source: "up_over3";
- action: STATE_SET "clicked" 0.0;
- target: "up_over3";
- }
- program {
- name: "up_bt_unclick2";
- signal: "mouse,up,1";
- source: "up_over3";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "up_over3";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "down_bt";
- target: "up_bt";
- 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" "";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/picker/base/default";
- images {
- image: "01_picker_spinner_panel_bg_top.png" COMP;
- image: "01_picker_spinner_panel_bg_bottom.png" COMP;
- image: "01_picker_spinner_plus.png" COMP;
- image: "01_picker_spinner_minus.png" COMP;
- image: "01_picker_spinner_new_ani_01.png" COMP;
- image: "01_picker_spinner_new_ani_02.png" COMP;
- image: "01_picker_spinner_new_ani_03.png" COMP;
- image: "01_picker_spinner_new_ani_04.png" COMP;
- image: "01_picker_spinner_new_ani_05.png" COMP;
- image: "01_picker_spinner_new_ani_06.png" COMP;
- }
-
- #define ELM_PICKER_ANIM_MAX 7
- #define ELM_PICKER_ANIM_HALF 4
- script {
- public ani_state; // 0: up, 1: down
- public ani_lock;
- public animator(val) {
- new s[8], next;
- if (get_int(ani_lock) == 0)
- return 0;
-
- if (val == ELM_PICKER_ANIM_MAX) {
- set_state(PART:"elm.img.ani", "default", 0.0);
- if (get_int(ani_state) == 0)
- emit("pressed", "up");
- else
- emit("pressed", "down");
- set_int(ani_lock, 0);
- return 0;
- }
-
- if (get_int(ani_state) == 1)
- next = val;
- else
- next = ELM_PICKER_ANIM_MAX-val;
-
- snprintf(s, 8, "ani%d", next);
- set_state(PART:"elm.img.ani", s, 0.0);
-
- if (val == ELM_PICKER_ANIM_HALF) {
- if (get_int(ani_state) == 0)
- emit("half", "up");
- else
- emit("half", "down");
- }
- return 0;
- }
- public message(Msg_Type:type, id, ...) {
- if ((type == MSG_FLOAT) && (id == 1)) {
- new Float:v;
- new Float:t = 0;
- new i;
-
- if (get_int(ani_lock) == 1)
- return;
- set_int(ani_lock, 1);
-
- v = getfarg(2)/ELM_PICKER_ANIM_MAX;
- if (v < 0)
- set_int(ani_state, 1);
- else
- set_int(ani_state, 0);
- v = abs(v);
-
- for (i = 0; i <= ELM_PICKER_ANIM_MAX; i++) {
- t += v;
- timer(t, "animator", i);
- }
- }
- }
- }
-
- parts {
- part {
- name: "elm.base";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "elm.rect.pad.middle";
- mouse_events: 0;
- scale: 1;
- description {
- min: 0 3;
- fixed: 0 1;
- rel1.to: "elm.base";
- rel1.relative: 0.0 0.5;
- rel2.to: "elm.base";
- rel2.relative: 1.0 0.5;
- }
- }
-
- part {
- name: "elm.bg.top";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.base";
- rel1.offset: 0 0;
- rel2.to: "elm.rect.pad.middle";
- rel2.relative: 1.0 0.0;
- image.normal: "01_picker_spinner_panel_bg_top.png";
- image.border: 4 4 1 1;
- }
- }
- part {
- name: "elm.bg.bottom";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.rect.pad.middle";
- rel1.relative: 0.0 1.0;
- rel2.to: "elm.base";
- image.normal: "01_picker_spinner_panel_bg_bottom.png";
- image.border: 4 4 1 1;
- }
- }
-
- part {
- type: RECT;
- name: "elm.clip.top";
- description {
- state: "default" 0.0;
- rel1.to: "elm.bg.top";
- rel2.to: "elm.bg.top";
- color: 255 255 255 255;
- }
- }
-
- part {
- type: RECT;
- name: "elm.clip.bottom";
- description {
- state: "default" 0.0;
- rel1.to: "elm.bg.bottom";
- rel2.to: "elm.bg.bottom";
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "elm.text.top";
- type: TEXT;
- mouse_events: 0;
- clip_to: "elm.clip.top";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.bg.top";
- rel1.relative: 0.0 0.0;
- rel1.offset: 13 12;
- rel2.to: "elm.bg.bottom";
- rel2.relative: 1.0 1.0;
- rel2.offset: -12 -11;
- color: 0 0 0 255;
- color2: 0 0 0 255;
- fixed: 1 1;
- text {
- font: "SLP:style=Roman";
- size: 80;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "elm.text.bottom";
- type: TEXT;
- mouse_events: 0;
- clip_to: "elm.clip.bottom";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.text.top";
- rel2.to: "elm.text.top";
- color: 0 0 0 255;
- color2: 0 0 0 255;
- fixed: 1 1;
- text {
- font: "SLP:style=Roman";
- size: 80;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.rect.flick";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.bg.top";
- rel1.relative: 0.0 0.0;
- rel2.to: "elm.bg.bottom";
- rel2.relative: 1.0 1.0;
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "elm.img.button.up";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 20 20;
- fixed: 1 1;
- rel1.to: "elm.bg.top";
- rel1.relative: 0.5 (16/142);
- rel2.to: "elm.bg.top";
- rel2.relative: 0.5 (36/142);
- image.normal: "01_picker_spinner_plus.png";
- align: 0.5 0.0;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "elm.rect.button.up";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.bg.top";
- rel2.to: "elm.bg.top";
- rel2.relative: 1.0 0.8;
- color: 0 0 0 0;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "elm.img.button.down";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 20 20;
- fixed: 1 1;
- rel1.to: "elm.bg.bottom";
- rel1.relative: 0.5 (107/143);
- rel2.to: "elm.bg.bottom";
- rel2.relative: 0.5 (127/143);
- image.normal: "01_picker_spinner_minus.png";
- align: 0.5 1.0;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "elm.rect.button.down";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.bg.bottom";
- rel1.relative: 0.0 0.2;
- rel2.to: "elm.bg.bottom";
- color: 0 0 0 0;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "elm.img.ani";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.bg.top";
- rel1.offset: -8 0;
- rel2.to_y: "elm.bg.top";
- rel2.offset: 7 -1;
- visible: 0;
- }
- description {
- state: "ani1" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.0 0.063;
- image.normal: "01_picker_spinner_new_ani_01.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani2" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.0 0.246;
- image.normal: "01_picker_spinner_new_ani_02.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani3" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.0 0.521;
- image.normal: "01_picker_spinner_new_ani_03.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani4" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.to: "elm.bg.bottom";
- rel1.relative: 0.0 0.0;
- rel2.to_y: "elm.bg.bottom";
- rel2.relative: 1.0 0.479;
- image.normal: "01_picker_spinner_new_ani_04.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani5" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.to: "elm.bg.bottom";
- rel1.relative: 0.0 0.0;
- rel2.to_y: "elm.bg.bottom";
- rel2.relative: 1.0 0.754;
- image.normal: "01_picker_spinner_new_ani_05.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani6" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.to: "elm.bg.bottom";
- rel1.relative: 0.0 0.0;
- rel2.to_y: "elm.bg.bottom";
- rel2.relative: 1.0 0.937;
- image.normal: "01_picker_spinner_new_ani_06.png";
- image.border: 8 8 1 1;
- }
- }
- }
- programs {
- program {
- name: "button_show";
- signal: "elm,state,button,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.img.button.up";
- target: "elm.rect.button.up";
- target: "elm.img.button.down";
- target: "elm.rect.button.down";
- }
-
- program {
- name: "button_hide";
- signal: "elm,state,button,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.img.button.up";
- target: "elm.rect.button.up";
- target: "elm.img.button.down";
- target: "elm.rect.button.down";
- }
-
- program {
- name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text.top";
- target: "elm.text.bottom";
- }
- program {
- name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top";
- target: "elm.text.bottom";
- }
- }
- }
-
- group { name: "elm/picker/base/no_button";
- images {
- image: "01_picker_spinner_panel_bg_top.png" COMP;
- image: "01_picker_spinner_panel_bg_bottom.png" COMP;
- image: "01_picker_spinner_new_ani_01.png" COMP;
- image: "01_picker_spinner_new_ani_02.png" COMP;
- image: "01_picker_spinner_new_ani_03.png" COMP;
- image: "01_picker_spinner_new_ani_04.png" COMP;
- image: "01_picker_spinner_new_ani_05.png" COMP;
- image: "01_picker_spinner_new_ani_06.png" COMP;
- }
- script {
- public ani_state; // 0: up, 1: down
- public ani_lock;
- public animator(val) {
- new s[8], next;
- if (get_int(ani_lock) == 0)
- return 0;
-
- if (val == ELM_PICKER_ANIM_MAX) {
- set_state(PART:"elm.img.ani", "default", 0.0);
- if (get_int(ani_state) == 0)
- emit("pressed", "up");
- else
- emit("pressed", "down");
- set_int(ani_lock, 0);
- return 0;
- }
-
- if (get_int(ani_state) == 1)
- next = val;
- else
- next = ELM_PICKER_ANIM_MAX-val;
-
- snprintf(s, 8, "ani%d", next);
- set_state(PART:"elm.img.ani", s, 0.0);
-
- if (val == ELM_PICKER_ANIM_HALF) {
- if (get_int(ani_state) == 0)
- emit("half", "up");
- else
- emit("half", "down");
- }
- return 0;
- }
- public message(Msg_Type:type, id, ...) {
- if ((type == MSG_FLOAT) && (id == 1)) {
- new Float:v;
- new Float:t = 0;
- new i;
-
- if (get_int(ani_lock) == 1)
- return;
- set_int(ani_lock, 1);
-
- v = getfarg(2)/ELM_PICKER_ANIM_MAX;
- if (v < 0)
- set_int(ani_state, 1);
- else
- set_int(ani_state, 0);
- v = abs(v);
-
- for (i = 0; i <= ELM_PICKER_ANIM_MAX; i++) {
- t += v;
- timer(t, "animator", i);
- }
- }
- }
- }
-
- parts {
- part {
- name: "elm.base";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "elm.rect.pad.middle";
- mouse_events: 0;
- scale: 1;
- description {
- min: 0 3;
- fixed: 0 1;
- rel1.to: "elm.base";
- rel1.relative: 0.0 0.5;
- rel2.to: "elm.base";
- rel2.relative: 1.0 0.5;
- }
- }
-
- part {
- name: "elm.bg.top";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.base";
- rel1.offset: 0 0;
- rel2.to: "elm.rect.pad.middle";
- rel2.relative: 1.0 0.0;
- image.normal: "01_picker_spinner_panel_bg_top.png";
- image.border: 4 4 1 1;
- }
- }
- part {
- name: "elm.bg.bottom";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.rect.pad.middle";
- rel1.relative: 0.0 1.0;
- rel2.to: "elm.base";
- image.normal: "01_picker_spinner_panel_bg_bottom.png";
- image.border: 4 4 1 1;
- }
- }
-
- part {
- type: RECT;
- name: "elm.clip.top";
- description {
- state: "default" 0.0;
- rel1.to: "elm.bg.top";
- rel2.to: "elm.bg.top";
- color: 255 255 255 255;
- }
- }
-
- part {
- type: RECT;
- name: "elm.clip.bottom";
- description {
- state: "default" 0.0;
- rel1.to: "elm.bg.bottom";
- rel2.to: "elm.bg.bottom";
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "elm.text.top";
- type: TEXT;
- mouse_events: 0;
- clip_to: "elm.clip.top";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.bg.top";
- rel1.relative: 0.0 0.0;
- rel1.offset: 13 12;
- rel2.to: "elm.bg.bottom";
- rel2.relative: 1.0 1.0;
- rel2.offset: -12 -11;
- color: 0 0 0 255;
- color2: 0 0 0 255;
- fixed: 1 1;
- text {
- font: "SLP:style=Roman";
- size: 80;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "elm.text.bottom";
- type: TEXT;
- mouse_events: 0;
- clip_to: "elm.clip.bottom";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.text.top";
- rel2.to: "elm.text.top";
- color: 0 0 0 255;
- color2: 0 0 0 255;
- fixed: 1 1;
- text {
- font: "SLP:style=Roman";
- size: 80;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.rect.flick";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.bg.top";
- rel1.relative: 0.0 0.0;
- rel2.to: "elm.bg.bottom";
- rel2.relative: 1.0 1.0;
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "elm.img.ani";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.bg.top";
- rel1.offset: -8 0;
- rel2.to_y: "elm.bg.top";
- rel2.offset: 7 -1;
- visible: 0;
- }
- description {
- state: "ani1" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.0 0.063;
- image.normal: "01_picker_spinner_new_ani_01.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani2" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.0 0.246;
- image.normal: "01_picker_spinner_new_ani_02.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani3" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.0 0.521;
- image.normal: "01_picker_spinner_new_ani_03.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani4" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.to: "elm.bg.bottom";
- rel1.relative: 0.0 0.0;
- rel2.to_y: "elm.bg.bottom";
- rel2.relative: 1.0 0.479;
- image.normal: "01_picker_spinner_new_ani_04.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani5" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.to: "elm.bg.bottom";
- rel1.relative: 0.0 0.0;
- rel2.to_y: "elm.bg.bottom";
- rel2.relative: 1.0 0.754;
- image.normal: "01_picker_spinner_new_ani_05.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani6" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.to: "elm.bg.bottom";
- rel1.relative: 0.0 0.0;
- rel2.to_y: "elm.bg.bottom";
- rel2.relative: 1.0 0.937;
- image.normal: "01_picker_spinner_new_ani_06.png";
- image.border: 8 8 1 1;
- }
- }
- }
- programs {
- program {
- name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text.top";
- target: "elm.text.bottom";
- }
- program {
- name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top";
- target: "elm.text.bottom";
- }
- }
- }
- group { name: "elm/picker/base/timepicker/ampm";
- images {
- image: "01_picker_spinner_panel_bg_top.png" COMP;
- image: "01_picker_spinner_panel_bg_bottom.png" COMP;
- image: "01_picker_spinner_new_ani_01.png" COMP;
- image: "01_picker_spinner_new_ani_02.png" COMP;
- image: "01_picker_spinner_new_ani_03.png" COMP;
- image: "01_picker_spinner_new_ani_04.png" COMP;
- image: "01_picker_spinner_new_ani_05.png" COMP;
- image: "01_picker_spinner_new_ani_06.png" COMP;
- }
- script {
- public ani_state; // 0: up, 1: down
- public ani_lock;
- public animator(val) {
- new s[8], next;
- if (get_int(ani_lock) == 0)
- return 0;
-
- if (val == ELM_PICKER_ANIM_MAX) {
- set_state(PART:"elm.img.ani", "default", 0.0);
- if (get_int(ani_state) == 0)
- emit("pressed", "up");
- else
- emit("pressed", "down");
- set_int(ani_lock, 0);
- return 0;
- }
-
- if (get_int(ani_state) == 1)
- next = val;
- else
- next = ELM_PICKER_ANIM_MAX-val;
-
- snprintf(s, 8, "ani%d", next);
- set_state(PART:"elm.img.ani", s, 0.0);
-
- if (val == ELM_PICKER_ANIM_HALF) {
- if (get_int(ani_state) == 0)
- emit("half", "up");
- else
- emit("half", "down");
- }
- return 0;
- }
- public message(Msg_Type:type, id, ...) {
- if ((type == MSG_FLOAT) && (id == 1)) {
- new Float:v;
- new Float:t = 0;
- new i;
-
- if (get_int(ani_lock) == 1)
- return;
- set_int(ani_lock, 1);
-
- v = getfarg(2)/ELM_PICKER_ANIM_MAX;
- if (v < 0)
- set_int(ani_state, 1);
- else
- set_int(ani_state, 0);
- v = abs(v);
-
- for (i = 0; i <= ELM_PICKER_ANIM_MAX; i++) {
- t += v;
- timer(t, "animator", i);
- }
- }
- }
- }
-
- parts {
- part {
- name: "elm.base";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "elm.rect.pad.middle";
- mouse_events: 0;
- scale: 1;
- description {
- min: 0 3;
- fixed: 0 1;
- rel1.to: "elm.base";
- rel1.relative: 0.0 0.5;
- rel2.to: "elm.base";
- rel2.relative: 1.0 0.5;
- }
- }
-
- part {
- name: "elm.bg.top";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.base";
- rel1.offset: 0 0;
- rel2.to: "elm.rect.pad.middle";
- rel2.relative: 1.0 0.0;
- image.normal: "01_picker_spinner_panel_bg_top.png";
- image.border: 4 4 1 1;
- }
- }
- part {
- name: "elm.bg.bottom";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.rect.pad.middle";
- rel1.relative: 0.0 1.0;
- rel2.to: "elm.base";
- image.normal: "01_picker_spinner_panel_bg_bottom.png";
- image.border: 4 4 1 1;
- }
- }
-
- part {
- type: RECT;
- name: "elm.clip.top";
- description {
- state: "default" 0.0;
- rel1.to: "elm.bg.top";
- rel2.to: "elm.bg.top";
- color: 255 255 255 255;
- }
- }
-
- part {
- type: RECT;
- name: "elm.clip.bottom";
- description {
- state: "default" 0.0;
- rel1.to: "elm.bg.bottom";
- rel2.to: "elm.bg.bottom";
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "elm.text.top";
- type: TEXT;
- mouse_events: 0;
- clip_to: "elm.clip.top";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.bg.top";
- rel1.relative: 0.0 0.0;
- rel1.offset: 13 9;
- rel2.to: "elm.bg.bottom";
- rel2.relative: 1.0 1.0;
- rel2.offset: -12 -10;
- color: 0 0 0 255;
- color2: 0 0 0 255;
- fixed: 1 1;
- text {
- font: "SLP:style=Roman";
- size: 48;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "elm.text.bottom";
- type: TEXT;
- mouse_events: 0;
- clip_to: "elm.clip.bottom";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.text.top";
- rel2.to: "elm.text.top";
- color: 0 0 0 255;
- color2: 0 0 0 255;
- fixed: 1 1;
- text {
- font: "SLP:style=Roman";
- size: 48;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "elm.rect.flick";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.bg.top";
- rel1.relative: 0.0 0.0;
- rel2.to: "elm.bg.bottom";
- rel2.relative: 1.0 1.0;
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "elm.rect.button.up";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.bg.top";
- rel2.to: "elm.bg.top";
- rel2.relative: 1.0 0.8;
- color: 0 0 0 0;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "elm.rect.button.down";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.bg.bottom";
- rel1.relative: 0.0 0.2;
- rel2.to: "elm.bg.bottom";
- color: 0 0 0 0;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "elm.img.ani";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.bg.top";
- rel1.offset: -8 0;
- rel2.to_y: "elm.bg.top";
- rel2.offset: 7 -1;
- visible: 0;
- }
- description {
- state: "ani1" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.0 0.063;
- image.normal: "01_picker_spinner_new_ani_01.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani2" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.0 0.246;
- image.normal: "01_picker_spinner_new_ani_02.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani3" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.0 0.521;
- image.normal: "01_picker_spinner_new_ani_03.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani4" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.to: "elm.bg.bottom";
- rel1.relative: 0.0 0.0;
- rel2.to_y: "elm.bg.bottom";
- rel2.relative: 1.0 0.479;
- image.normal: "01_picker_spinner_new_ani_04.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani5" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.to: "elm.bg.bottom";
- rel1.relative: 0.0 0.0;
- rel2.to_y: "elm.bg.bottom";
- rel2.relative: 1.0 0.754;
- image.normal: "01_picker_spinner_new_ani_05.png";
- image.border: 8 8 1 1;
- }
- description {
- state: "ani6" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.to: "elm.bg.bottom";
- rel1.relative: 0.0 0.0;
- rel2.to_y: "elm.bg.bottom";
- rel2.relative: 1.0 0.937;
- image.normal: "01_picker_spinner_new_ani_06.png";
- image.border: 8 8 1 1;
- }
- }
- }
- programs {
- program {
- name: "button_show";
- signal: "elm,state,button,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.rect.button.up";
- target: "elm.rect.button.down";
- }
-
- program {
- name: "button_hide";
- signal: "elm,state,button,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.rect.button.up";
- target: "elm.rect.button.down";
- }
- program {
- name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text.top";
- target: "elm.text.bottom";
- }
- program {
- name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top";
- target: "elm.text.bottom";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/timepicker/base/default";
- images {
- image: "01_hybrid_spinner_num_time_colon.png" COMP;
- }
-
- parts {
- part {
- name: "elm.rect.bg";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "elm.rect.bg.time";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- rel2.to_x: "elm.swallow.ampm";
- rel2.relative: (-12/90) 1.0;
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "elm.img.colon.1";
- description {
- state: "default" 0.0;
- rel1.to: "elm.swallow.hour";
- rel1.relative: 1.0 0.246;
- rel2.to: "elm.swallow.min";
- rel2.relative: 0.0 0.754;
- image.normal: "01_hybrid_spinner_num_time_colon.png";
- aspect: 0.34 1.0;
- aspect_preference: HORIZONTAL;
- }
- }
- part {
- name: "elm.img.colon.2";
- description {
- state: "default" 0.0;
- rel1.to: "elm.swallow.min";
- rel1.relative: 1.0 0.246;
- rel2.to: "elm.swallow.sub";
- rel2.relative: 0.0 0.754;
- image.normal: "01_hybrid_spinner_num_time_colon.png";
- aspect: 0.34 1.0;
- aspect_preference: HORIZONTAL;
- visible: 0;
- }
- description {
- state: "with_sec" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "elm.text.hour";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.to_x: "elm.swallow.hour";
- rel1.to_y: "elm.rect.bg.time";
- rel2.to_x: "elm.swallow.hour";
- rel2.to_y: "elm.rect.bg.time";
- rel2.relative: 1.0 (24/317);
- color: 255 255 255 255;
- color2: 0 0 0 255;
- fixed: 1 1;
- text {
- font: "SLP:style=Roman";
- text: "Hour";
- size: 24;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- }
-
- part {
- name: "elm.swallow.hour";
- type: SWALLOW;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to_x: "elm.rect.bg.time";
- rel1.to_y: "elm.text.hour";
- rel1.relative: 0.0 (32/24);
- rel2.to: "elm.rect.bg.time";
- rel2.relative: 0.380 1.0;
- }
- description {
- state: "with_sec" 0.0;
- inherit: "default" 0.0;
- rel2.relative: 0.283 1.0;
- }
- }
-
- part {
- name: "elm.text.min";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.to_x: "elm.swallow.min";
- rel1.to_y: "elm.rect.bg.time";
- rel2.to_x: "elm.swallow.sub";
- rel2.to_y: "elm.rect.bg.time";
- rel2.relative: 1.0 (24/317);
- color: 255 255 255 255;
- color2: 0 0 0 255;
- fixed: 1 1;
- text {
- font: "SLP:style=Roman";
- text: "Minute";
- size: 24;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "with_sec" 0.0;
- inherit: "default" 0.0;
- rel2.to_x: "elm.swallow.min";
- }
- }
-
- part {
- name: "elm.swallow.min";
- type: SWALLOW;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to_x: "elm.rect.bg.time";
- rel1.to_y: "elm.swallow.hour";
- rel1.relative: 0.482 0.0;
- rel2.to: "elm.rect.bg.time";
- rel2.relative: 0.729 1.0;
- }
- description {
- state: "with_sec" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.358 0.0;
- rel2.relative: 0.641 1.0;
- }
- }
-
- part {
- name: "elm.text.sec";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- rel1.to_x: "elm.swallow.sub";
- rel1.to_y: "elm.rect.bg.time";
- rel2.to_x: "elm.swallow.sub";
- rel2.to_y: "elm.rect.bg.time";
- rel2.relative: 1.0 (24/317);
- color: 255 255 255 255;
- color2: 0 0 0 255;
- fixed: 1 1;
- text {
- font: "SLP:style=Roman";
- text: "Sec";
- size: 24;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- description {
- state: "with_sec" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "elm.swallow.sub";
- type: SWALLOW;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to_x: "elm.rect.bg.time";
- rel1.to_y: "elm.swallow.hour";
- rel1.relative: 0.753 0.0;
- rel2.to: "elm.rect.bg.time";
- }
- description {
- state: "with_sec" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.717 0.0;
- }
- }
-
- part {
- name: "elm.swallow.ampm";
- type: SWALLOW;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to_x: "elm.rect.bg";
- rel1.to_y: "elm.swallow.hour";
- rel1.relative: (492/480) 0.0;
- rel2.to: "elm.rect.bg";
- rel2.relative: 1.232 1.0;
- visible: 0;
- }
- description {
- state: "visible" 0.0;
- rel1.to_x: "elm.rect.bg";
- rel1.to_y: "elm.swallow.hour";
- rel1.relative: 0.793 0.0;
- rel2.to: "elm.rect.bg";
- rel2.relative: 1.0 1.0;
- visible: 1;
- }
- }
- }
-
- programs {
- program {
- name: "sec_hide";
- signal: "elm,state,sec,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.hour";
- target: "elm.swallow.min";
- target: "elm.swallow.sub";
- target: "elm.img.colon.2";
- target: "elm.text.min";
- target: "elm.text.sec";
- }
- program {
- name: "sec_show";
- signal: "elm,state,sec,visible";
- source: "elm";
- action: STATE_SET "with_sec" 0.0;
- target: "elm.swallow.hour";
- target: "elm.swallow.min";
- target: "elm.swallow.sub";
- target: "elm.img.colon.2";
- target: "elm.text.min";
- target: "elm.text.sec";
- }
- program {
- name: "ampm_hide";
- signal: "elm,state,ampm,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.ampm";
- }
- program {
- name: "ampm_show";
- signal: "elm,state,ampm,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.ampm";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/datepicker/base/default";
-
- parts {
- part {
- name: "elm.rect.bg";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "elm.text.year";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.to_x: "elm.swallow.year";
- rel1.to_y: "elm.rect.bg";
- rel2.to_x: "elm.swallow.year";
- rel2.to_y: "elm.rect.bg";
- rel2.relative: 1.0 (24/317);
- color: 255 255 255 255;
- color2: 0 0 0 255;
- fixed: 1 1;
- text {
- font: "SLP:style=Roman";
- text: "Year";
- size: 24;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- }
-
- part {
- name: "elm.swallow.year";
- type: SWALLOW;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to_x: "elm.rect.bg";
- rel1.to_y: "elm.text.year";
- rel1.relative: 0.549 (32/24);
- rel2.to: "elm.rect.bg";
- visible: 0;
- }
- description {
- state: "ddmmyy" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "mmddyy" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "mmyydd" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.274 (32/24);
- rel2.relative: 0.725 1.0;
- }
- description {
- state: "ddyymm" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.274 (32/24);
- rel2.relative: 0.725 1.0;
- }
- description {
- state: "yyddmm" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.0 (32/24);
- rel2.relative: 0.451 1.0;
- }
- description {
- state: "yymmdd" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.0 (32/24);
- rel2.relative: 0.451 1.0;
- }
- }
-
- part {
- name: "elm.text.mon";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.to_x: "elm.swallow.mon";
- rel1.to_y: "elm.rect.bg";
- rel2.to_x: "elm.swallow.mon";
- rel2.to_y: "elm.rect.bg";
- rel2.relative: 1.0 (24/317);
- color: 255 255 255 255;
- color2: 0 0 0 255;
- fixed: 1 1;
- text {
- font: "SLP:style=Roman";
- text: "Month";
- size: 24;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- }
-
- part {
- name: "elm.swallow.mon";
- type: SWALLOW;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to_x: "elm.rect.bg";
- rel1.to_y: "elm.text.mon";
- rel1.relative: 0.270 (32/24);
- rel2.to: "elm.rect.bg";
- rel2.relative: 0.503 1.0;
- visible: 0;
- }
- description {
- state: "ddmmyy" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "mmddyy" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.0 (32/24);
- rel2.relative: 0.233 1.0;
- visible: 1;
- }
- description {
- state: "mmyydd" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.0 (32/24);
- rel2.relative: 0.233 1.0;
- }
- description {
- state: "ddyymm" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.767 (32/24);
- rel2.relative: 1.0 1.0;
- }
- description {
- state: "yyddmm" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.767 (32/24);
- rel2.relative: 1.0 1.0;
- }
- description {
- state: "yymmdd" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.497 (32/24);
- rel2.relative: 0.730 1.0;
- }
- }
-
- part {
- name: "elm.text.day";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.to_x: "elm.swallow.day";
- rel1.to_y: "elm.rect.bg";
- rel2.to_x: "elm.swallow.day";
- rel2.to_y: "elm.rect.bg";
- rel2.relative: 1.0 (24/317);
- color: 255 255 255 255;
- color2: 0 0 0 255;
- fixed: 1 1;
- text {
- font: "SLP:style=Roman";
- text: "Day";
- size: 24;
- min: 1 1;
- align: 0.5 0.5;
- }
- }
- }
-
- part {
- name: "elm.swallow.day";
- type: SWALLOW;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to_x: "elm.rect.bg";
- rel1.to_y: "elm.text.day";
- rel1.relative: 0.0 (32/24);
- rel2.to: "elm.rect.bg";
- rel2.relative: 0.233 1.0;
- visible: 0;
- }
- description {
- state: "ddmmyy" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "mmddyy" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.270 (32/24);
- rel2.relative: 0.503 1.0;
- visible: 1;
- }
- description {
- state: "mmyydd" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.767 (32/24);
- rel2.relative: 1.0 1.0;
- visible: 1;
- }
- description {
- state: "ddyymm" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.0 (32/24);
- rel2.relative: 0.233 1.0;
- }
- description {
- state: "yyddmm" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.497 (32/24);
- rel2.relative: 0.730 1.0;
- }
- description {
- state: "yymmdd" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.767 (32/24);
- rel2.relative: 1.0 1.0;
- }
- }
-
- }
-
- programs {
- program {
- name: "yymmdd";
- signal: "elm,state,yymmdd";
- source: "elm";
- action: STATE_SET "yymmdd" 0.0;
- target: "elm.swallow.year";
- target: "elm.swallow.mon";
- target: "elm.swallow.day";
- }
- program {
- name: "yyddmm";
- signal: "elm,state,yyddmm";
- source: "elm";
- action: STATE_SET "yyddmm" 0.0;
- target: "elm.swallow.year";
- target: "elm.swallow.mon";
- target: "elm.swallow.day";
- }
- program {
- name: "mmyydd";
- signal: "elm,state,mmyydd";
- source: "elm";
- action: STATE_SET "mmyydd" 0.0;
- target: "elm.swallow.year";
- target: "elm.swallow.mon";
- target: "elm.swallow.day";
- }
- program {
- name: "mmddyy";
- signal: "elm,state,mmddyy";
- source: "elm";
- action: STATE_SET "mmddyy" 0.0;
- target: "elm.swallow.year";
- target: "elm.swallow.mon";
- target: "elm.swallow.day";
- }
- program {
- name: "ddyymm";
- signal: "elm,state,ddyymm";
- source: "elm";
- action: STATE_SET "ddyymm" 0.0;
- target: "elm.swallow.year";
- target: "elm.swallow.mon";
- target: "elm.swallow.day";
- }
- program {
- name: "ddmmyy";
- signal: "elm,state,ddmmyy";
- source: "elm";
- action: STATE_SET "ddmmyy" 0.0;
- target: "elm.swallow.year";
- target: "elm.swallow.mon";
- target: "elm.swallow.day";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/datepicker2/base/default";
- images {
- image: "DatePicker_frame_up_bg.9.png" COMP;
- }
-
- parts {
- part {
- name: "elm.rect.bg";
- description {
- state: "default" 0.0;
- image.normal: "DatePicker_frame_up_bg.9.png";
- }
- }
-
- part {
- name: "elm.swallow.year";
- type: SWALLOW;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.715 0.03;
- rel2.relative: 0.96 0.97;
- visible: 0;
- }
- description {
- state: "ddmmyy" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "mmddyy" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "mmyydd" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.57 0.03;
- rel2.relative: 0.815 0.97;
- }
- description {
- state: "ddyymm" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.185 0.03;
- rel2.relative: 0.43 0.97;
- }
- description {
- state: "yyddmm" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.04 0.03;
- rel2.relative: 0.285 0.97;
- }
- description {
- state: "yymmdd" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.04 0.03;
- rel2.relative: 0.285 0.97;
- }
- }
-
- part {
- name: "elm.swallow.mon";
- type: SWALLOW;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.185 0.03;
- rel2.relative: 0.715 0.97;
- visible: 0;
- }
- description {
- state: "ddmmyy" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "mmddyy" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.04 0.03;
- rel2.relative: 0.57 0.97;
- visible: 1;
- }
- description {
- state: "mmyydd" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.04 0.03;
- rel2.relative: 0.57 0.97;
- }
- description {
- state: "ddyymm" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.43 0.03;
- rel2.relative: 0.96 0.97;
- }
- description {
- state: "yyddmm" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.43 0.03;
- rel2.relative: 0.96 0.97;
- }
- description {
- state: "yymmdd" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.285 0.03;
- rel2.relative: 0.815 0.97;
- }
- }
-
- part {
- name: "elm.swallow.day";
- type: SWALLOW;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.04 0.03;
- rel2.relative: 0.185 0.97;
- visible: 0;
- }
- description {
- state: "ddmmyy" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "mmddyy" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.57 0.03;
- rel2.relative: 0.715 0.97;
- visible: 1;
- }
- description {
- state: "mmyydd" 0.0;
- inherit: "default" 0.0;
- rel1.relative: 0.815 0.03;
- rel2.relative: 0.96 0.97;
- visible: 1;
- }
- description {
- state: "ddyymm" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.04 0.03;
- rel2.relative: 0.185 0.97;
- }
- description {
- state: "yyddmm" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.285 0.03;
- rel2.relative: 0.43 0.97;
- }
- description {
- state: "yymmdd" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- rel1.relative: 0.815 0.03;
- rel2.relative: 0.96 0.97;
- }
- }
-
- }
-
- programs {
- program {
- name: "yymmdd";
- signal: "elm,state,yymmdd";
- source: "elm";
- action: STATE_SET "yymmdd" 0.0;
- target: "elm.swallow.year";
- target: "elm.swallow.mon";
- target: "elm.swallow.day";
- }
- program {
- name: "yyddmm";
- signal: "elm,state,yyddmm";
- source: "elm";
- action: STATE_SET "yyddmm" 0.0;
- target: "elm.swallow.year";
- target: "elm.swallow.mon";
- target: "elm.swallow.day";
- }
- program {
- name: "mmyydd";
- signal: "elm,state,mmyydd";
- source: "elm";
- action: STATE_SET "mmyydd" 0.0;
- target: "elm.swallow.year";
- target: "elm.swallow.mon";
- target: "elm.swallow.day";
- }
- program {
- name: "mmddyy";
- signal: "elm,state,mmddyy";
- source: "elm";
- action: STATE_SET "mmddyy" 0.0;
- target: "elm.swallow.year";
- target: "elm.swallow.mon";
- target: "elm.swallow.day";
- }
- program {
- name: "ddyymm";
- signal: "elm,state,ddyymm";
- source: "elm";
- action: STATE_SET "ddyymm" 0.0;
- target: "elm.swallow.year";
- target: "elm.swallow.mon";
- target: "elm.swallow.day";
- }
- program {
- name: "ddmmyy";
- signal: "elm,state,ddmmyy";
- source: "elm";
- action: STATE_SET "ddmmyy" 0.0;
- target: "elm.swallow.year";
- target: "elm.swallow.mon";
- target: "elm.swallow.day";
- }
- }
- }
-///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/discpicker/base/default";
- images {
- image: "DatePicker_frame_up.9.png" COMP;
- }
-
- parts {
- part {
- name: "elm.base";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
-
- part {
- name: "elm.bg";
- mouse_events: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.base";
- rel2.to: "elm.base";
- image.normal: "DatePicker_frame_up.9.png";
- image.border: 4 4 4 4;
- }
- }
- }
- }
-
- group { name: "elm/discpicker/item/base/default";
- parts {
- part { name: "elm.label";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.5 0.5;
- color: 0 0 0 255;
- text {
- font: "SLP:style=Bold";
- size: 35;
- align: 0.5 0.5;
- min: 1 1;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 0 0 139 255;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 170 170 170 255;
- }
- }
- }
-
- programs {
- program {
- name: "unselect";
- signal: "elm,item,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.label";
- }
- program {
- name: "select";
- signal: "elm,item,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "elm.label";
- }
-
- program {
- name: "disable";
- signal: "elm,item,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "elm.label";
- }
- // FIXME: plz check item is selected or not
- program {
- name: "enable";
- signal: "elm,item,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.label";
- }
- }
- }
-
- group { name: "elm/discpicker/indicator/base/default";
- images {
- image: "DatePicker_frame_center.9.png" COMP;
- }
-
- parts {
- part { name: "elm.label";
- description {
- state: "default" 0.0;
- image.normal: "DatePicker_frame_center.9.png";
- image.border: 3 3 10 20;
- }
- }
- }
- }
-
-////////////////////////////////////////////////////////////////////////////////////////
-//
-// check default textblock style
-//
-///////////////////////////////////////////////////////////////////////////////////////
- styles {
- style { name: "check_label_textblock_style";
- base: "font=SLP:style=Roman font_size=32 color=#000000 wrap=char";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
- }
-
-////////////////////////////////////////////////////////////////////////////////////////
-//
-// check default with small touch area style
-//
-///////////////////////////////////////////////////////////////////////////////////////
-
- group {
- name: "elm/check/base/default-small-touch";
-
- images {
- image: "01_check_bg.png" COMP;
- image: "01_check_select_icon.png" COMP;
- }
-
- parts {
- part {
- name: "back_bg";
- mouse_events: 0;
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; offset: 1 1; }
- rel2 { relative: 0.0 1.0; offset: 1 -2; }
- align: 0 0.5;
- min: 50 50;
- fixed: 1 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
- rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
- align: 0.5 0.5;
- min: 50 50;
- max: 50 50;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- image {
- normal: "01_check_bg.png";
- border: 1 1 1 1;
- middle: 1;
- }
- fill.smooth : 0;
- }
- }
- part {
- name: "check";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { offset: 0 0; to: "bg"; }
- rel2 { offset: -2 -2; to: "bg"; }
- visible: 0;
- image.normal: "01_check_select_icon.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 128 128 128 128;
- }
- description {
- state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "bg"; }
- rel2 { relative: 1.0 1.0; offset: 2 -2; 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;
- color: 128 128 128 128;
- }
- description {
- state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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; }
- color: 255 255 255 255;
- align: 0.0 0.5;
- text {
- style: "check_label_textblock_style";
- min: 0 0;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- }
- 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;
- text.min: 1 1;
- }
- }
- part {
- name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- rel1 { to: "back_bg"; }
- rel2 { to: "back_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: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- 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, "visible"))
- set_state(PART:"check", "visible", 0.0);
- else
- set_state(PART:"check", "default", 0.0);
- }
- }
- }
- }
-
-
-////////////////////////////////////////////////////////////////////////////////////////
-//
-// check default-divided style
-//
-///////////////////////////////////////////////////////////////////////////////////////
- group {
- name: "elm/check/base/default-divided";
-
- images {
- image: "01_button_on_lighting.png" COMP;
- image: "01_check_bg.png" COMP;
- image: "01_check_select_icon.png" COMP;
- }
-
- parts {
- part {
- name: "back_bg";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; offset: 1 1; }
- rel2 { relative: 0.0 1.0; offset: 1 -2; }
- align: 0 0.5;
- min: 93 92;
- fixed: 1 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- image {
- normal: "01_button_on_lighting.png";
- border: 0 0 0 0;
- middle: 1;
- }
- fill.smooth : 0;
- }
- }
- part {
- name: "bg";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
- rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
- align: 0.5 0.5;
- min: 50 50;
- max: 50 50;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- image {
- normal: "01_check_bg.png";
- border: 5 5 5 5;
- middle: 1;
- }
- fill.smooth : 0;
- }
- }
- part {
- name: "check";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { offset: 0 0; to: "bg"; }
- rel2 { offset: -2 -2; to: "bg"; }
- visible: 0;
- image.normal: "01_check_select_icon.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 128 128 128 128;
- }
- description {
- state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "bg"; }
- rel2 { relative: 1.0 1.0; offset: 2 -2; 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;
- color: 128 128 128 128;
- }
- description {
- state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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; }
- color: 255 255 255 255;
- align: 0.0 0.5;
- text {
- style: "check_label_textblock_style";
- min: 0 0;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- }
- 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;
- text.min: 1 1;
- }
- }
- part {
- name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- rel1 { to: "back_bg"; }
- rel2 { to: "back_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: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- 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, "visible"))
- set_state(PART:"check", "visible", 0.0);
- else
- set_state(PART:"check", "default", 0.0);
- }
- }
- }
- }
-
-////////////////////////////////////////////////////////////////////////////////////////
-//
-// check onoff style
-//
-///////////////////////////////////////////////////////////////////////////////////////
- group {
- name: "elm/check/base/onoff";
-
- images {
- image: "01_on_off_button.png" COMP;
- image: "01_on_off_button_on.png" COMP;
- image: "01_check_bg.png" COMP;
- image: "01_check_select_icon.png" COMP;
- }
-
- parts {
- part {
- name: "back_bg";
- mouse_events: 0;
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; offset: 1 1; }
- rel2 { relative: 0.0 1.0; offset: 1 -2; }
- align: 0 0.5;
- min: 93 92;
- fixed: 1 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- }
- part {
- name: "check";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
- rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
- align: 0.5 0.5;
- min: 50 50;
- max: 50 50;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- image.normal: "01_on_off_button.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- image.normal: "01_on_off_button_on.png";
- visible: 1;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 128 128 128 128;
- }
- description {
- state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
- rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
- }
- 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;
- color: 128 128 128 128;
- }
- description {
- state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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; }
- color: 255 255 255 255;
- align: 0.0 0.5;
- text {
- style: "check_label_textblock_style";
- min: 0 0;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- }
- 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;
- text.min: 1 1;
- }
- }
- part {
- name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- rel1 { to: "back_bg"; }
- rel2 { to: "back_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: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- 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, "visible"))
- set_state(PART:"check", "visible", 0.0);
- else
- set_state(PART:"check", "default", 0.0);
- }
- }
- }
- }
-
-////////////////////////////////////////////////////////////////////////////////////////
-//
-// check onoff with small touch area style
-//
-///////////////////////////////////////////////////////////////////////////////////////
- group {
- name: "elm/check/base/onoff-small-touch";
-
- images {
- image: "01_on_off_button.png" COMP;
- image: "01_on_off_button_on.png" COMP;
- image: "01_check_bg.png" COMP;
- image: "01_check_select_icon.png" COMP;
- }
-
- parts {
- part {
- name: "back_bg";
- mouse_events: 0;
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; offset: 1 1; }
- rel2 { relative: 0.0 1.0; offset: 1 -2; }
- align: 0 0.5;
- min: 50 50;
- fixed: 1 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- }
- part {
- name: "check";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
- rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
- align: 0.5 0.5;
- min: 50 50;
- max: 50 50;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- image.normal: "01_on_off_button.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- image.normal: "01_on_off_button_on.png";
- visible: 1;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 128 128 128 128;
- }
- description {
- state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
- rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
- }
- 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;
- color: 128 128 128 128;
- }
- description {
- state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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; }
- color: 255 255 255 255;
- align: 0.0 0.5;
- text {
- style: "check_label_textblock_style";
- min: 0 0;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- }
- 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;
- text.min: 1 1;
- }
- }
- part {
- name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- rel1 { to: "back_bg"; }
- rel2 { to: "back_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: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- 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, "visible"))
- set_state(PART:"check", "visible", 0.0);
- else
- set_state(PART:"check", "default", 0.0);
- }
- }
- }
- }
-
-
-////////////////////////////////////////////////////////////////////////////////////////
-//
-// check onoff-divided style
-//
-///////////////////////////////////////////////////////////////////////////////////////
- group {
- name: "elm/check/base/onoff-divided";
-
- images {
- image: "01_button_on_lighting.png" COMP;
- image: "01_on_off_button.png" COMP;
- image: "01_on_off_button_on.png" COMP;
- }
-
- parts {
- part {
- name: "back_bg";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; offset: 1 1; }
- rel2 { relative: 0.0 1.0; offset: 1 -2; }
- align: 0 0.5;
- min: 93 92;
- fixed: 1 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- image {
- normal: "01_button_on_lighting.png";
- border: 0 0 0 0;
- middle: 1;
- }
- fill.smooth : 0;
- }
- }
- part {
- name: "check";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
- rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
- align: 0.5 0.5;
- min: 50 50;
- max: 50 50;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- image.normal: "01_on_off_button.png";
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- image.normal: "01_on_off_button_on.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 128 128 128 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
- rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
- }
- 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;
- color: 128 128 128 128;
- }
- description {
- state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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; }
- color: 255 255 255 255;
- align: 0.0 0.5;
- text {
- style: "check_label_textblock_style";
- min: 0 0;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- }
- 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;
- text.min: 1 1;
- }
- }
- part {
- name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- rel1 { to: "back_bg"; }
- rel2 { to: "back_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: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- 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, "visible"))
- set_state(PART:"check", "visible", 0.0);
- else
- set_state(PART:"check", "default", 0.0);
- }
- }
- }
- }
-
-////////////////////////////////////////////////////////////////////////////////////////
-//
-// check favorite style
-//
-///////////////////////////////////////////////////////////////////////////////////////
-/*
- group {
- name: "elm/check/base/favorite";
-
- images {
- image: "01_rate_icon_default.png" COMP;
- image: "01_rate_small_fill.png" COMP;
- }
-
- parts {
- part {
- name: "back_bg";
- mouse_events: 0;
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; offset: 1 1; }
- rel2 { relative: 0.0 1.0; offset: 1 -2; }
- align: 0 0.5;
- min: 93 92;
- fixed: 1 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- }
- part {
- name: "check";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
- rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
- align: 0.5 0.5;
- min: 50 50;
- max: 50 50;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- image.normal: "01_rate_icon_default.png";
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- image.normal: "01_rate_small_fill.png";
- visible: 1;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 128 128 128 128;
- }
- description {
- state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
- rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
- }
- 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;
- color: 128 128 128 128;
- }
- description {
- state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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; }
- color: 255 255 255 255;
- align: 0.0 0.5;
- text {
- style: "check_label_textblock_style";
- min: 0 0;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- }
- 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;
- text.min: 1 1;
- }
- }
- part {
- name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- rel1 { to: "back_bg"; }
- rel2 { to: "back_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: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- 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, "visible"))
- set_state(PART:"check", "visible", 0.0);
- else
- set_state(PART:"check", "default", 0.0);
- }
- }
- }
- }
-*/
-////////////////////////////////////////////////////////////////////////////////////////
-//
-// check favorite-divided style
-//
-///////////////////////////////////////////////////////////////////////////////////////
- group {
- name: "elm/check/base/favorite-divided";
-
- images {
- image: "01_button_on_lighting.png" COMP;
- image: "01_rate_icon_default.png" COMP;
- image: "01_rate_small_fill.png" COMP;
- }
-
- parts {
- part {
- name: "back_bg";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; offset: 1 1; }
- rel2 { relative: 0.0 1.0; offset: 1 -2; }
- align: 0 0.5;
- min: 93 92;
- fixed: 1 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- image {
- normal: "01_button_on_lighting.png";
- border: 0 0 0 0;
- middle: 1;
- }
- fill.smooth : 0;
- }
- }
- part {
- name: "check";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
- rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
- align: 0.5 0.5;
- min: 50 50;
- max: 50 50;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- image.normal: "01_rate_icon_default.png";
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- image.normal: "01_rate_small_fill.png";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 128 128 128 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- visible: 1;
- }
- }
- part {
- name: "elm.swallow.content";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- fixed: 1 0;
- visible: 0;
- color: 255 255 255 255;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
- rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
- }
- 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;
- color: 128 128 128 128;
- }
- description {
- state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 128;
- 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; }
- color: 255 255 255 255;
- align: 0.0 0.5;
- text {
- style: "check_label_textblock_style";
- min: 0 0;
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- }
- 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;
- text.min: 1 1;
- }
- }
- part {
- name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- rel1 { to: "back_bg"; }
- rel2 { to: "back_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: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,check,toggle" "";
- }
- 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, "visible"))
- set_state(PART:"check", "visible", 0.0);
- else
- set_state(PART:"check", "default", 0.0);
- }
- }
- }
- }
- group{
- name:"elm/fileindexer/base";
- parts{
- part{
- name: "base";
- type: RECT;
- scale: 1;
-
- description{
- state: "default" 0.0;
- rel1{
- relative: 0.0 0.0;
- }
- rel2{
- relative: 1.0 1.0;
- }
- align: 0.0 0.0;
- color: 0 0 0 0;
- }
- }
- }
- }
-///////////////////////////////////////////////////////////////////////////////
- group { name: "elm/cabinet/base/default";
- parts {
- part {
- name: "elm.rect";
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- }
- }
-
- group { name: "elm/cabinet/item/base/default";
- images {
- image: "cross_mark_black.png" COMP;
- image: "cross_mark_black_pressed.png" COMP;
- }
- parts {
- part { name: "shadow";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 120 120 120 100;
- rel1.offset: 0 -3;
- }
- }
- part { name: "elm.bg";
- type: RECT;
- mouse_events: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- color: 243 238 219 255;
- }
- }
-
- part { name: "elm.pad.l";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- min: 20 0;
- fixed: 1 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- visible: 0;
- }
- }
-
- part { name: "elm.label";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.pad.l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.info_label";
- }
-
- text {
- font: "SLP:style=Bold";
- size: 32;
- align: 0.0 0.5;
- min: 0 1;
- }
- color: 0 0 0 255;
- }
- }
-
- part { name: "elm.info_label";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to_x: "elm.pad.c";
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.pad.c";
- }
-
- text {
- font: "SLP:style=Bold";
- size: 26;
- align: 1.0 0.5;
- min: 1 1;
- }
- color: 209 74 0 255;
- align: 1.0 0.0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
-
- part { name: "elm.pad.c";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.to_x: "elm.img.btn";
- rel2.to_x: "elm.img.btn";
- rel2.relative: 0.0 1.0;
- align: 1.0 0.5;
- visible: 0;
- }
- }
-
- part { name: "elm.img.btn";
- scale: 1;
- ignore_flags: ON_HOLD;
- description {
- state: "default" 0.0;
- min: 65 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- image.normal: "cross_mark_black.png";
- }
- description { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: "cross_mark_black_pressed.png";
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
-
- part { name: "btn_over";
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.img.btn";
- rel2.to: "elm.img.btn";
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
-
- part { name: "elm.border.bottom";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 -1;
- }
- align: 0.0 0.5;
- color: 188 184 168 255;
- }
- }
-
- part { name: "elm.border.middle";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1.to: "elm.img.btn";
- rel2 {
- relative: 0.0 1.0;
- to: "elm.img.btn";
- offset: 0 -1;
- }
- align: 0.0 0.5;
- color: 188 184 168 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- }
- programs {
- program {
- name: "btn_clicked";
- signal: "mouse,clicked,1";
- source: "elm.img.btn";
- action: SIGNAL_EMIT "elm,action,del" "";
- }
- program {
- name: "btn_pressed";
- signal: "mouse,down,1";
- source: "btn_over";
- action: STATE_SET "pressed" 0.0;
- target: "elm.img.btn";
- }
- program {
- name: "btn_released";
- signal: "mouse,up,1";
- source: "btn_over";
- action: STATE_SET "default" 0.0;
- target: "elm.img.btn";
- }
-
- program {
- name: "item_clicked";
- signal: "mouse,clicked,1";
- source: "elm.bg";
- action: SIGNAL_EMIT "elm,action,clicked" "";
- }
-
- program {
- name: "btn_disable";
- signal: "btn_disable";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "elm.img.btn";
- target: "elm.border.middle";
- target: "btn_over";
- }
-
- program {
- name: "btn_enable";
- signal: "btn_enable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.img.btn";
- target: "elm.border.middle";
- target: "btn_over";
- }
-
- program {
- name: "info_lbl_hide";
- signal: "info_disable";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "elm.info_label";
- }
-
- program {
- name: "info_lbl_show";
- signal: "info_enable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.info_label";
- }
- }
- }
-
-}
-