//data.item: "contents" "elm.swallow.city elm.swallow.country elm.swallow.gmt";
data.item: "treesize" "20";
- styles {
- style {
- name: "city_textblock_style";
- base: "font="ADD_LIST_FONT" font_size="ADD_LIST_FONT_SIZE" color="ADD_LIST_TEXTBLOCK_COLOR" wrap=char text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- }
- style {
- name: "city_textblock_selected_style";
- base: "font="ADD_LIST_FONT" font_size="ADD_LIST_FONT_SIZE" color="ADD_LIST_SELECTED_TEXTBLOCK_COLOR" wrap=char text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- }
- }
-
parts
{
part {
mouse_events: 0;
description {
state: "default" 0.0;
- color: 249 249 249 255;
+ color: 236 240 242 255;
}
description {
state: "selected" 0.0;
inherit: "default" 0.0;
- color: 199 185 164 255;
+ color: 94 129 152 255;
}
}
part {
name: "elm.text.city";
clip_to: "disclip";
- type: TEXTBLOCK;
+ type: TEXT;
mouse_events: 0;
scale: 1;
description {
rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
rel2 { relative: 0.0 1.0; to_x: "elm.padding.gmt.left"; to_y: "elm.text.gmt"; }
fixed: 1 0;
- //align: 0.0 0.5;
- //rel1{relative: (15/WIDTH) 0.0; }
+ // align: 0.0 0.5;
+ // rel1{relative: (15/WIDTH) 0.0; }
//rel2{relative: 1.0 0.6; }
color: ADD_LIST_COLOR;
text {
- style: "city_textblock_style";
- //font: ADD_LIST_FONT;
- //size: ADD_LIST_FONT_SIZE;
+ font: ADD_LIST_FONT;
+ size: ADD_LIST_FONT_SIZE;
min: 0 1;
align: 0.0 0.5;
}
description {
state: "selected" 0.0;
inherit: "default" 0.0;
- text.style: "city_textblock_selected_style";
- //color: ADD_LIST_SELECTED_COLOR;
+ color: ADD_LIST_SELECTED_COLOR;
}
}
part {
}
}
}
-
- //worldclock_addview_list_black
- group
- {
- name: "elm/genlist/item/worldclock_addview_list_black/default";
- alias: "elm/genlist/item_odd/worldclock_addview_list_black/default";
- alias: "elm/genlist/item_compress/worldclock_addview_list_black/default";
- alias: "elm/genlist/item_compress_odd/worldclock_addview_list_black/default";
- data.item: "stacking" "above";
- data.item: "selectraise" "on";
- data.item: "texts" "elm.text.city elm.text.country elm.text.gmt";
- //data.item: "contents" "elm.swallow.city elm.swallow.country elm.swallow.gmt";
- data.item: "treesize" "20";
-
- styles {
- style {
- name: "city_textblock_black_style";
- base: "font="ADD_LIST_FONT" font_size="ADD_LIST_FONT_SIZE" color="ADD_LIST_TEXTBLOCK_COLOR_BLACK" wrap=char text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- }
- style {
- name: "city_textblock_black_selected_style";
- base: "font="ADD_LIST_FONT" font_size="ADD_LIST_FONT_SIZE" color="ADD_LIST_SELECTED_TEXTBLOCK_COLOR_BLACK" wrap=char text_class=list_item";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- }
- }
-
- parts
- {
- part {
- name: "event";
- type: RECT;
- repeat_events: 1;
- scale: 1;
- description {
- min: 0 ADD_LIST_HEIGHT;
- state: "default" 0.0;
- color: COLOR_ADDVIEW_GENLIST_ITEM_BG_BLACK;
- }
- }
-
- part {
- name: "bg_image";
- type: RECT;
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- color: 0 0 0 255;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 50 65 74 255;
- }
- }
-
- WCL_GENLIST_PART_BOTTOM_LINE( COLOR_BOTTOM_LINE_BLACK )
- WCL_GENLIST_PART_PADDING_TOP( ADD_LIST_PADDING_TOP )
- WCL_GENLIST_PART_PADDING_BOTTOM( ADD_LIST_PADDING_BOTTOM )
- WCL_GENLIST_PART_PADDING_LEFT( ADD_LIST_PADDING_LEFT )
- WCL_GENLIST_PART_PADDING_RIGHT( ADD_LIST_PADDING_RIGHT )
-
- part {
- name: "elm.text.gmt";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: ADD_LIST_MIN_X ADD_LIST_MIN_Y;
- fixed: 1 1;
- rel1 { relative: 0.0 1.0; to_x: "elm.padding.right"; to_y: "elm.padding.top"; }
- rel2 { relative: 0.0 1.0; to_x: "elm.padding.right"; to_y: "elm.padding.top"; }
- align: 1.0 0.0;
- color: ADD_LIST_GMT_COLOR_BLACK;
- text {
- font: ADD_LIST_GMT_FONT;
- size: ADD_LIST_GMT_FONT_SIZE;
- min: 0 1;
- align: 1.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: ADD_LIST_SELECTED_COLOR_BLACK;
- }
- }
- part {
- name: "elm.padding.gmt.left";
- clip_to: "disclip";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 20 0;
- fixed: 1 0;
- rel1.to_x: "elm.text.gmt";
- rel2 { relative: 0.0 1.0; to_x: "elm.text.gmt"; }
- align: 1.0 0.5;
- visible: 0;
- }
- }
-
- part {
- name: "elm.text.city";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- //rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
- //rel2 { relative: 0.0 1.0; to_x: "elm.padding.gmt.left"; to_y: "elm.text.gmt"; }
- rel1{relative: (15/WIDTH) 0.0; }
- rel2{relative: 1.0 0.6; }
- align: 0.0 0.5;
- color: ADD_LIST_COLOR_BLACK;
- text {
- //style: "city_textblock_black_style";
- font: ADD_LIST_FONT;
- size: ADD_LIST_FONT_SIZE;
- min: 0 1;
- align: 0.0 0.5;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- text.style: "city_textblock_black_selected_style";
- color: ADD_LIST_SELECTED_COLOR_BLACK;
- }
- }
- part {
- name: "elm.text.country";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.text.city"; }
- rel2 { relative: 0.0 0.0; to_x: "elm.padding.right"; to_y: "elm.padding.bottom"; }
- color: ADD_LIST_SUB_COLOR_BLACK;
- text {
- font: ADD_LIST_SUB_FONT;
- size: ADD_LIST_SUB_FONT_SIZE;
- min: 0 1;
- align: 0.0 0.0;
- }
- }
- description {
- state: "selected" 0.0;
- inherit: "default" 0.0;
- color: ADD_LIST_SELECTED_COLOR_BLACK;
- }
- }
-
- part
- {
- name: "elm.swallow.city";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1{relative: (15/WIDTH) 0.0; }
- rel2{relative: 1.0 0.6; }
- fixed: 1 1;
- align: 0.0 0.5;
- }
- }
- part
- {
- name: "elm.swallow.country";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1{relative: (15/WIDTH) 0.6; }
- rel2{relative: 0.7 1.0; }
- fixed: 1 1;
- align: 0.0 0.0;
- }
- }
- part
- {
- name: "elm.swallow.gmt";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description
- {
- state: "default" 0.0;
- rel1{relative: 0.7 0.0; }
- rel2{relative: (465.0/WIDTH) 0.6; }
- //fixed: 1 1;
- align: 1.0 0.5;
- }
- }
-
- WCL_GENLIST_PART_DISCLIP(COLOR_DISCLIP_DISABLE_COLOR)
- }
- programs
- {
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg_image";
- target: "elm.text.city";
- target: "elm.text.country";
- target: "elm.text.gmt";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text.city";
- target: "elm.text.country";
- target: "elm.text.gmt";
- transition: LINEAR 0.1;
- }
- program {
- name: "go_disabled";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disclip";
- }
- program { name: "go_enabled";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disclip";
- }
- }
- }
}
# make worldclock.edj
-ADD_CUSTOM_TARGET(worldclock.edj
+ADD_CUSTOM_TARGET(ug_worldclock.edj
COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/../res/images
- ${CMAKE_CURRENT_SOURCE_DIR}/../res/edc/worldclock.edc ${CMAKE_BINARY_DIR}/worldclock.edj
+ ${CMAKE_CURRENT_SOURCE_DIR}/../res/edc/worldclock.edc ${CMAKE_BINARY_DIR}/ug_worldclock.edj
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../res/edc/worldclock.edc )
-ADD_DEPENDENCIES(${PROJECT_NAME} worldclock.edj)
+ADD_DEPENDENCIES(${PROJECT_NAME} ug_worldclock.edj)
# install edj file
-INSTALL(FILES ${CMAKE_BINARY_DIR}/worldclock.edj DESTINATION ${EDJDIR})
+INSTALL(FILES ${CMAKE_BINARY_DIR}/ug_worldclock.edj DESTINATION ${EDJDIR})
-# make worldclock_theme.edj
-ADD_CUSTOM_TARGET(worldclock_theme.edj
+# make ug_worldclock_theme.edj
+ADD_CUSTOM_TARGET(ug_worldclock_theme.edj
COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/../res/theme
- ${CMAKE_CURRENT_SOURCE_DIR}/../res/theme/worldclock_theme.edc ${CMAKE_BINARY_DIR}/worldclock_theme.edj
+ ${CMAKE_CURRENT_SOURCE_DIR}/../res/theme/worldclock_theme.edc
+ ${CMAKE_BINARY_DIR}/ug_worldclock_theme.edj
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../res/theme/worldclock_theme.edc )
-ADD_DEPENDENCIES(${PROJECT_NAME} worldclock_theme.edj)
+ADD_DEPENDENCIES(${PROJECT_NAME} ug_worldclock_theme.edj)
# install edj file
-INSTALL(FILES ${CMAKE_BINARY_DIR}/worldclock_theme.edj DESTINATION ${EDJDIR})
+INSTALL(FILES ${CMAKE_BINARY_DIR}/ug_worldclock_theme.edj DESTINATION ${EDJDIR})