+++ /dev/null
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-SET(PROJECT_SETTING_ABOUT "setting-about")
-SET(SETTING_PKG_ABOUT "org.tizen.setting-about")
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_about REQUIRED
- capi-appfw-application
- capi-network-bluetooth
- capi-network-wifi-manager
- capi-system-info
- capi-system-runtime-info
- capi-telephony
- storage
- dlog
- efl-extension
- elementary
- libtzplatform-config
- vconf
-)
-
-FOREACH(flag ${pkgs_about_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-ADD_DEFINITIONS("-DIMAGEDIR=\"${IMAGEDIR}\"")
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_ABOUT}
- src/setting-about.c
- src/setting-about-main.c
- src/setting-about-status.c
-)
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_ABOUT} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_ABOUT} ${pkgs_about_LDFLAGS} -pie)
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_ABOUT} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
-
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-SET(PROJECT_SETTING_APPLICATIONS "setting-applications")
-SET(SETTING_PKG_APPLICATIONS "org.tizen.setting-applications")
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_apps REQUIRED
- aul
- capi-appfw-application
- dlog
- efl-extension
- elementary
- libtzplatform-config
- pkgmgr-info
- vconf
-)
-
-FOREACH(flag ${pkgs_apps_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_APPLICATIONS}
- ./src/setting-applications.c
- ./src/setting-applications-main.c
- ./src/setting-applications-defaultapp.c
- )
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_APPLICATIONS} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_APPLICATIONS} ${pkgs_apps_LDFLAGS} -pie)
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_APPLICATIONS} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-INCLUDE_DIRECTORIES(/usr/include/privilegemgr)
-SET(PROJECT_SETTING_APPMGR "setting-appmgr")
-SET(SETTING_PKG_APPMGR "org.tizen.setting-appmgr")
-
-FILE(GLOB APPMGR_SRCS src/*.c)
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_appmgr REQUIRED
- elementary
- capi-appfw-application
- storage
- dlog
- glib-2.0
- pkgmgr
- appsvc
- capi-appfw-app-manager
- capi-system-runtime-info
- vconf
- pkgmgr-info
- efl-extension
- capi-appfw-package-manager
- libtzplatform-config
- )
-
-FOREACH(flag ${pkgs_appmgr_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_APPMGR} ${APPMGR_SRCS})
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_APPMGR} ${pkgs_appmgr_LDFLAGS} -pie)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_APPMGR} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_APPMGR} privilege-info)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_APPMGR} security-privilege-manager)
-
-#TARGET_LINK_LIBRARIES(${PROJECT_SETTING_APPMGR} ${LIB_SETTING_COMMON})
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_APPMGR} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-SET(PROJECT_SETTING_BACKUP_AND_RESET "setting-backup-and-reset")
-SET(SETTING_PKG_BACKUP_AND_RESET "org.tizen.setting-backup-and-reset")
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_setting_backup_and_reset REQUIRED
- auth-fw
- capi-appfw-application
- dlog
- edbus
- efl-extension
- elementary
- libtzplatform-config
- storage
-)
-
-FOREACH(flag ${pkgs_setting_backup_and_reset_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-message("############ Backup and reset ############")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_BACKUP_AND_RESET}
- ./src/setting-backup-and-reset.c
- ./src/setting-backup-and-reset-main-view.c
- ./src/setting-backup-and-reset-cloud-view.c
- ./src/setting-backup-and-reset-usb-mass-storage-view.c
- )
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_BACKUP_AND_RESET} ${pkgs_setting_backup_and_reset_LDFLAGS} -pie)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_BACKUP_AND_RESET} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_BACKUP_AND_RESET} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-#set variable
-# LIB_SETTING_COMMON - setting-common
-
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-PROJECT(${LIB_SETTING_COMMON})
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_common_data REQUIRED
- capi-system-system-settings
- efl-extension
- elementary
- json-glib-1.0
- libtzplatform-config
- notification
- pkgmgr-info
- vconf
- capi-base-utils-i18n
-)
-
-FOREACH(flag ${pkgs_common_data_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Werror-implicit-function-declaration")
-#SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Werror")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DDATADIR=\"${DATADIR}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-#SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl, --rpath=/usr/lib")
-
-#make lib-${LIB_SETTING_COMMON}.so files
-ADD_LIBRARY(${LIB_SETTING_COMMON} SHARED
- ./src/setting-cfg.c
- ./src/setting-common-data-slp-setting.c
- ./src/setting-common-draw-genlist.c
- ./src/setting-common-draw-naviframe.c
- ./src/setting-common-draw-popup.c
- ./src/setting-common-draw-searchbar.c
- ./src/setting-common-draw-widget.c
- ./src/setting-common-general-func.c
- ./src/setting-common-init.c
- ./src/setting-common-view.c
-)
-
-TARGET_LINK_LIBRARIES(${LIB_SETTING_COMMON} ${pkgs_common_data_LDFLAGS})
-SET_TARGET_PROPERTIES(${LIB_SETTING_COMMON} PROPERTIES VERSION 0.1.0 SOVERSION 1)
-INSTALL(TARGETS ${LIB_SETTING_COMMON} DESTINATION ${LIBDIR})
-
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-SET(PROJECT_SETTING_CONNECTIVITY "setting-connectivity")
-SET(SETTING_PKG_CONNECTIVITY "org.tizen.setting-connectivity")
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_connectivity REQUIRED
- capi-appfw-app-manager
- glib-2.0
- capi-appfw-application
- capi-system-runtime-info
- dlog
- elementary
- libtzplatform-config
- vconf
-)
-
-FOREACH(flag ${pkgs_connectivity_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_CONNECTIVITY}
- ./src/setting-connectivity.c
- ./src/setting-connectivity-usb.c
- ./src/setting-connectivity-usb-help.c
- )
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_CONNECTIVITY} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_CONNECTIVITY} ${pkgs_connectivity_LDFLAGS} -pie)
-INSTALL(PROGRAMS ${PROJECT_SETTING_CONNECTIVITY} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-SET(PROJECT_SETTING_DISPLAY "setting-display")
-SET(SETTING_PKG_DISPLAY "org.tizen.setting-display")
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_display REQUIRED elementary
- capi-appfw-application
- glib-2.0
- dlog
- capi-system-device
- efl-extension
- capi-system-system-settings
- libtzplatform-config
- dpm
- vconf
- dbus-glib-1
- )
-
-FOREACH(flag ${pkgs_display_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_DISPLAY}
- ./src/setting-display.c
- ./src/setting-display-main.c
- ./src/setting-display-brightness.c
- )
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_DISPLAY} ${pkgs_display_LDFLAGS} -pie)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_DISPLAY} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_DISPLAY} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-SET(PROJECT_SETTING_FILEVIEW "setting-fileview")
-SET(SETTING_PKG_FILEVIEW "org.tizen.setting-fileview")
-
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_fileview REQUIRED
- appcore-common
- appcore-efl
- capi-appfw-application
- chromium-efl
- dlog
- ecore
- elementary
- evas
- json-glib-1.0
- libtzplatform-config
-)
-
-FOREACH(flag ${pkgs_fileview_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-SET(CMAKE_LDFLAGS "-Wl,-z,nodelete")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_FILEVIEW}
- src/setting-fileview.c
- src/setting-fileview-main.c
-)
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_FILEVIEW} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON}/ -lsetting-common)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_FILEVIEW} ${CMAKE_LDFLAGS} ${pkgs_fileview_LDFLAGS} -pie)
-INSTALL(PROGRAMS ${PROJECT_SETTING_FILEVIEW} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-SET(PROJECT_SETTING_FLIGHTMODE "setting-flightmode")
-SET(SETTING_PKG_FLIGHTMODE "org.tizen.setting-flightmode")
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_flightmode REQUIRED
- capi-appfw-application
- elementary
- dlog
- efl-extension
- vconf
- tapi
- notification
- libtzplatform-config
- )
-
-FOREACH(flag ${pkgs_flightmode_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_FLIGHTMODE}
- ./src/setting-flightmode.c
- ./src/setting-flightmode-main.c
- )
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_FLIGHTMODE} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_FLIGHTMODE} ${pkgs_flightmode_LDFLAGS} -pie)
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_FLIGHTMODE} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-
-SET(PROJECT_SETTING_FONT "setting-font")
-SET(SETTING_PKG_FONT "org.tizen.setting-font")
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_font REQUIRED
- elementary
- efl-extension
- capi-appfw-application
- capi-system-system-settings
- dlog
- glib-2.0
- fontconfig
- libtzplatform-config
- vconf
-)
-
-FOREACH(flag ${pkgs_font_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_FONT}
- ./src/setting-font.c
- ./src/setting-font-main.c
- ./src/setting-font-font-size.c
- )
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_FONT} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_FONT} ${pkgs_font_LDFLAGS} -pie)
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_FONT} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
-
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-SET(PROJECT_SETTING_LANGUAGE_AND_INPUT "setting-language-and-input")
-SET(SETTING_PKG_LANGUAGE_AND_INPUT "org.tizen.setting-language-and-input")
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_language_and_input REQUIRED
- capi-appfw-application
- capi-base-utils-i18n
- capi-system-system-settings
- dlog
- elementary
- libtzplatform-config
- pkgmgr-info
- tapi
- vconf
-)
-
-FOREACH(flag ${pkgs_language_and_input_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-D_FILE_OFFSET_BITS=64")
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-#SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_LANGUAGE_AND_INPUT}
- ./src/setting-language-and-input.c
- ./src/setting-language-and-input-view.c
- ./src/setting-display-language-view.c
- )
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_LANGUAGE_AND_INPUT} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON}
- -lsetting-common -licui18n -licudata -licuuc)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_LANGUAGE_AND_INPUT} ${pkgs_language_and_input_LDFLAGS} -pie)
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_LANGUAGE_AND_INPUT} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-SET(PROJECT_SETTING_LICENSE "setting-license")
-SET(SETTING_PKG_LICENSE "org.tizen.setting-license")
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_license REQUIRED
- capi-appfw-application
- dlog
- elementary
- minizip
-)
-
-FOREACH(flag ${pkgs_license_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-D_FILE_OFFSET_BITS=64")
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_LICENSE}
- ./src/setting-license.c
- ./src/setting-license-view.c
- )
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_LICENSE} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON}
- -lsetting-common -licui18n -licudata -licuuc)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_LICENSE} ${pkgs_license_LDFLAGS} -pie)
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_LICENSE} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-SET(PROJECT_SETTING_LOCKTYPE "setting-locktype")
-SET(SETTING_PKG_LOCKTYPE "org.tizen.setting-locktype")
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_locktype REQUIRED
- auth-fw
- capi-appfw-application
- dlog
- dpm
- efl-extension
- elementary
- vconf
-)
-
-FOREACH(flag ${pkgs_locktype_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_LOCKTYPE}
- ./src/setting-locktype.c
- ./src/setting-locktype-main.c
- )
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_LOCKTYPE} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_LOCKTYPE} ${pkgs_locktype_LDFLAGS} -pie)
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_LOCKTYPE} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
-
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-SET(PROJECT_SETTING_NETWORK "setting-network")
-SET(SETTING_PKG_NETWORK "org.tizen.setting-network")
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_network REQUIRED
- callmgr_client
- capi-appfw-application
- capi-network-connection
- capi-system-system-settings
- dlog
- efl-extension
- elementary
- tapi
- vconf
-)
-
-FOREACH(flag ${pkgs_network_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_NETWORK}
- ./src/setting-network.c
- ./src/setting-network-main.c
- ./src/setting-network-service-providers.c
- ./src/setting-network-con.c
- ./src/setting-network-con-list.c
- ./src/setting-network-profile-delete.c
- ./src/setting-network-connection-create.c
- ./src/setting-network-mode.c
- )
-
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_NETWORK} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_NETWORK} ${pkgs_network_LDFLAGS} -pie)
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_NETWORK} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-SET(PROJECT_SETTING_PASSWORD "setting-password")
-SET(SETTING_PKG_PASSWORD "org.tizen.setting-password")
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-
-
-INCLUDE(FindPkgConfig)
-
-pkg_check_modules(pkgs_password REQUIRED
- auth-fw
- capi-appfw-application
- dlog
- elementary
- ode
- tapi
- vconf
-)
-
-FOREACH(flag ${pkgs_password_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib -pie")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_PASSWORD}
- ./src/setting-password.c
- ./src/setting-password-sim.c
- ./src/setting-password-normal.c
- ./src/setting-password-simple.c
-)
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_PASSWORD} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_PASSWORD} ${pkgs_password_LDFLAGS} -pie)
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_PASSWORD} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-SET(PROJECT_SETTING_PRIVACY "setting-privacy")
-SET(SETTING_PKG_PRIVACY "org.tizen.setting-privacy")
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_privacy REQUIRED
- capi-appfw-application
- dlog
- efl-extension
- elementary
- vconf
-)
-
-FOREACH(flag ${pkgs_privacy_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_PRIVACY}
- ./src/setting-privacy.c
- ./src/setting-privacy-main.c
-)
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_PRIVACY} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common -pie)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_PRIVACY} ${pkgs_privacy_LDFLAGS})
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_PRIVACY} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
-
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-
-SET(PROJECT_SETTING_PROFILE "setting-profile")
-SET(SETTING_PKG_PROFILE "org.tizen.setting-profile")
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_profile REQUIRED
- callmgr_client
- capi-appfw-application
- capi-media-metadata-extractor
- capi-media-player
- capi-media-sound-manager
- capi-system-system-settings
- dlog
- efl-extension
- elementary
- feedback
- notification
- vconf
-)
-
-FOREACH(flag ${pkgs_profile_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_PROFILE}
- ./src/setting-profile.c
- ./src/setting-profile-common.c
- ./src/setting-profile-sound-main.c
- )
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_PROFILE} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_PROFILE} ${pkgs_profile_LDFLAGS} -pie)
-INSTALL(PROGRAMS ${PROJECT_SETTING_PROFILE} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
-
-# support volume popup
-SET(SETTING_VOLUME_POPUP setting_volume_popup)
-ADD_EXECUTABLE(${SETTING_VOLUME_POPUP}
- ./src/volume_popup.c
- ./src/setting-profile-common.c
- ./src/setting-profile-sound-main.c
- )
-
-TARGET_LINK_LIBRARIES(${SETTING_VOLUME_POPUP} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-TARGET_LINK_LIBRARIES(${SETTING_VOLUME_POPUP} ${pkgs_profile_LDFLAGS} -pie)
-INSTALL(TARGETS ${SETTING_VOLUME_POPUP} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
-
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-
-SET(PROJECT_SETTING_RINGTONE "setting-ringtone")
-SET(SETTING_PKG_RINGTONE "org.tizen.setting-ringtone")
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_ringtone REQUIRED
- elementary
- capi-appfw-application
- capi-system-system-settings
- capi-media-metadata-extractor
- dlog
- efl-extension
- callmgr_client
- capi-media-player
-)
-
-FOREACH(flag ${pkgs_ringtone_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-SET(CMAKE_LDFLAGS "-Wl,-z,nodelete -pie")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_RINGTONE}
- src/setting-ringtone.c
- src/setting-ringtone-main.c
- src/setting-ringtone-util.c
- src/setting-ringtone-remove.c
-)
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_RINGTONE} ${pkgs_ringtone_LDFLAGS} -pie)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_RINGTONE} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_RINGTONE} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-SET(SETTING_SMARTMANAGER_BATTERY ../smartmanager-battery)
-SET(SETTING_SMARTMANAGER_DATA smartmanager-data)
-SET(SETTING_SMARTMANAGER_STORAGE ../smartmanager-storage)
-message("############ SETTING SMARTMANAGER ############")
-
-#ADD_SUBDIRECTORY(${SETTING_SMARTMANAGER_BATTERY})
-ADD_SUBDIRECTORY(${SETTING_SMARTMANAGER_DATA})
-#ADD_SUBDIRECTORY(${SETTING_SMARTMANAGER_STORAGE})
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-SET(PROJECT_SETTING_STORAGE "setting-storage")
-SET(SETTING_PKG_STORAGE "org.tizen.setting-storage")
-
-FILE(GLOB STORAGE_SRCS src/*.c)
-MESSAGE(">>>>>>>>>>>>>>>--- STORAGE --- <<<<<<<<<<<<<<<<<<<<<<<")
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_storage REQUIRED
- appcore-efl
- capi-appfw-application
- capi-appfw-package-manager
- capi-content-media-content
- deviced
- glib-2.0
- storage
- dpm
- efl-extension
- elementary
- pkgmgr
- vconf
-)
-
-FOREACH(flag ${pkgs_storage_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-D_FILE_OFFSET_BITS=64")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_STORAGE} ${STORAGE_SRCS})
-
-#TARGET_LINK_LIBRARIES(${PROJECT_SETTING_STORAGE} ${LIB_SETTING_COMMON})
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_STORAGE} ${pkgs_storage_LDFLAGS} -pie)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_STORAGE} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_STORAGE} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
-
-SET(PROJECT_SETTING_TIME "setting-time")
-SET(SETTING_PKG_TIME "org.tizen.setting-time")
-
-INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_time REQUIRED
- elementary
- efl-extension
- sqlite3
- capi-appfw-application
- alarm-service
- capi-system-system-settings
- capi-base-utils-i18n
- vconf
-)
-
-FOREACH(flag ${pkgs_time_CFLAGS})
- SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
-ENDFOREACH(flag)
-
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIE -Werror-implicit-function-declaration")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
-
-IF("${ARCH}" STREQUAL "arm")
- ADD_DEFINITIONS("-DTARGET")
- MESSAGE("add -DTARGET")
-ENDIF("${ARCH}" STREQUAL "arm")
-
-ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
-ADD_DEFINITIONS("-DSLP_DEBUG")
-ADD_DEFINITIONS("-shared")
-
-SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib")
-
-ADD_EXECUTABLE(${PROJECT_SETTING_TIME}
- ./src/setting-time.c
- ./src/setting-time-main.c
- ./src/setting-time-engine.c
- )
-
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_TIME} -L${CMAKE_BINARY_DIR}/${SETTING_COMMON} -lsetting-common)
-TARGET_LINK_LIBRARIES(${PROJECT_SETTING_TIME} ${pkgs_time_LDFLAGS} -pie)
-
-INSTALL(PROGRAMS ${PROJECT_SETTING_TIME} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/bin)
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>
+++ /dev/null
-rm /opt/usr/apps/org.tizen.setting/data/setting.cfg
+++ /dev/null
-#define MSG_ID_TEXTS 1 /* String set of: timespan, quantity, warn, limit; If warn is NULL; limit part will take its position */
-#define MSG_ID_BAR_LIMITS 2 /* Float set of: warn, limit; If limit or warn < 0.0 it means they are not set */
-#define MSG_ID_BAR_VALUES 3
-
-styles {
- style {
- name: "small_text_style";
- base: "font=default font_size=20 color=#ffffffff align=left wrap=mixed";
- }
- style {
- name: "value_style";
- base: "font=default font_size=32 align=left color=#000000ff style=shadow,bottom shadow_color=#000000ff wrap=mixed";
- }
-}
-
-
-collections
-{
- base_scale: 2.4;
-
- group
- {
- name: "genlist_item_mobile_data_usage";
-
- parts
- {
- part
- {
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- min: 0 260;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part
- {
- name: "timespan_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 173 173 173 255;
- visible: 1;
- rel1.relative: 0.0375 0.079310345;
- rel2.relative: 0.9625 0.182758621;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "quantity_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 1;
- rel1.relative: 0.0375 0.24137931;
- rel2.relative: 0.9625 0.389310345;
- text
- {
- style: "value_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "progress_bar_bg";
- type: RECT;
-
- part
- {
- name: "progress_bar";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 0 0 255 255;
- visible: 1;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "warning_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 255 255 0 255;
- }
- description
- {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 255 0 0 255;
- }
- }
- part
- {
- name: "limit_indicator";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- min: 12 1;
- rel1.relative: 0.5 0.0;
- rel2.relative: 0.5 1.0;
- }
- }
-
- description {
- state: "default" 0.0;
- color: 128 128 128 255;
- visible: 1;
- rel1.relative: 0.029166667 0.475517241;
- rel2.relative: 0.970833333 0.544482759;
- }
- description {
- state: "warning" 0.0;
- inherit: "default" 0.0;
- color: 128 128 64 255;
- }
- description {
- state: "limit" 0.0;
- inherit: "default" 0.0;
- color: 128 64 64 255;
- }
-
- }
-
- part
- {
- name: "warning_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 255 204 50 255;
- visible: 1;
- rel1.relative: 0.0375 0.675517241;
- rel2.relative: 0.9625 0.778965517;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
-
- part
- {
- name: "limit_txt";
- type: TEXTBLOCK;
- description
- {
- state: "default" 0.0;
- color: 194 8 8 255;
- visible: 1;
- rel1.relative: 0.0375 0.806551724;
- rel2.relative: 0.9625 0.91;
- text
- {
- style: "small_text_style";
- text: "";
- }
- }
- }
- }
-
- script
- {
- public warn_g;
- public limit_g;
-
- public message(Msg_Type:type, id, ...)
- {
- if(type == MSG_FLOAT_SET && id == MSG_ID_BAR_LIMITS) {
- new Float:warn = getfarg(2);
- new Float:limit = getfarg(3);
-
- custom_state(PART:"warning_indicator", "default", 0.0);
- custom_state(PART:"limit_indicator", "default", 0.0);
-
- if(warn >= 0.0) {
- set_state_val(PART:"warning_indicator", STATE_REL1, warn, 0.0);
- set_state_val(PART:"warning_indicator", STATE_REL2, warn, 1.0);
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"warning_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"warning_indicator", "custom", 0.0);
-
- if(limit >= 0.0) {
- set_state_val(PART:"limit_indicator", STATE_REL1, limit, 0.0);
- set_state_val(PART:"limit_indicator", STATE_REL2, limit, 1.0);
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 1);
- } else {
- set_state_val(PART:"limit_indicator", STATE_VISIBLE, 0);
- }
- set_state(PART:"limit_indicator", "custom", 0.0);
-
- set_float (warn_g, warn);
- set_float (limit_g, limit);
- } else if (type == MSG_FLOAT && id == MSG_ID_BAR_VALUES) {
- new Float: warn = get_float(warn_g);
- new Float: limit = get_float(limit_g);
-
- new Float: value = getfarg(2);
- new state_name[32];
-
- if (value >= limit && get_float(limit_g) > 0)
- strncpy(state_name, "limit", 32);
- else if (value >= warn && get_float(warn_g) > 0)
- strncpy(state_name, "warning", 32);
- else
- strncpy(state_name, "default", 32);
-
- custom_state(PART:"progress_bar", state_name, 0.0);
- if (value > 1.0)
- value = 1.0;
- set_state_val(PART:"progress_bar", STATE_REL2, value, 1.0);
- set_state(PART:"progress_bar", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define SELECTOR_ITEM_COUNT 5
-#define SELECTOR_ITEM_HEIGHT 65
-
-#define TXT_STYLE_SWITCH "style,switch"
-#define TXT_STYLE_VALUE "style,value"
-#define TXT_STYLE_RANGE "style,range"
-#define TXT_STYLE_DESC "style,desc"
-
-#define GRP_SET_VALUE_NUMERIC "set-value-numeric"
-#define GRP_SET_VALUE_NUMERIC_SWITCH "set-value-numeric-switch"
-#define GRP_SET_VALUE_RADIOS "set-value-radios"
-#define GRP_SET_VALUE_SWITCHES "set-value-switches"
-#define GRP_SET_VALUE_LIST_SWITCH "set-value-list-switch"
-#define GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH "set-value-update-accessories-switch"
-#define PRT_SET_VALUE_BG "set-value-bg"
-#define PRT_SET_VALUE_SWITCH_BG "set-value-switch-bg"
-#define PRT_SET_VALUE_SWITCH "set-value-switch"
-#define PRT_SET_VALUE_SWITCH_LABEL "set-value-switch-label"
-#define PRT_SET_VALUE_VALUE "set-value-value"
-#define PRT_SET_VALUE_SEP_1 "set-value-sep-1"
-#define PRT_SET_VALUE_SEP_2 "set-value-sep-2"
-#define PRT_SET_VALUE_SEP_3 "set-value-sep-3"
-#define PRT_SET_VALUE_SELECTOR "set-value-selector"
-#define PRT_SET_VALUE_HIGHLIGHT "set-value-highlight"
-#define PRT_SET_VALUE_RANGE "set-value-range"
-#define PRT_SET_VALUE_DESC "set-value-desc"
-#define PRT_SET_VALUE_LIST "set-value-list"
-#define PRT_SET_VALUE_ENTRY "set-value-entry"
-
-styles {
- style {
- name: TXT_STYLE_SWITCH;
- base: "font=BreezeSans:style=medium font_size=35 color=#000000 wrap=mixed align=left valign=top";
- }
- style {
- name: TXT_STYLE_VALUE;
- base: "font=BreezeSans:style=bold font_size=35 color=#000000 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_RANGE;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=center valign=top";
- }
- style {
- name: TXT_STYLE_DESC;
- base: "font=BreezeSans:style=medium font_size=29 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_SET_VALUE_NUMERIC;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 0.1;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 1.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_1;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_1;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_NUMERIC_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_VALUE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_VALUE;
- text.text: "";
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_2;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_VALUE;
- rel2.relative: 0.95 0.0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_2;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_2;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- max: -1 SELECTOR_ITEM_HEIGHT*SELECTOR_ITEM_COUNT;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_HIGHLIGHT;
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.4;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.6;
- rel2.to: PRT_SET_VALUE_SELECTOR;
- color: 127 127 127 32;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_3;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SELECTOR;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SELECTOR;
- rel2.to_y: PRT_SET_VALUE_BG;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_RANGE;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SEP_3;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_SEP_3;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_RANGE;
- text.text: "";
- align: 0 0;
- fixed: 0 1;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.00 1.0;
- rel1.to: PRT_SET_VALUE_RANGE;
- rel2.relative: 1.0 1.0;
- rel2.to_x: PRT_SET_VALUE_RANGE;
- rel2.to_y: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_RADIOS;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SELECTOR;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.03;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_SWITCHES;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_LIST_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0;
- rel2.relative: 1.0 0;
- min: 0 180;
- color: 224 224 224 255;
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.9 0.5;
- rel2.relative: 0.9 1.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_SWITCH_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel2.relative: 0.5 1.0;
- text.style: TXT_STYLE_SWITCH;
- text.text: "";
- text.align: 0.0 0.5;
- }
- }
- }
-
- part {
- name: PRT_SET_VALUE_SEP_1;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to: PRT_SET_VALUE_SWITCH;
- rel2.relative: 1.0 0.0;
- rel2.to_x: PRT_SET_VALUE_SWITCH;
- rel2.to_y: PRT_SET_VALUE_BG;
- visible: 0;
- align: 0 0;
- min: 0 1;
- max: -1 1;
- fixed: 0 1;
- color: 127 127 127 192;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_SEP_1;
- rel2.relative: 0.95 1.5;
- min: 0 100;
- rel2.to: PRT_SET_VALUE_SWITCH_BG;
- text.style: TXT_STYLE_DESC;
- text.text: "Description text";
- text.align: 0.0 0.5;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_DESC;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-
- group {
- name: GRP_SET_VALUE_UPDATE_ACCESSORIES_SWITCH;
- parts {
- part {
- name: PRT_SET_VALUE_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_SET_VALUE_DESC;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.offset: 40 5;
- rel1.to: PRT_SET_VALUE_BG;
- text.style: TXT_STYLE_DESC;
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_SET_VALUE_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.offset: 40 150;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel2.relative: 1.0 0.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
-
- part {
- name: PRT_SET_VALUE_LIST;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 1.0;
- rel1.to_x: PRT_SET_VALUE_BG;
- rel1.to_y: PRT_SET_VALUE_ENTRY;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_SET_VALUE_BG;
- }
- }
- }
- }
-}
\ No newline at end of file
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY_POPUP "accessory_popup"
-#define PRT_ACCESSORY_POPUP_BG "accessory_popup_bg"
-#define PRT_ACCESSORY_POPUP_LABEL "accessory_popup_label"
-#define PRT_ACCESSORY_POPUP_ENTRY "accessory_popup_entry"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY_POPUP;
- parts {
- part {
- name: PRT_ACCESSORY_POPUP_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- min: 0 150;
- max: -1 150;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.0;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 0.5;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
-
- part {
- name: PRT_ACCESSORY_POPUP_ENTRY;
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.relative: 0.1 0.5;
- rel1.to: PRT_ACCESSORY_POPUP_BG;
- rel2.relative: 1.0 1.0;
- rel2.to: PRT_ACCESSORY_POPUP_BG;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: Michal Pawluk <m.pawluk@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define TXT_STYLE_LABEL "style,switch"
-
-#define GRP_ACCESSORY "accessory"
-#define PRT_ACCESSORY_BG "accessory_bg"
-#define PRT_ACCESSORY_LABEL "accessory_label"
-
-styles {
- style {
- name: TXT_STYLE_LABEL;
- base: "font=BreezeSans:style=medium font_size=31 color=#404040 wrap=mixed align=left valign=top";
- }
-}
-
-collections {
- base_scale: 1.8;
-
- group {
- name: GRP_ACCESSORY;
- parts {
- part {
- name: PRT_ACCESSORY_BG;
- type: RECT;
- description {
- state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- color: 255 255 255 255;
- }
- }
-
- part {
- name: PRT_ACCESSORY_LABEL;
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- rel1.relative: 0.05 0.0;
- rel2.relative: 0.95 1.0;
- text.style: TXT_STYLE_LABEL;
- text.text: "";
- text.align: 0.0 0.0;
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#define STORAGE_APPS_COLOR 192 80 77
-#define STORAGE_IMAGES_COLOR 255 204 0
-#define STORAGE_VIDEOS_COLOR 255 255 0
-#define STORAGE_AUDIO_COLOR 146 208 80
-#define STORAGE_DOCUMENTS_COLOR 0 176 240
-#define STORAGE_MISC_COLOR 127 127 127
-#define STORAGE_CACHED_COLOR 112 48 160
-#define STORAGE_SYSTEM_COLOR 0 32 96
+++ /dev/null
-/*
-* Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* PROPRIETARY/CONFIDENTIAL
-*
-* This software is the confidential and proprietary information of SAMSUNG
-* ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
-* software is owned by Samsung and you shall not disclose such Confidential
-* Information and shall use it only in accordance with the terms of the license
-* agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
-* representations or warranties about the suitability of the software, either
-* express or implied, including but not limited to the implied warranties of
-* merchantability, fitness for a particular purpose, or non-infringement.
-* SAMSUNG shall not be liable for any damages suffered by licensee arising out
-* of or releated to this software.
-*
-*/
-
-#define SLIDER_HEIGHT 84
-#define SLIDER_BASE_HEIGHT_INC 6
-#define SLIDER_INDICATOR_SIZE_INC 42
-#define SLIDER_SWALLOWBAR_HEIGHT_INC 42
-#define SLIDER_LEFT_RIGHT_PADDING_SIZE_INC 21 0
-#define SLIDER_ICON_PADDING_SIZE_INC 21 0
-#define SLIDER_CENTER_POINT_SIZE_INC 2 16
-
-collections {
- base_scale: 1.8;
-
- group { name: "elm/slider/horizontal/music/indicator/soundalive";
- images {
- image: "core_slider_handle_normal.png" COMP;
- image: "core_slider_handle_press.png" COMP;
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_SIZE_INC 1.5*SLIDER_INDICATOR_SIZE_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part {
- name: "button0";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_normal.png";
- }
- color: 61 185 204 255;
- }
- }
- part {
- name: "button0_press";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- max: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- image {
- normal: "core_slider_handle_press.png";
- }
- color: 61 185 204 255;
- visible: 0;
- }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program {
- name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0_press";
- }
- program {
- name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0_press";
- }
- }
- }
-
- group {
- name: "elm/slider/horizontal/music/soundalive";
- //alias: "elm/slider/horizontal/disabled";
- images {
- image: "core_progress_bar.#.png" COMP;
- image: "soundalive_progress_point.png" COMP;
- }
- script {
- public invert_on = 0;
- public set_invert_on() {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off() {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up() {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- }
- public drag_state() {
- new Float:dx, Float:dy;
- get_drag(PART:"elm.dragable.slider", dx, dy);
- if(dx > 0.5) {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- else {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- }
- }
- parts {
- part {
- name: "access";
- type: RECT;
- description {
- state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "bg";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_HEIGHT;
- max: -1 SLIDER_HEIGHT;
- }
- }
- part {
- name: "bar_image_left_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "bg";
- rel2 {
- relative: 0.0 1.0;
- to: "bg";
- }
- align: 0.0 0.5;
- }
- }
- part {
- name: "elm.swallow.icon";
- type: SWALLOW;
- clip_to: "icon_clipper";
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 0.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "bar_image_left_padding";
- to_y: "bg";
- }
- color: 61 185 204 255;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "bar_icon_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- max: 0 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
- }
- fixed: 1 1;
- }
- description {
- state: "visible";
- inherit: "default" 0.0;
- min: SLIDER_ICON_PADDING_SIZE_INC;
- max: SLIDER_ICON_PADDING_SIZE_INC;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- fixed: 0 1;
- image.normal: "core_progress_bar.#.png";
- color: 181 173 181 255;
- }
- }
- part {
- name: "drag_base";
- type: "SPACER";
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- rel1 {
- to_x: "bar_image_left_padding";
- to_y: "bg";
- relative: 0.0 0.0;
- }
- rel2.to: "bg";
- fixed: 1 1;
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- to_y: "bg";
- relative: 0.5 0.0;
- }
- rel2.to: "bg";
- }
- }
- part {
- name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.dragable.slider";
- relative: 0.5 1.0;
- }
- fixed: 1 1;
- min: 0 SLIDER_BASE_HEIGHT_INC;
- max: -1 SLIDER_BASE_HEIGHT_INC;
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description {
- state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1 {
- to_y: "base";
- to_x: "elm.dragable.slider";
- relative: 0.5 0.0;
- }
- rel2 {
- to_y: "base";
- to_x: "bar_image_left_padding";
- relative: 0.0 1.0;
- }
- image.normal: "core_progress_bar.#.png";
- color: 61 185 204 255;
- }
- }
- part {
- name: "bar_image_right_padding";
- type: SPACER;
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- max: SLIDER_LEFT_RIGHT_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "bg";
- }
- rel2 {
- relative: 1.0 1.0;
- to: "bg";
- }
- align: 1.0 0.5;
- }
- }
- part {
- name: "icon_clipper";
- scale: 1;
- type: RECT;
- description {
- state: "default" 0.0;
- color: 61 185 204 255;
- }
- }
- part {
- name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 SLIDER_SWALLOWBAR_HEIGHT_INC;
- max: -1 SLIDER_SWALLOWBAR_HEIGHT_INC;
- fixed: 0 1;
- rel1 {
- to: "bar_icon_right_padding";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "bar_image_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part {
- name:"center_point_1";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.0 0.0; to: "base"; }
- rel2 { relative: 0.0 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- //color_class: "AO001";
- }
- }
- part {
- name:"center_point_2";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.25 0.0; to: "base"; }
- rel2 { relative: 0.25 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_3";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.5 0.0; to: "base"; }
- rel2 { relative: 0.5 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_4";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 0.75 0.0; to: "base";}
- rel2 { relative: 0.75 1.0; to: "base"; }
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
- part {
- name:"center_point_5";
- scale: 1;
- description {
- state: "default" 0.0;
- min: SLIDER_CENTER_POINT_SIZE_INC;
- max: SLIDER_CENTER_POINT_SIZE_INC;
- visible: 1;
- image.normal: "soundalive_progress_point.png";
- rel1 { relative: 1.0 0.0; to: "base";}
- rel2 { relative: 1.0 1.0; to: "base";}
- align: 0.5 0.5;
- fixed: 1 1;
- //color_class: "AO007";
- color: 181 173 181 255;
- }
- }
-
- part {
- name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/music/indicator/soundalive";
- mouse_events: 1;
- scale: 1;
- dragable {
- x: 1 1 0;
- y: 0 0 0;
- confine: "drag_base";
- }
- description {
- state: "default" 0.0;
- min: SLIDER_INDICATOR_SIZE_INC SLIDER_INDICATOR_SIZE_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1.to: "base";
- rel2.to: "base";
- color: 0 0 0 0;
- }
- }
- part {
- name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "clipper";
- type: RECT;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "pressed" 0.0;
- color: 0 0 0 0;
- }
- description {
- state: "disabled" 0.0;
- color: 0 0 0 0;
- }
-
- }
- }
- programs {
- program {
- name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script {
- set_invert_on();
- }
- }
- program {
- name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script {
- set_invert_off();
- }
- }
- program {
- name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- target: "bar_icon_right_padding";
- target: "drag_base";
- }
- }
- }
-}
+++ /dev/null
-#define GENLIST_ITEM_1LINE_HEIGHT_INC 120
-#define GENLIST_ITEM_2LINE_HEIGHT_INC 144
-#define GENLIST_ITEM_LR_PADDING_INC 32
-#define GENLIST_ITEM_TOP_PADDING_INC 23
-#define GENLIST_ITEM_BOTTOM_PADDING_INC 24
-#define GENLIST_ITEM_TYPE_BA_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_DC_PADDING_INC 32
-#define GENLIST_ITEM_TYPE_AD_PADDING_INC 32
-#define GENLIST_ITEM_MAIN_LINE_HEIGHT_INC 54
-#define GENLIST_ITEM_MAIN_LINE_ICON_TEXT_PADDING_INC 12
-#define GENLIST_ITEM_MAIN_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_SUB_LINE_HEIGHT_INC 43
-#define GENLIST_ITEM_SUB_LINE_TEXT_END_PADDING_INC 32
-#define GENLIST_ITEM_END_TEXT_WIDTH_INC 121
-#define GENLIST_ITEM_GROUP_INDEX_HEIGHT_INC 64
-#define GENLIST_ITEM_GROUP_INDEX_TOP_PADDING_INC 10
-#define GENLIST_ITEM_GROUP_INDEX_BOTTOM_PADDING_INC 11
-#define GENLIST_ITEM_GROUP_INDEX_RIGHT_PADDING_INC 17
-#define GENLIST_ITEM_GROUP_INDEX_END_TEXT_WIDTH_INC 218
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_TOP_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_BOTTOM_PADDING_INC 12
-#define GENLIST_ITEM_GROUP_INDEX_EXPAND_ICON_SIZE_INC 64 64
-#define GENLIST_ITEM_MULTILINE_1LINE_HEIGHT_INC 120
-#define LIST_BOTTOMLINE_HEIGHT 2
-
-
-collections {
- group {
- name: "elm/genlist/item/entry.main/default";
- alias: "elm/genlist/item_compress/entry.main/default";
- alias: "elm/layout/entry.main/default";
-
- data.item: "banded_bg_area" "elm.swallow.bg";
- data.item: "texts" "elm.text.main";
- data.item: "contents" "elm.icon.1 elm.icon.2 elm.icon.entry";
-
- parts {
- spacer { "base"; }
- // background of item
- rect { "bg";
- desc { "default";
- rel.to: "base";
- color: 0 0 0 0;
- }
- desc { "pressed"; inherit;
- color: 0 0 0 10;
- }
- desc { "disabled"; inherit;
- color: 0 0 0 0;
- }
- }
- // swallow area for banded color
- swallow { "elm.swallow.bg"; scale;
- desc { "default";
- rel.to: "bg";
- }
- }
- swallow { "elm.icon.1";
- desc { "default";
- rel2.relative: 0.0 1.0;
- align: 0.0 0.5;
- }
- }
- swallow { "elm.icon.2";
- desc { "default";
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.left";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC 1;
- rel1 {
- to_x: "elm.icon.1";
- relative: 1.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.1";
- relative: 1.0 1.0;
- }
- align: 0.0 0.5;
- }
- }
- spacer { "elm.padding.right";
- desc { "default";
- min: GENLIST_ITEM_LR_PADDING_INC 0;
- max: GENLIST_ITEM_LR_PADDING_INC -1;
- rel1 {
- to_x: "elm.icon.2";
- relative: 0.0 0.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- relative: 0.0 1.0;
- }
- align: 1.0 0.5;
- }
- }
- spacer { "elm.padding.top";
- desc { "default";
- min: 0 GENLIST_ITEM_TOP_PADDING_INC;
- max: -1 GENLIST_ITEM_TOP_PADDING_INC;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 0.0;
- }
- }
- spacer { "elm.padding.bottom";
- desc { "default";
- min: 0 GENLIST_ITEM_BOTTOM_PADDING_INC;
- max: -1 GENLIST_ITEM_BOTTOM_PADDING_INC;
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 1.0;
- }
- }
- textblock { "elm.text.main";
- desc { "default";
- rel1 {
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- align: 0.5 0.0;
- min: 0 GENLIST_ITEM_MAIN_LINE_HEIGHT_INC;
- text.min: 0 1;
- text.style: "list_text_main";
- }
- desc { "disabled"; inherit;
- text.style: "list_text_main_dim";
- }
- }
- swallow { "elm.icon.entry";
- desc { "default";
- rel1 {
- to_x: "elm.icon.1";
- to_y: "elm.text.main";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.icon.2";
- to_y: "elm.padding.bottom";
- relative: 0.0 0.0;
- }
- min: 0 120;
- }
- }
- rect { "elm.bottomline"; scale;
- desc { "default";
- fixed: 0 1;
- min: 0 LIST_BOTTOMLINE_HEIGHT;
- max: -1 LIST_BOTTOMLINE_HEIGHT;
- align: 0.5 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- color: 204 204 204 255;
- }
- desc { "hidden"; inherit: "default";
- visible: 0;
- }
- }
- }
- programs {
- program {
- signal: "elm,state,elm.swallow.bg,visible";
- source: "elm";
- action: STATE_SET "hidden" 0.0;
- target: "elm.bottomline";
- }
- }
- #GENLIST_PROGRAM_DEFAULT(
- # target: "elm.text.main";
-# target: "elm.bottomline";
-# )
-# GENLIST_PROGRAM_DISABLED(
-# target: "elm.text.main";
-# )
- }
-}
+++ /dev/null
-/*
- * setting
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd.
- *
- * Contact: MyoungJune Park <mj2004.park@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include "common-data-define.edc"
-
-#define SLIDER_SWALLOW_BAR_MIN_WIDTH_INC 72
-#define SLIDER_SWALLOW_BAR_HEIGHT_INC 74
-#define SLIDER_BASE_HEIGHT_INC 34
-#define SLIDER_BASE_MIN_WIDTH_INC 375
-#define PROGRESS_BG_IMAGE_BORDER_INC 17 17 17 17
-#define PROGRESS_BAR_IMAGE_BORDER_INC 8 8 15 18
-#define PROGRESS_BAR_IMAGE_PADDING_SIZE_INC 9 0
-#define SLIDER_UNITS_TEXT_COLOR_INC 8 8 8 255
-#define SLIDER_UNITS_TEXT_SIZE_INC 30
-#define SLIDER_INDICATOR_TEXT_COLOR_INC 59 115 182 255
-#define SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC 255 255 255 255
-#define SLIDER_INDICATOR_WIDTH_INC 72
-#define SLIDER_INDICATOR_HEIGHT_INC 72
-#define SLIDER_INDICATOR_MAX_WIDTH_INC 90
-#define SLIDER_INDICATOR_TEXT_SIZE_INC 40
-
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC "#FAFAFA"
-#define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_DIM_INC "#A2A5AE"
-#define NOCONTENT_HELP_TEXT_BLOCK_STYLE_COLOR_INC "#9A9BA0"
-#define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 36
-#define NOCONTENT_HELP_TEXT_BLOCK_TEXT_SIZE_INC 32
-#define NOCONTENT_IMAGE_WIDTH_HEIGHT_INC 252 252
-#define NOCONTENT_BG_COLOR_INC 0 0 0 0
-#define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 68
-#define NOCONTENT_BASE_SEARCH_PADDING_INC 40
-#define NOCONTENT_PORTRAIT_HELP_TEXT_STYLE_BG_MIN_INC 0 156
-#define NOCONTENT_LANDSCAPE_HELP_TEXT_STYLE_BG_MIN_INC 0 80
-#define NOCONTENT_IMAGE_COLOR_INC 250 250 250 255
-#define NOCONTENT_SWALLOW_AREA_MIN_INC 0 80
-#define NOCONTENT_PORTRAIT_AFTER_HELP_TEXT_PADDING_INC 70 90
-#define NOCONTENT_LANDSCAPE_AFTER_HELP_TEXT_PADDING_INC 180 16
-#define NOCONTENT_PORTRAIT_AFTER_TEXT_PADDING_INC 70 96
-#define NOCONTENT_LANDSCAPE_AFTER_TEXT_PADDING_INC 180 16
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_INC 0 320
-#define NOCONTENT_BASE_PORTRAIT_MIN_WIDTH_HEIGHT_WITH_TEXT 0 742
-#define NOCONTENT_BASE_LANDS_MIN_WIDTH_HEIGHT_WITH_TEXT 0 510
-#define NOCONTENT_PORTRAIT_BUTTON_PADDING_INC 16 80
-#define NOCONTENT_LANDSCAPE_BUTTON_PADDING_INC 180 80
-
-images
-{
- image: "org.tizen.setting.png" COMP;
- image: "simple_password_bg.#.png" COMP;
-}
-collections
-{
- base_scale: 2.4;
- styles
- {
-
- style
- {
- name: "description_style";
- base: "font=Tizen:style=Roman font_size=24 align=left color=#000000 wrap=mixed text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "data_usage_graph_style";
- base: "font=Tizen:style=Roman font_size=20 align=center color=#ffffff wrap=word text_class=tizen";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Regular";
- tag: "b" "+ font=Tizen:style=Regular";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- style
- {
- name: "textblock_simple_pw_title_style";
- base: "font=Tizen:style=Regular font_size=24 align=left color=#808080 wrap=word text_class=label";
- tag: "br" "\n";
- tag: "hilight" "+ font=Tizen:style=Medium";
- tag: "b" "+ font=Tizen:style=Medium";
- tag: "whitecolor" "+ color=#ffffff";
- tag: "tab" "\t";
- }
-
- }
- group
- {
- name: "popup_center_image";
- parts
- {
- part
- {
- name: "base";
- type: SPACER;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 618 436;
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- align: 0.5 0.5;
- fixed: 1 1;
- min: 618 436;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 1.0; to: "base";}
- }
- }
- }
- }
-
- group
- {
- name: "nocontents";
- parts
- {
- part
- {
- name: "contents";
- type: SWALLOW;
- description
- {
- state: "default" 0.0;
- }
- }
- }
- }
- group
- {
- name: "selinfo_bottom";
-
- parts
- {
- part
- {
- name: "background";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- color: 8 8 8 8;
- }
- }
-
- part
- {
- name: "elm.swallow.contents";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; to: "background";}
- rel2
- { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding";}
- }
- }
-
- part
- {
- name: "bottom_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.0 1.0; to: "background";}
- rel2
- { relative: 1.0 1.0; to: "background";}
- color: 8 8 8 8;
- }
- description
- {
- state: "padding" 0.0;
- inherit: "default" 0.0;
- min: 0 5; // 66+4+12
- }
- }
- }
-
- programs
- {
- program
- {
- name: "bottom_padding_content_area";
- signal: "elm,layout,content,bottom_padding";
- source: "layout";
- action: STATE_SET "padding" 0.0;
- target: "bottom_padding";
- }
- program
- {
- name: "default_content_area";
- signal: "elm,layout,content,default";
- source: "layout";
- action: STATE_SET "default" 0.0;
- target: "bottom_padding";
- }
- }
- }
-
- group
- {
- name: "sound_balance";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 900;
- rel1
- { relative: 0.0 0.0; offset: 0 0;}
- rel2
- { relative: 1.0 1.0; offset: 0 0;}
- color: 8 8 8 8;
- }
- }
-
- part
- { name: "elm.padding.top";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 108;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
- }
- }
-
- part
- {
- name: "elm.swallow.content1";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 112;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.padding.top";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.padding.top";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_1";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 32;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content1";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content1";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content2";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- fixed: 1 1;
- align: 0.5 0.0;
- min: 0 76;
- rel1
- {
- relative: 0.0 1.0; to_y: "elm.padding.middle_1";
- }
- rel2
- {
- relative: 1.0 1.0; to_y: "elm.padding.middle_1";
- }
- }
- }
-
- part
- { name: "elm.padding.middle_2";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 70;
- fixed: 0 1;
- visible: 0;
- align: 0.0 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to_y: "elm.swallow.content2";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.content2";
- }
- }
- }
-
- part
- {
- name: "elm.swallow.content3";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description
- {
- state: "default" 0;
- align: 0.5 0.0;
- min: 380 380;
- rel1
- {
- relative: 170/720 1.0; to_y: "elm.padding.middle_2";
- }
- rel2
- {
- relative: 550/720 1.0; to_y: "elm.padding.middle_2";
- }
- }
- }
- } // end of parts
- }
-
- /* theme overlay for sound balance slider */
- group
- { name: "elm/slider/horizontal/indicator/default";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- parts
- {
- part
- { name: "button_events";
- type: RECT;
- mouse_events: 1;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "button0";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- rel1
- {
- to: "elm.indicator";
- offset: -2 -2;
- }
- rel2
- {
- to: "elm.indicator";
- offset: 2 2;
- }
- image
- {
- normal: "org.tizen.setting.png";
- border: 3 3 3 3;
- border_scale: 1;
- }
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image
- {
- normal: "org.tizen.setting.png";
- }
- }
- }
- part
- { name: "elm.indicator";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 1;
- color: SLIDER_INDICATOR_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_INDICATOR_TEXT_SIZE_INC;
- min: 1 1;
- align: 0.5 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
- }
- }
- }
- programs
- {
- program
- { name: "set_val_show";
- signal: "elm,state,val,show";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "set_val_hide";
- signal: "elm,state,val,hide";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "elm.indicator";
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button0";
- target: "button_events";
- }
- program
- { name: "mouse_down";
- signal: "mouse,down,*";
- source: "button_events";
- action: STATE_SET "pressed" 0.0;
- target: "button0";
- after: "text_pressed";
- }
- program
- { name: "mouse_up";
- signal: "mouse,up,*";
- source: "button_events";
- action: STATE_SET "default" 0.0;
- target: "button0";
- after: "text_unpressed";
- }
- program
- { name: "text_pressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"elm.indicator", "pressed", 0.0);
- }
- }
- program
- { name: "text_unpressed";
- script
- {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.indicator", st, 30, vl);
- if (!strcmp(st, "pressed"))
- set_state(PART:"elm.indicator", "default", 0.0);
- }
- }
- }
- }
- group
- { name: "elm/slider/horizontal/soundbalance";
- images
- {
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- image: "org.tizen.setting.png" COMP;
- }
- script
- {
- public invert_on = 0;
- public set_invert_on()
- {
- set_state(PART:"level", "inverted", 0.0);
- set_state(PART:"level2", "inverted", 0.0);
- set_int(invert_on, 1);
- }
- public set_invert_off()
- {
- set_state(PART:"level", "default", 0.0);
- set_state(PART:"level2", "default", 0.0);
- set_int(invert_on, 0);
- }
- public thumb_down()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "pressed", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "pressed", 0.0);
- }
- public thumb_up()
- {
- if(get_int(invert_on) == 0)
- set_state(PART:"level", "default", 0.0);
- else if(get_int(invert_on) == 1)
- set_state(PART:"level2", "inverted", 0.0);
- }
- }
- parts
- {
- part
- { name: "base";
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
- max: 99999 SLIDER_BASE_HEIGHT_INC;
- rel1.to: "bg";
- rel2.to: "bg";
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BG_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- }
- part
- {
- name: "base_top_pad";
- mouse_events: 1;
- scale: 1;
- type: RECT;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 0 4;
- fixed: 1 1;
- align: 0.0 1.0;
- rel1
- { relative: 0.0 0.0; to: "base";}
- rel2
- { relative: 1.0 0.0; to: "base";}
- }
- }
- part
- {
- name: "mid_clue";
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 1;
- min: 18 27;
- max: 18 27;
- fixed: 1 1;
- align: 0.5 1.0;
- rel1
- { relative: 0.5 0.0; to: "base_top_pad";}
- rel2
- { relative: 0.5 0.0; to: "base_top_pad";}
- image.normal: "org.tizen.setting.png";
- }
- }
- part
- { name: "bar_image_left_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1.to: "base";
- rel2
- { relative: 0.0 1.0; to: "base";}
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_image_right_padding";
- type: RECT;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
- fixed: 1 0;
- rel1
- { relative: 1.0 0.0; to: "base";}
- rel2.to: "base";
- align: 1.0 0.5;
- }
- }
- part
- { name: "level";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- rel1
- { to_x: "bar_image_left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 1.0;}
- visible: 0;
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- }
- }
- part
- { name: "level2";
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description
- { state: "default" 0.0;
- fixed: 1 1;
- visible: 0;
- rel1
- { to_y: "base"; to_x: "elm.dragable.slider"; relative: 0.5 0.0;}
- rel2
- { to_y: "base"; to_x: "bar_image_left_padding"; relative: 0.0 1.0;}
- image.normal: "org.tizen.setting.png";
- image.border: PROGRESS_BAR_IMAGE_BORDER_INC;
- image.border_scale: 1;
- }
- description
- { state: "inverted" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description
- { state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "bg";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1.to: "elm.swallow.bar";
- rel2.to: "elm.swallow.bar";
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
- max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
- align: 1.0 0.5;
- rel1
- {
- to_x: "bar_left_padding";
- relative: 1.0 0.0;
- }
- rel2
- {
- to_x: "bar_right_padding";
- relative: 0.0 1.0;
- }
- }
- }
- part
- { name: "bar_left_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- rel2
- {
- relative: 1.0 0.5;
- to_x: "elm.text";
- }
- align: 0.0 0.5;
- }
- }
- part
- { name: "bar_right_padding";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- visible: 0;
- min: 16 0;
- fixed: 1 1;
- rel1
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- rel2
- {
- relative: 0.0 0.5;
- to_x: "elm.units";
- }
- align: 1.0 0.5;
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1
- { to_y: "elm.swallow.bar";}
- rel2
- { relative: 0.0 1.0; to_y: "elm.swallow.bar";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.5;
- rel1.to_x: "elm.swallow.icon";
- rel1.relative: 1.0 0.0;
- rel2.to_x: "elm.swallow.icon";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Medium";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- align: 1.0 0.5;
- rel1
- {
- relative: 1.0 0.0;
- to_y: "elm.swallow.bar";
- }
- rel2
- {
- relative: 1.0 1.0;
- to_y: "elm.swallow.bar";
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part
- { name: "units";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- rel1
- { to_x: "elm.units";}
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "elm.units";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1.to_x: "elm.swallow.end";
- rel2.relative: 0.0 1.0;
- rel2.to_x: "elm.swallow.end";
- color: SLIDER_UNITS_TEXT_COLOR_INC;
- text
- {
- font: "Tizen:style=Bold";
- size: SLIDER_UNITS_TEXT_SIZE_INC;
- min: 0 0;
- align: 0.0 0.5;
- text_class: "tizen";
- ellipsis: -1;
- }
- }
- description
- { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 1;
- visible: 1;
- text.min: 1 1;
- }
- }
- part
- { name: "elm.dragable.slider";
- type: GROUP;
- source: "elm/slider/horizontal/indicator/default";
- mouse_events: 1;
- scale: 1;
- dragable
- {
- x: 1 1 0;
- y: 0 0 0;
- confine: "bg";
- }
- description
- { state: "default" 0.0;
- min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
- fixed: 1 1;
- align: 0.5 0.5;
- color: 8 8 8 8;
- }
- }
- part
- { name: "disabler";
- type: RECT;
- mouse_events: 1;
- repeat_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- visible: 0;
- color: 8 8 8 8;
- }
- description
- { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part
- { name: "clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description
- { state: "disabled" 0.0;
- color: 255 255 255 102;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program
- { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
- }
- program
- { name: "end_show";
- signal: "elm,state,end,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "end_hide";
- signal: "elm,state,end,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program
- { name: "units_show";
- signal: "elm,state,units,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "units_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.units";
- target: "units";
- }
- program
- { name: "invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- script
- {
- set_invert_on();
- }
- }
- program
- { name: "invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- script
- {
- set_invert_off();
- }
- }
- program
- { name: "val_show";
- signal: "mouse,down,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_down();
- }
- }
- program
- { name: "val_hide";
- signal: "mouse,up,*";
- source: "elm.dragable.slider";
- script
- {
- thumb_up();
- }
- }
- program
- { name: "slider_disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- target: "clipper";
- }
- program
- { name: "slider_enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- target: "clipper";
- }
- }
- }
-
-
- group
- {
- name: "storage_edge";
- parts
- {
- part
- {
- name: "color_edge";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 18 50;
- align: 0.0 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- description
- {
- state: "color_apps" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_APPS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_images" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_IMAGES_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_videos" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_VIDEOS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_audio" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_AUDIO_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_documents" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_DOCUMENTS_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_misc" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_MISC_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_cache" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_CACHED_COLOR 255;
- visible: 1;
- }
- description
- {
- state: "color_system" 0.0;
- inherit: "default" 0.0;
- color: STORAGE_SYSTEM_COLOR 255;
- visible: 1;
- }
- }
- }
- programs
- {
- program
- { name: "show_color_apps";
- signal: "elm,state,show,apps";
- source: "elm";
- action: STATE_SET "color_apps" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_images";
- signal: "elm,state,show,images";
- source: "elm";
- action: STATE_SET "color_images" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_videos";
- signal: "elm,state,show,videos";
- source: "elm";
- action: STATE_SET "color_videos" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_audio";
- signal: "elm,state,show,audio";
- source: "elm";
- action: STATE_SET "color_audio" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_documents";
- signal: "elm,state,show,documents";
- source: "elm";
- action: STATE_SET "color_documents" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_misc";
- signal: "elm,state,show,misc";
- source: "elm";
- action: STATE_SET "color_misc" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_cache";
- signal: "elm,state,show,cache";
- source: "elm";
- action: STATE_SET "color_cache" 0.0;
- target: "color_edge";
- }
- program
- { name: "show_color_system";
- signal: "elm,state,show,system";
- source: "elm";
- action: STATE_SET "color_system" 0.0;
- target: "color_edge";
- }
- }
-
- }
-
- group
- {
- name: "layout/simple_password";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "pw_bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- rel1
- { relative: 0.0 0.0; to: "bg";}
- rel2
- { relative: 1.0 0.0; offset: 0 145; to: "bg";}
- }
- }
- part
- {
- name: "help.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1
- { relative: 0.0 1.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 1.0; offset: -18 -18; to: "bg";}
- text
- {
- style: "description_style";
- }
- }
- }
- part
- {
- name: "title.txt";
- type: TEXTBLOCK;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- color: 0 0 0 255;
- rel1
- { relative: 0.0 0.0; offset: 18 18; to: "pw_bg";}
- rel2
- { relative: 1.0 0.0; offset: -18 100; to: "pw_bg";}
- text
- {
- //style: textblock_tutorial_black_style;
- min: 0 1;
- style: "textblock_simple_pw_title_style";
- }
- }
- }
- part
- {
- name: "entry1.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry1";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 107/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 107/480 1.0; offset: 56 -14; to: "pw_bg";}
-
- rel1
- { relative: 107/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 107/480 1.0; offset: 56 56; to: "title.txt";}
-
- }
- }
- part
- {
- name: "entry2.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
-// rel1
-// { relative: 177/480 1.0; offset: 0 -70; to: "pw_bg";}
-// rel2
-// { relative: 177/480 1.0; offset: 56 -14; to: "pw_bg";}
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry2";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 177/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 177/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry3.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry3";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 247/480 1.0; offset: 0 -0; to: "title.txt";}
- rel2
- { relative: 247/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- part
- {
- name: "entry4.bg";
- type: IMAGE;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- image
- {
- normal: "simple_password_bg.#.png";
- border: 4 4 4 4;
- border_scale: 1;
- }
- }
- }
- part
- {
- name: "entry4";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- min: 56 56;
- rel1
- { relative: 317/480 1.0; offset: 0 0; to: "title.txt";}
- rel2
- { relative: 317/480 1.0; offset: 56 56; to: "title.txt";}
- }
- }
- }
- }
- group
- {
- name: "region_searchbar";
-
- parts
- {
- /* background */
- part
- {
- name: "bg";
- type: RECT;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 0 96;
- color_class: "B041";
- }
- description
- {
- inherit: "default" 0.0;
- state: "default_size_giant";
- min: 0 166;
- }
- }
- part
- {
- name: "elm.swallow.search.icon";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- min: 35 35;
- fixed: 1 1;
- align: 1.0 0.5;
- rel1
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- rel2
- { relative: 1.0 0.5; offset: -10 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description
- {
- state: "default" 0.0;
- fixed: 0 1;
- align: 0.0 0.5;
- rel1
- { relative: 0.0 0.5; offset: 40 0; to: "bg";}
- rel2
- { relative: 0.0 0.5; offset: -5 0; to: "elm.swallow.search.icon";}
- }
- }
- }
- programs
- {
- program
- {
- name: "show_normal";
- signal: "set,show,normal";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "bg";
- }
- program
- {
- name: "show_giant";
- signal: "set,show,giant";
- source: "*";
- action: STATE_SET "default_size_giant" 0.0;
- target: "bg";
- }
- }
- }
-
- group
- { name: "font_slider";
- parts
- {
- part
- { name: "bg";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 96;
- fixed: 1 1;
- }
- }
-
- part
- { name: "left_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 0.0 0.0; offset: 21 25;}
- rel2
- { relative: 0.0 0.0; offset: 41 45;}
- //align: 0.0 0.5;
- }
- }
-
- part
- { name: "right_text";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- { relative: 1.0 0.0; offset: -41 20;}
- rel2
- { relative: 1.0 0.0; offset: -16 45;}
- // align: 0.0 0.5;
- }
- }
-
- part
- { name: "slider";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- relative: 0.0 1.0;
- to: "left_text";
- offset:-22 3;
- }
- rel2
- {
- relative: 1.0 1.0;
- to: "right_text";
- offset:15 9;
- }
- // align: 0.0 0.5;
- }
- }
-
- }
- }
-
- group
- {
- name: "date_time_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
- part
- {
- name: "date_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.1 0.2;}
- rel2
- { relative: 0.5 0.8;}
- }
- }
- part
- {
- name: "padding_between";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.5 0.2;}
- rel2
- { relative: 0.55 0.8;}
- }
- }
- part
- {
- name: "time_field";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.55 0.2;}
- rel2
- { relative: 0.9 0.8;}
- }
- }
- part
- {
- name: "padding_right";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.9 0.2;}
- rel2
- { relative: 0.1 0.8;}
- }
- }
-
- }
- }
-
- group
- { name: "gl_custom_item";
- styles
- {
- style
- { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0 text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 0.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to_y: "bottom_padding";
- to_x: "right_padding";
- relative: 0.0 0.0;
-
- }
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
-
- group
- { name: "gl_custom_item_icon";
- styles
- {
- style
- { name: "text_style_ic";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.21 1.0;}
- rel2
- { to: "top_padding"; relative: 0.95 1.0;}
- text.style: "text_style_ic";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.8 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_app_run";
- styles
- {
- style
- { name: "text_style_ic_run";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_ic_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc_run";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=right ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.2 0.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 0.8 1.0;}
- text.style: "text_style_ic_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 54;
- align: 1.0 0.0;
- rel1
- { to: "elm.text"; relative: 1.0 0.0;}
- rel2
- { to: "top_padding"; relative: 1.0 1.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 0.0 0.0;
- rel1
- { to: "elm.swallow.icon"; relative: 1.0 0.5;}
- rel2
- { to: "bottom_padding"; relative: 0.8 0.0;}
- text.style: "text_style_ic_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "elm.text.sub2";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 43;
- align: 1.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 1.0 0.0;}
- rel2
- { to: "bottom_padding"; relative: 1.0 0.0;}
- text.style: "text_style_desc_run";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 1.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 1.0;}
- }
- }
- }
- }
- group
- { name: "gl_custom_item_battery";
- styles
- {
- style
- { name: "text_style_val";
- base: "color=#000000FF font=Tizen:style=Regular font_size=46 ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- style
- { name: "text_style_desc2";
- base: "color=#606060FF font=Tizen:style=Regular font_size=28 align=left ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- }
- }
- parts
- {
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- }
- }
- part
- { name: "left_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 0.0 0.0;
- rel1
- { to: "base"; relative: 0.0 0.0;}
- rel2
- { to: "base"; relative: 0.0 1.0;}
- }
- }
- part
- { name: "right_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 32 0;
- align: 1.0 0.0;
- rel1
- { to: "base"; relative: 1.0 0.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.0 0.0;
- rel1
- { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0;}
- rel2
- { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0;}
- }
- }
- part
- { name: "elm.text.sub";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "top_padding"; relative: 0.0 1.0;}
- rel2
- { to: "top_padding"; relative: 0.99 1.0;}
- text.style: "text_style_desc2";
- text.min: 0 1;
- }
- }
- part
- { name: "text_sub_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text.sub"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text.sub"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- mouse_events: 0;
- description
- { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1
- { to: "text_sub_padding"; relative: 0.0 1.0;}
- rel2
- { to: "text_sub_padding"; relative: 0.95 1.0;}
- text.style: "text_style_val";
- text.min: 0 1;
- }
- }
- part
- { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 15;
- align: 0.0 0.0;
- rel1
- { to: "elm.text"; relative: 0.0 1.0;}
- rel2
- { to: "elm.text"; relative: 1.0 1.0;}
- }
- }
- part
- { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description
- { state: "default" 0.0;
- align: 0.5 1.0;
- rel1
- { to: "text_content_padding"; relative: 0.0 1.0;}
- rel2
- { to: "bottom_padding"; relative: 0.95 0.0;}
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1
- { to: "base"; relative: 0.0 1.0;}
- rel2
- { to: "base"; relative: 1.0 1.0;}
- }
- }
- }
- }
- group
- {
- name: "entry_layout";
- parts
- {
- part
- {
- name: "bg";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;}
- rel2
- { relative: 1.0 1.0;}
- }
- }
- part
- {
- name: "padding_left";
- type: RECT;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- rel1
- { relative: 0.0 0.0;offset: 20 0; to: "bg";}
- rel2
- { relative: 1.0 1.0;offset: 20 0; to: "bg";}
- }
- }
- part
- {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 1;
- description
- {
- color: 0 0 0 0;
- state: "default" 0.0;
- fixed: 1 1;
- //rel1 { relative: 0.0 0.0; offset: 20 0;to: "padding_left";}
- //rel2 { relative: 1.0 1.0; offset: 20 0;to: "padding_left";}
- rel1
- { relative: 0.0 0.0; offset: 0 0;to: "padding_left";}
- rel2
- { relative: 1.0 1.0; offset: 0 0;to: "padding_left";}
- }
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_orange";
- data.item: "vector_ux" "default";
- parts
- {
- alias: "elm.text" "elm.text.top.right";
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 8;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 43;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // orange
- color:246 172 0 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:246 185 0 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 43;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 43;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 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: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group
- { name: "elm/progressbar/horizontal/custom_red";
- data.item: "vector_ux" "default";
- parts
- {
- part
- { name: "access";
- type: RECT;
- description
- { state: "default" 0.0;
- fixed: 1 1;
- color: 0 0 0 0;
- }
- }
- part
- { name: "elm.swallow.bar";
- type: SWALLOW;
- description
- { state: "default" 0.0;
- visible: 0;
- }
- }
- part
- { name: "base";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- }
- }
- part
- { name: "elm.text.top.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- rel1.to: "base";
- rel2.to: "top_padding";
- text
- {
- min: 0 0;
- align: 1.0 1.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 1.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- min: 0 12;
- text.min: 1 1;
- visible: 1;
- }
- }
- part
- { name: "top_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 0.0;
- align: 0.5 1.0;
- }
- }
- part
- { name: "background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- color: 145 145 145 179;
- }
- }
- part
- { name: "tizen_vg_shape1";
- type: SWALLOW;
- mouse_events: 0;
- scale: 1;
- clip_to: "background";
- description
- { state: "default" 0.0;
- rel1.to: "background";
- rel2.to: "background";
- }
- }
- part
- { name: "drag.background";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1
- {
- to_x: "background";
- to_y: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_x: "background";
- to_y: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "tizen_vg_shape2";
- type: SWALLOW;
- scale: 1;
- clip_to: "tizen_vg_shape2_clipper";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "tizen_vg_shape2_clipper";
- type: RECT;
- description
- { state: "default" 0.0;
- // dark red
- color:177 41 41 255;
- }
- }
- part
- { name: "tizen_vg_shape3";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.progress.progressbar";
- description
- { state: "default" 0.0;
- rel1.to: "elm.progress.progressbar";
- rel2.to: "elm.progress.progressbar";
- }
- }
- part
- { name: "elm.progress.progressbar";
- type: RECT;
- description
- { state: "default" 0.0;
- min: 0 0;
- fixed: 1 1;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- offset: -1 -1;
- }
- color:207 48 48 255;
- }
- description
- { state: "invert" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to_y: "background";
- to_x: "elm.cur.progressbar";
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- description
- { state: "state_begin" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.0 0.0;
- }
- rel2
- {
- to: "background";
- relative: 0.1 1.0;
- }
- }
- description
- { state: "state_end" 0.0;
- inherit: "default" 0.0;
- rel1
- {
- to: "background";
- relative: 0.9 0.0;
- }
- rel2
- {
- to: "background";
- relative: 1.0 1.0;
- }
- }
- }
- part
- { name: "elm.cur.progressbar";
- mouse_events: 0;
- scale: 1;
- dragable
- {
- confine: "drag.background";
- x: 1 1 1;
- y: 0 0 0;
- }
- description
- { state: "default" 0.0;
- min: 0 28;
- fixed: 1 1;
- visible: 0;
- rel1.to: "drag.background";
- rel2.to: "drag.background";
- }
- }
- part
- { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description
- { state: "default" 0.0;
- min: 0 7;
- max: -1 7;
- fixed: 0 1;
- rel1.to: "background";
- rel2.to: "background";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- align: 0.5 0.0;
- }
- }
- part
- { name: "elm.text.bottom.left";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 0.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 0.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 12;
- }
- }
- part
- { name: "elm.text.status";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- min: 0 14;
- visible: 1;
- }
- }
- part
- { name: "elm.text.bottom.right";
- type: TEXT;
- scale: 1;
- description
- { state: "default" 0.0;
- rel1.to: "bottom_padding";
- rel2.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.relative: 1.0 1.0;
- text
- {
- min: 0 0;
- align: 1.0 0.0;
- font: "Tizen:style=Regular"; size: "32";
- text_class: "tizen";
- ellipsis: -1;
- }
- align: 1.0 0.0;
- color: 102 102 102 255;
- visible: 0;
- }
- description
- { state: "show" 0.0;
- inherit: "default" 0.0;
- text.min: 1 1;
- visible: 1;
- min: 0 14;
- }
- }
- }
- programs
- {
- program
- { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.right";
- }
- program
- { name: "text_top_right_show";
- signal: "elm,state,top.right,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_top_right_text_hide";
- signal: "elm,state,top.right,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.top.right";
- }
- program
- { name: "text_bottom_left_show";
- signal: "elm,state,bottom.left,visible";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_left_text_hide";
- signal: "elm,state,bottom.left,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.bottom.left";
- }
- program
- { name: "text_bottom_right_show";
- signal: "elm,state,bottom.right,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.status", "default", 0.0);
- set_state(PART:"elm.text.bottom.right", "show", 0.0);
- }
- }
- program
- { name: "text_status_show";
- signal: "elm,state,units,visible";
- source: "elm";
- script
- {
- set_state(PART:"elm.text.bottom.right", "default", 0.0);
- set_state(PART:"elm.text.status", "show", 0.0);
- }
- }
- program
- { name: "text_status_text_hide";
- signal: "elm,state,units,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- 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";
- }
- program
- { name: "stop_pulse";
- signal: "elm,state,pulse,stop";
- source: "elm";
- action: ACTION_STOP;
- target: "slide_to_begin";
- target: "slide_to_end";
- target: "start_pulse";
- }
- program
- { name: "state_pulse";
- signal: "elm,state,pulse";
- source: "elm";
- action: STATE_SET "state_begin" 0.0;
- target: "elm.progress.progressbar";
- action: STATE_SET "default" 0.0;
- target: "elm.text.status";
- }
- 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";
- target: "elm.text.status";
- }
- program
- { name: "set_invert_on";
- signal: "elm,state,inverted,on";
- source: "elm";
- action: STATE_SET "invert" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "set_invert_off";
- signal: "elm,state,inverted,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.progress.progressbar";
- }
- program
- { name: "finished_animation";
- signal: "elm,action,animation,finished";
- source: "elm";
- action: SIGNAL_EMIT "animation,finished" "";
- }
- }
- }
-
- group { name: "elm/button/base/no_bg";
- parts {
- part { name: "button_image";
- mouse_events: 1;
- description { state: "default" 0.0;
- min: 15 15;
- image.middle: SOLID;
- visible: 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- 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.offset: 3 -5;
- rel2.relative: 0.0 1.0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- fixed: 1 0;
- visible: 1;
- aspect: 1.0 1.0;
- rel2.offset: 4 -5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- fixed: 0 0;
- visible: 1;
- align: 0.5 0.5;
- rel2.offset: -5 -5;
- rel2.relative: 1.0 1.0;
- }
- }
- part {
- name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- color: 0 0 0 255;
- color3: 0 0 0 64;
- text {
- font: "Sans,Edje-Vera";
- size: 40;
- min: 0 0;
- align: 0.5 0.5;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 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: "over1";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- rel2.relative: 1.0 0.5;
- color: 0 0 255 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 255 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 255 0 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- // used to force sizing of icon to follow label sizing nearby
- part {
- name: "sizer.content";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- text_class: "button";
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- rel1.to: "elm.swallow.content";
- rel2.to: "elm.swallow.content";
- text {
- min: 1 1;
- text: "M";
- }
- }
- }
- // end sizer
- }
- programs {
- program {
- name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program {
- name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- }
- program {
- name: "button_unclick";
- signal: "mouse,up,1";
- source: "over3";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- after: "button_unclick_anim";
- }
- program {
- name: "button_pressed_anim";
- signal: "elm,anim,activate";
- source: "elm";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- target: "over3";
- after: "button_unpressed_anim";
- }
- program {
- name: "button_unpressed_anim";
- action: STATE_SET "default" 0.0;
- transition: DECELERATE 0.5;
- target: "button_image";
- target: "over3";
- }
- program {
- name: "button_unclick_anim";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- }
- 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,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:"sizer.content", "visible", 0.0);
- }
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled") || (!strcmp(st, "disabled_visible")))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "default") || (!strcmp(st, "visible")))
- set_state(PART:"elm.text", "default", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible")) {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"sizer.content", "visible", 0.0);
- }
- else {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"sizer.content", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "sizer.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "disabled", 0.0);
- set_state(PART:"over1", "disabled", 0.0);
- set_state(PART:"over2", "disabled", 0.0);
- set_state(PART:"disabler", "disabled", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- set_state(PART:"button_image", "visible", 0.0);
- set_state(PART:"over1", "visible", 0.0);
- set_state(PART:"over2", "visible", 0.0);
- set_state(PART:"disabler", "visible", 0.0);
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible") || !strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- }
- }
-
- group { name: "processing_view_layout";
- styles {
- style { name: "popup_processing_style";
- base: "font=Tizen:style=Regular align=left font_size="30" color=#000000 wrap=mixed ellipsis=1.0 text_class=tizen";
- tag: "br" "\n";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "bg";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 1 0;
- }
- }
- part { name: "pad_l";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
- }
- }
- part { name: "pad_r";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 15 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- rel2.relative: 1.0 1.0;
- align: 1.0 0.0;
- }
- }
- part { name: "processing";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 36 36;
- max: 36 36;
- rel1 {
- relative: 1.0 0.0;
- to_x: "pad_l";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "pad_after_processing";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- min: 15 90;
- rel1 {
- relative: 1.0 0.0;
- to: "processing";
- }
- rel2.to: "processing";
- align: 0.0 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 90;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to: "pad_after_processing";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "pad_r";
- }
- align: 0.0 0.5;
- text {
- style: "popup_processing_style";
- min: 0 1;
- }
- }
- }
- }
- }
-}
+++ /dev/null
-/*
-*/
-#include "common-data-define.edc"
-
-#define STORAGE_GRAPH_TOTAL_HIEGHT 300
-#define STORAGE_GRAPH_MARGIN_SIZE 25
-#define STORAGE_GRAPH_SMALL_TEXT_HEIGHT 42
-#define STORAGE_GRAPH_VALUE_TEXT_HEIGHT 78
-#define STORAGE_GRAPH_GRAPH_HEIGHT 20
-
-styles {
- style {
- name: "small text style";
- base: "font="default" font_size=28 align=left color=#737373ff wrap=mixed";
- }
- style {
- name: "value style";
- base: "font="default" font_size=48 align=left color=#000000ff wrap=mixed";
- }
-}
-
-collections {
- group {
- name: "STORAGE_GRAPH_GRP";
- parts {
- part {
- name: "BG";
- type: RECT;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 STORAGE_GRAPH_TOTAL_HIEGHT;
- align: 0.5 0.5;
- visible: 0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 1.0 1.0;
- }
- }
-
- part {
- name: "TXT_USED";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BG";
- relative: 0.0 0.0;
- offset: STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE;
- }
- rel2 {
- to: "BG";
- relative: 1.0 0.0;
- offset: -STORAGE_GRAPH_MARGIN_SIZE STORAGE_GRAPH_MARGIN_SIZE+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_USED";
- }
- }
- }
-
- part {
- name: "TXT_USED_VALUE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_VALUE_TEXT_HEIGHT;
- }
- text {
- style: "value style";
- text: "IDS_ST_CALCULATING";
- align: 0.0 0.0;
- }
- }
- }
-
- part {
- name: "BORDER_OUT";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_USED_VALUE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_USED_VALUE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_GRAPH_HEIGHT;
- }
- color: 34 135 226 255;
- }
- }
-
- part {
- name: "BORDER_IN";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 0.0;
- offset: 2 2;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: -3 -3;
- }
- color: 255 255 255 255;
- }
- }
-
- part {
- name: "PART_1";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_IN";
- relative: 0.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_APPS_COLOR 255;
- }
- }
-
- part {
- name: "PART_2";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_1";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_IMAGES_COLOR 255;
- }
- }
-
- part {
- name: "PART_3";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_2";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_VIDEOS_COLOR 255;
- }
- }
-
- part {
- name: "PART_4";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_3";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_AUDIO_COLOR 255;
- }
- }
-
- part {
- name: "PART_5";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_4";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_DOCUMENTS_COLOR 255;
- }
- }
-
- part {
- name: "PART_6";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_5";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_MISC_COLOR 255;
- }
- }
-
- part {
- name: "PART_7";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_6";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_CACHED_COLOR 255;
- }
- }
-
- part {
- name: "PART_8";
- type: RECT;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "PART_7";
- relative: 1.0 0.0;
- }
- rel2 {
- to: "BORDER_IN";
- relative: 0.0 1.0;
- }
- color: STORAGE_SYSTEM_COLOR 255;
- }
- }
-
- part {
- name: "TXT_TOTAL_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "BORDER_OUT";
- relative: 0.0 1.0;
- offset: 0 20;
- }
- rel2 {
- to: "BORDER_OUT";
- relative: 1.0 1.0;
- offset: 0 20+STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_TOTAL_SPACE_W_VAL";
- }
- }
- }
-
- part {
- name: "TXT_FREE_SPACE";
- type: TEXTBLOCK;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1 {
- to: "TXT_TOTAL_SPACE";
- relative: 0.0 1.0;
- }
- rel2 {
- to: "TXT_TOTAL_SPACE";
- relative: 1.0 1.0;
- offset: 0 STORAGE_GRAPH_SMALL_TEXT_HEIGHT;
- }
- text {
- style: "small text style";
- text: "IDS_ST_BODY_FREE_SPACE_W_VAL";
- }
- }
- }
- }
-
- script {
- public message(Msg_Type:type, id, ...)
- {
- static Float:f_val1 = 0.0;
- static Float:f_val2 = 0.0;
- static Float:f_val3 = 0.0;
- static Float:f_val4 = 0.0;
- static Float:f_val5 = 0.0;
- static Float:f_val6 = 0.0;
- static Float:f_val7 = 0.0;
- static Float:f_val8 = 0.0;
-
- if(type == MSG_FLOAT_SET)
- {
- f_val1 = getfarg(2);
- f_val2 = f_val1 + getfarg(3);
- f_val3 = f_val2 + getfarg(4);
- f_val4 = f_val3 + getfarg(5);
- f_val5 = f_val4 + getfarg(6);
- f_val6 = f_val5 + getfarg(7);
- f_val7 = f_val6 + getfarg(8);
- f_val8 = f_val7 + getfarg(9);
-
- custom_state(PART:"PART_1", "default", 0.0);
- set_state_val(PART:"PART_1", STATE_REL2, f_val1, 1.0);
- set_state(PART:"PART_1", "custom", 0.0);
-
- custom_state(PART:"PART_2", "default", 0.0);
- set_state_val(PART:"PART_2", STATE_REL2, f_val2, 1.0);
- set_state(PART:"PART_2", "custom", 0.0);
-
- custom_state(PART:"PART_3", "default", 0.0);
- set_state_val(PART:"PART_3", STATE_REL2, f_val3, 1.0);
- set_state(PART:"PART_3", "custom", 0.0);
-
- custom_state(PART:"PART_4", "default", 0.0);
- set_state_val(PART:"PART_4", STATE_REL2, f_val4, 1.0);
- set_state(PART:"PART_4", "custom", 0.0);
-
- custom_state(PART:"PART_5", "default", 0.0);
- set_state_val(PART:"PART_5", STATE_REL2, f_val5, 1.0);
- set_state(PART:"PART_5", "custom", 0.0);
-
- custom_state(PART:"PART_6", "default", 0.0);
- set_state_val(PART:"PART_6", STATE_REL2, f_val6, 1.0);
- set_state(PART:"PART_6", "custom", 0.0);
-
- custom_state(PART:"PART_7", "default", 0.0);
- set_state_val(PART:"PART_7", STATE_REL2, f_val7, 1.0);
- set_state(PART:"PART_7", "custom", 0.0);
-
- custom_state(PART:"PART_8", "default", 0.0);
- set_state_val(PART:"PART_8", STATE_REL2, f_val8, 1.0);
- set_state(PART:"PART_8", "custom", 0.0);
- }
- }
- }
- }
-}
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="bn_IN" string="বাংলা" lang="Bengali" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English (United Kingdom)" mcc=""/>
- <language id="gu_IN" string="ગુજરાતી" lang="Gujarati" mcc=""/>
- <language id="hi_IN" string="हिन्दी" lang="Hindi" mcc=""/>
- <language id="kn_IN" string="ಕನ್ನಡ" lang="Kannada" mcc=""/>
- <language id="ml_IN" string="മലയാളം" lang="Malayalam" mcc=""/>
- <language id="si_IN" string="සිංහල" lang="Sinhala" mcc=""/>
- <language id="ta_IN" string="தமிழ்" lang="Tamil" mcc=""/>
- <language id="te_IN" string="తెలుగు" lang="Telugu" mcc=""/>
- <language id="ur_IN" string="اردو" lang="Urdu" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="ar_AE" string="العربية" lang="Arabic" mcc="400"/>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="en_PH" string="English (Philippines)" lang="English(Philippines)" mcc=""/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español" lang="Spanish" mcc=""/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="ga_IE" string="Irish" lang="Irish" mcc=""/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="mk_MK" string="Macedonian" lang="Macedonian" mcc="247"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="zh_CN" string="简体中文" lang="Chinese" mcc=""/>
- <language id="zh_HK" string="繁体中文(香港)" lang="Chinese(Hongkong)" mcc=""/>
- <language id="zh_TW" string="繁体中文(台湾)" lang="Chinese(Taiwan)" mcc=""/>
-</langlist>
+++ /dev/null
-<?xml version="1.0"?>
-<langlist>
- <language id="az_AZ" string="Azərbaycanca" lang="Azerbaijani" mcc="400"/>
- <language id="ca_ES" string="Català" lang="Catalan" mcc=""/>
- <language id="cs_CZ" string="Čeština" lang="Czech" mcc="230"/>
- <language id="sr_RS" string="Cрпски" lang="Serbian" mcc="220"/>
- <language id="da_DK" string="Dansk" lang="Danish" mcc="238"/>
- <language id="de_DE" string="Deutsch" lang="German" mcc="262"/>
- <language id="et_EE" string="Eesti" lang="Estonian" mcc="248"/>
- <language id="en_GB" string="English (United Kingdom)" lang="English(UK)" mcc="234,235"/>
- <language id="en_US" string="English (United States)" lang="English(US)" mcc="310,311,313,316"/>
- <language id="es_ES" string="Español (España)" lang="Spanish" mcc="214"/>
- <language id="es_US" string="Español (Estados Unidos)" lang="Spanish(Latin)" mcc="334"/>
- <language id="eu_ES" string="Euskara" lang="Basque" mcc=""/>
- <language id="fr_CA" string="Français (Canada)" lang="French(Canada)" mcc="302"/>
- <language id="fr_FR" string="Français (France)" lang="French" mcc="208"/>
- <language id="gl_ES" string="Galego" lang="Galician" mcc=""/>
- <language id="hr_HR" string="Hrvatski" lang="Croatian" mcc="219"/>
- <language id="is_IS" string="Íslenska" lang="Icelandic" mcc="274"/>
- <language id="it_IT" string="Italiano" lang="Italian" mcc="222"/>
- <language id="kk_KZ" string="Қазақ тілі" lang="Kazakh" mcc="401"/>
- <language id="lv_LV" string="Latviešu" lang="Latvian" mcc="247"/>
- <language id="lt_LT" string="Lietuvių" lang="Lithuanian" mcc="246"/>
- <language id="hu_HU" string="Magyar" lang="Hungarian" mcc="216"/>
- <language id="nl_NL" string="Nederlands" lang="Dutch" mcc="204"/>
- <language id="nb_NO" string="Norsk" lang="Norwegian" mcc="242"/>
- <language id="uz_UZ" string="Oʻzbek" lang="Uzbek" mcc="434"/>
- <language id="pl_PL" string="Polski" lang="Polish" mcc="260"/>
- <language id="pt_BR" string="Português (Brasil)" lang="Portuguese(Brazil)" mcc="724"/>
- <language id="pt_PT" string="Português (Portugal)" lang="Portuguese" mcc="268"/>
- <language id="ru_RU" string="Pусский" lang="Russian" mcc="250"/>
- <language id="ro_RO" string="Română" lang="Romanian" mcc="226"/>
- <language id="sk_SK" string="Slovenčina" lang="Slovak" mcc="231"/>
- <language id="sl_SI" string="Slovenščina" lang="Slovenian" mcc="293"/>
- <language id="fi_FI" string="Suomi" lang="Finnish" mcc="244"/>
- <language id="sv_SE" string="Svenska" lang="Swedish" mcc="240"/>
- <language id="tr_TR" string="Türkçe" lang="Turkish" mcc="286"/>
- <language id="el_GR" string="Ελληνικά" lang="Greek" mcc="202"/>
- <language id="bg_BG" string="Български език" lang="Bulgarian" mcc="284"/>
- <language id="uk_UA" string="Українська" lang="Ukrainian" mcc="255"/>
- <language id="hy_AM" string="Հայերէն" lang="Armenian" mcc="283"/>
- <language id="ka_GE" string="ქართული ენა" lang="Georgian" mcc="282"/>
- <language id="ja_JP" string="日本語" lang="Japanese" mcc="449"/>
- <language id="ko_KR" string="한국어" lang="Korean" mcc="450"/>
-</langlist>
+++ /dev/null
-# for i18n
-
-#KIRAN INDIA
-#SET(POFILES bn.po en.po gu.po hi.po kn.po ml.po si.po ta.po te.po ur.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_MX.po es_US.po et.po eu.po fi.po fr_CA.po fr_FR.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po mn_MN.po nb.po nl_NL.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_SG.po zh_TW.po)
-#SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en.po en_PH.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr.po fr_CA.po ga.po gl.po hi.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-# Language : Tizen_Applications
-SET(POFILES ar.po az.po bg.po ca.po cs.po da.po de.po el_GR.po en_PH.po en.po en_US.po es_ES.po es_US.po et.po eu.po fi.po fr_CA.po fr.po ga.po gl.po hr.po hu.po hy.po is.po it_IT.po ja_JP.po ka.po kk.po ko_KR.po lt.po lv.po mk.po nb.po nl.po pl.po pt_BR.po pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po tr_TR.po uk.po uz.po zh_CN.po zh_HK.po zh_TW.po)
-
-SET(MSGFMT "/usr/bin/msgfmt")
-
-FOREACH(pofile ${POFILES})
- SET(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${pofile})
- MESSAGE("PO: ${pofile}")
- GET_FILENAME_COMPONENT(absPofile ${pofile} ABSOLUTE)
- GET_FILENAME_COMPONENT(lang ${absPofile} NAME_WE)
- SET(moFile ${CMAKE_CURRENT_BINARY_DIR}/${lang}.mo)
- ADD_CUSTOM_COMMAND(
- OUTPUT ${moFile}
- COMMAND ${MSGFMT} -o ${moFile} ${absPofile}
- DEPENDS ${absPofile}
- )
- INSTALL(FILES ${moFile} DESTINATION ${TZ_SYS_RO_APP}/${SETTING_PKG_NAME}/res/locale/${lang}/LC_MESSAGES RENAME setting.mo)
-#${TZ_SYS_RO_APP}/org.tizen.mode-syspopup
-
- SET(moFiles ${moFiles} ${moFile})
-ENDFOREACH(pofile)
-
-MESSAGE(".mo files: ${moFiles}")
-ADD_CUSTOM_TARGET(po ALL DEPENDS ${moFiles})
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" main_package="org.tizen.setting" package="setting-shortcut-efl" version="0.3.0-1">
- <label>Settings shortcut</label>
- <author email="mj2004.park@samsung.com" href="www.samsung.com">MyoungJune Park</author>
- <description>Shortcut list of settings</description>
- <ui-application appid="setting-shortcut-efl" exec="@TZ_SYS_RO_UG@/bin/setting-shortcut-efl" type="capp" nodisplay="true" taskmanage="false">
- <icon>ug-setting-shortcut-efl.png</icon>
- <label>Settings shortcut</label>
- <label xml:lang="en-us">Settings shortcut</label>
- </ui-application>
-</manifest>