summaryrefslogtreecommitdiff
path: root/main/layout
diff options
context:
space:
mode:
Diffstat (limited to 'main/layout')
-rwxr-xr-xmain/layout/genlist/genlist_group_index.edc35
-rwxr-xr-xmain/layout/genlist/genlist_macro.edc32
-rwxr-xr-xmain/layout/genlist/genlist_size.edc31
-rwxr-xr-xmain/layout/genlist/genlist_styles.edc194
-rwxr-xr-xmain/layout/genlist/genlist_textblock_styles.edc79
-rwxr-xr-xmain/layout/genlist/ivug-genlist.edc47
-rwxr-xr-xmain/layout/images/T01_btn_cancel.pngbin4800 -> 0 bytes
-rwxr-xr-xmain/layout/images/T01_btn_cancel_press.pngbin4898 -> 0 bytes
-rwxr-xr-xmain/layout/images/T01_btn_ok.pngbin5070 -> 0 bytes
-rwxr-xr-xmain/layout/images/T01_btn_ok_dim.pngbin4515 -> 0 bytes
-rwxr-xr-xmain/layout/images/T01_btn_ok_press.pngbin5156 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/00_winset_btn_prev.pngbin3258 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/I01_control_top_bg.pngbin2814 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/T01_Option_header_bt.pngbin3064 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/T01_Option_header_bt_dim.pngbin24351 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/T01_Option_header_bt_press.pngbin2996 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/T01_btn_prev.pngbin3228 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/T01_control_top_arrow.pngbin3055 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/T01_control_top_bg.pngbin2812 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/T01_title_btn.pngbin3129 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/T01_title_btn_press.pngbin3126 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/T01_toolbar_bg.pngbin2797 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/T01_toolbar_press.pngbin2877 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/magnifier.pngbin5126 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/magnifier_line.pngbin4153 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/magnifier_noarrow.pngbin9467 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/magnifier_noarrow_line.pngbin9530 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/reader_handler_down.pngbin6139 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/reader_handler_up.pngbin3454 -> 0 bytes
-rwxr-xr-xmain/layout/images/gray-theme/reader_longtap_blue.pngbin2802 -> 0 bytes
-rwxr-xr-xmain/layout/ivug-base.edc53
-rwxr-xr-xmain/layout/ivug-button.edc1332
-rwxr-xr-xmain/layout/ivug-details.edc38
-rwxr-xr-xmain/layout/ivug-effect.edc31
-rwxr-xr-xmain/layout/ivug-icons.edc38
-rwxr-xr-xmain/layout/ivug-main.edc168
-rwxr-xr-xmain/layout/ivug-naviframe.edc2196
-rwxr-xr-xmain/layout/ivug-selectioninfo.edc64
-rwxr-xr-xmain/layout/ivug-setas.edc388
-rwxr-xr-xmain/layout/ivug-slider.edc79
-rwxr-xr-xmain/layout/ivug-toolbar.edc886
41 files changed, 2765 insertions, 2926 deletions
diff --git a/main/layout/genlist/genlist_group_index.edc b/main/layout/genlist/genlist_group_index.edc
index 2891049..fe95b95 100755
--- a/main/layout/genlist/genlist_group_index.edc
+++ b/main/layout/genlist/genlist_group_index.edc
@@ -1,22 +1,18 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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 GENLIST_PART_FONT_INDEX_LIST_COLOR_INC 240 240 240 255
-#define GENLIST_DIALOGUE_GROUP_BG_COLOR_INC 15 15 15 255
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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 GENLIST_PART_INDEX_LIST_BASE_EVENT_INC \
part { name: "base_event";\
@@ -88,6 +84,7 @@
size: GENLIST_FONT_32_INC;
min: 1 1;
align: 0.0 0.5;
+ text_class: "slp_medium";
}
}
}
diff --git a/main/layout/genlist/genlist_macro.edc b/main/layout/genlist/genlist_macro.edc
index 879d0f2..55ab855 100755
--- a/main/layout/genlist/genlist_macro.edc
+++ b/main/layout/genlist/genlist_macro.edc
@@ -1,19 +1,18 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
-
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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 GENLIST_PART_BASE( param_item_height ) \
part { name: "base"; \
@@ -454,6 +453,7 @@
size: 24; \
min: 1 1; \
align: 0.5 0.5; \
+ text_class: "slp_roman"; \
} \
} \
}
diff --git a/main/layout/genlist/genlist_size.edc b/main/layout/genlist/genlist_size.edc
index 73c285a..30cbb6a 100755
--- a/main/layout/genlist/genlist_size.edc
+++ b/main/layout/genlist/genlist_size.edc
@@ -1,19 +1,18 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
-
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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.
+ */
/* hd_inc */
diff --git a/main/layout/genlist/genlist_styles.edc b/main/layout/genlist/genlist_styles.edc
index 4eeeca9..fd0b4c9 100755
--- a/main/layout/genlist/genlist_styles.edc
+++ b/main/layout/genlist/genlist_styles.edc
@@ -1,19 +1,18 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
-
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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.
+ */
group { name: "elm/genlist/item/ivug/2text.2/default";
alias: "elm/genlist/item_odd/ivug/2text.2/default";
@@ -59,6 +58,7 @@ group { name: "elm/genlist/item/ivug/2text.2/default";
size: GENLIST_FONT_20_INC;
min: 0 1;
align: 0.0 0.5;
+ text_class: "slp_roman";
}
}
description { state: "selected" 0.0;
@@ -90,6 +90,7 @@ group { name: "elm/genlist/item/ivug/2text.2/default";
size: GENLIST_FONT_28_INC;
min: 0 1;
align: 0.0 0.5;
+ text_class: "slp_medium";
}
}
description { state: "selected" 0.0;
@@ -140,6 +141,162 @@ group { name: "elm/genlist/item/ivug/2text.2/default";
}
}
+ group { name: "elm/genlist/item_compress/ivug/multiline/2text.1icon/default";
+ alias: "elm/genlist/item_compress_odd/ivug/multiline/2text.1icon/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: GENLIST_PART_BG_COLOR_INC;
+ }
+ }
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_TOP( GENLIST_PADDING_8_INC )
+ GENLIST_PART_PADDING_BOTTOM( GENLIST_PADDING_8_INC )
+ GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_10_INC )
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_26_INC;
+ fixed: 0 1;
+ 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.icon.left";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ color: 160 160 160 255; //GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_COLOR_INC;
+ text {
+ font: "SLP:style=Roman";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_PART_TEXT_PRESS_COLOR_INC;
+ }
+ }
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXTBLOCK;
+ 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.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon.left";
+ to_y: "elm.padding.bottom";
+ }
+ text {
+ style: "genlist_textblock_sub_style";
+ min: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_textblock_sub_selected_style";
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
group { name: "elm/genlist/item_compress/ivug/multiline/2text/default";
alias: "elm/genlist/item_compress_odd/ivug/multiline/2text/default";
alias: "elm/genlist/item_compress/ivug/multiline.2text/default";
@@ -186,6 +343,7 @@ group { name: "elm/genlist/item/ivug/2text.2/default";
size: GENLIST_FONT_32_INC;
min: 0 1;
align: 0.0 0.5;
+ text_class: "list_item";
}
}
description { state: "selected" 0.0;
@@ -210,14 +368,14 @@ group { name: "elm/genlist/item/ivug/2text.2/default";
to_y: "elm.padding.bottom";
}
text {
- style: "genlist_textblock_flexible_style";
+ style: "genlist_textblock_sub_style";
min: 0 1;
align: 0.0 0.5;
}
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_textblock_flexible_selected_style";
+ text.style: "genlist_textblock_sub_selected_style";
}
}
GENLIST_PART_DISCLIP
diff --git a/main/layout/genlist/genlist_textblock_styles.edc b/main/layout/genlist/genlist_textblock_styles.edc
index 02ac574..cec6f45 100755
--- a/main/layout/genlist/genlist_textblock_styles.edc
+++ b/main/layout/genlist/genlist_textblock_styles.edc
@@ -1,35 +1,18 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
-
-
-/* hd_inc */
-#define GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC "#F9F9F9FF"
-#define GENLIST_PART_MATCH_TAG_COLOR_INC "+ color=#3F8DAD"
-
-#define GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_STYLE_COLOR_INC "#F9F9F9FF"
-#define GENLIST_PART_FONT_LIST_SUB_TEXT_STYLE_COLOR_INC "#646464FF"
-#define GENLIST_PART_FONT_FLEXIBLE_TEXT_MAIN_STYLE_COLOR_INC "#F9F9F9FF"
-#define GENLIST_PART_FONT_FLEXIBLE_TEXT_SUB_STYLE_COLOR_INC "#959595FF"
-#define GENLIST_PART_FONT_MULTILINE_TEXT_STYLE_COLOR_INC "#959595FF"
-#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_READ_STYLE_COLOR_INC "#F9F9F9FF"
-#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_UNREAD_STYLE_COLOR_INC "#F9F9F9FF"
-#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_FOCUS_STYLE_COLOR_INC "#F9F9F9FF"
-#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_2_STYLE_COLOR_INC "#F9F9F9FF"//"#688998FF"
-#define GENLIST_PART_FONT_3LINE_MAIN_TEXT_2_FOCUS_STYLE_COLOR_INC "#F9F9F9FF"
-#define GENLIST_PART_FONT_HELP_TEXT_STYLE_COLOR_INC "#929292FF"
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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 TEXTBLOCK_TAG \
tag: "br" "\n";\
@@ -40,7 +23,7 @@
styles {
style { name: "text_style"; // TODO: remove this later
- base: "font=SLP:style=Roman font_size=28 color=#000000 wrap=char ellipsis=1.0";
+ base: "font=SLP:style=Roman font_size=28 color=#000000 wrap=char ellipsis=1.0 text_class=slp_roman";
tag: "br" "\n";
tag: "ps" "ps";
tag: "tab" "\t";
@@ -48,63 +31,63 @@
tag: "match" "+ color=#E58616FF";
}
style { name: "genlist_default_textblock_style";
- base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_44_INC" color="GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_STYLE_COLOR_INC" text_class=list_item ellipsis=1.0";
+ base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_44_INC" color="GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_STYLE_COLOR_INC" text_class=slp_roman ellipsis=1.0";
TEXTBLOCK_TAG
}
style { name: "genlist_default_textblock_selected_style";
- base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_44_INC" color="GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC" text_class=list_item ellipsis=1.0";
+ base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_44_INC" color="GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC" text_class=slp_roman ellipsis=1.0";
TEXTBLOCK_TAG
}
style { name: "genlist_sub_textblock_style";
- base: "font=SLP:style=Medium font_size="GENLIST_FONT_STYLE_32_INC" color="GENLIST_PART_FONT_LIST_SUB_TEXT_STYLE_COLOR_INC" text_class=list_item ellipsis=1.0";
+ base: "font=SLP:style=Medium font_size="GENLIST_FONT_STYLE_32_INC" color="GENLIST_PART_FONT_LIST_SUB_TEXT_STYLE_COLOR_INC" text_class=slp_medium ellipsis=1.0";
TEXTBLOCK_TAG
}
style { name: "genlist_sub_textblock_selected_style";
- base: "font=SLP:style=Medium font_size="GENLIST_FONT_STYLE_32_INC" color="GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC" text_class=list_item ellipsis=1.0";
+ base: "font=SLP:style=Medium font_size="GENLIST_FONT_STYLE_32_INC" color="GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC" text_class=slp_medium ellipsis=1.0";
TEXTBLOCK_TAG
}
style { name: "genlist_multiline_textblock_style";
- base: "font=SLP:style=Medium font_size="GENLIST_FONT_STYLE_32_INC" color="GENLIST_PART_FONT_MULTILINE_TEXT_STYLE_COLOR_INC" wrap=char text_class=list_item";
+ base: "font=SLP:style=Medium font_size="GENLIST_FONT_STYLE_32_INC" color="GENLIST_PART_FONT_MULTILINE_TEXT_STYLE_COLOR_INC" wrap=char text_class=slp_medium";
TEXTBLOCK_TAG
}
style { name: "genlist_multiline_textblock_selected_style";
- base: "font=SLP:style=Medium font_size="GENLIST_FONT_STYLE_32_INC" color="GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC" wrap=char text_class=list_item";
+ base: "font=SLP:style=Medium font_size="GENLIST_FONT_STYLE_32_INC" color="GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC" wrap=char text_class=slp_medium";
TEXTBLOCK_TAG
}
style { name: "genlist_textblock_style";
- base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_42_INC" color="GENLIST_PART_FONT_3LINE_MAIN_TEXT_UNREAD_STYLE_COLOR_INC" wrap=char text_class=list_item";
+ base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_42_INC" color="GENLIST_PART_FONT_3LINE_MAIN_TEXT_UNREAD_STYLE_COLOR_INC" wrap=char text_class=slp_roman";
TEXTBLOCK_TAG
}
style { name: "genlist_textblock_selected_style";
- base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_42_INC" color="GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC" wrap=char text_class=list_item";
+ base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_42_INC" color="GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC" wrap=char text_class=slp_roman";
TEXTBLOCK_TAG
}
style { name: "genlist_textblock_sub_style";
- base: "font=SLP:style=Medium font_size="GENLIST_FONT_STYLE_36_INC" color="GENLIST_PART_FONT_3LINE_MAIN_TEXT_2_STYLE_COLOR_INC" wrap=char text_class=list_item";
+ base: "font=SLP:style=Medium font_size="GENLIST_FONT_STYLE_36_INC" color="GENLIST_PART_FONT_3LINE_MAIN_TEXT_2_STYLE_COLOR_INC" wrap=char text_class=slp_medium";
TEXTBLOCK_TAG
}
style { name: "genlist_textblock_sub_selected_style";
- base: "font=SLP:style=Medium font_size="GENLIST_FONT_STYLE_36_INC" color="GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC" wrap=char text_class=list_item";
+ base: "font=SLP:style=Medium font_size="GENLIST_FONT_STYLE_36_INC" color="GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC" wrap=char text_class=slp_medium";
TEXTBLOCK_TAG
}
style { name: "genlist_textblock_flexible_style";
- base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_36_INC" color="GENLIST_PART_FONT_FLEXIBLE_TEXT_MAIN_STYLE_COLOR_INC" wrap=char text_class=list_item";// fixed by ivug
+ base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_36_INC" color="GENLIST_PART_FONT_FLEXIBLE_TEXT_MAIN_STYLE_COLOR_INC" wrap=char text_class=slp_roman";//fixed by ivug
TEXTBLOCK_TAG
}
style { name: "genlist_textblock_flexible_selected_style";
- base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_48_INC" color="GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC" wrap=char text_class=list_item";
+ base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_48_INC" color="GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC" wrap=char text_class=slp_roman";
TEXTBLOCK_TAG
}
style { name: "genlist_textblock_flexible_sub_style";
- base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_36_INC" color="GENLIST_PART_FONT_FLEXIBLE_TEXT_SUB_STYLE_COLOR_INC" wrap=char text_class=list_item";
+ base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_36_INC" color="GENLIST_PART_FONT_FLEXIBLE_TEXT_SUB_STYLE_COLOR_INC" wrap=char text_class=slp_roman";
TEXTBLOCK_TAG
}
style { name: "genlist_textblock_flexible_sub_selected_style";
- base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_36_INC" color="GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC" wrap=char text_class=list_item";
+ base: "font=SLP:style=Roman font_size="GENLIST_FONT_STYLE_36_INC" color="GENLIST_PART_TEXT_PRESS_STYLE_COLOR_INC" wrap=char text_class=slp_roman";
TEXTBLOCK_TAG
}
style { name: "genlist_textblock_help_style";
- base: "font=SLP:style=Medium font_size="GENLIST_FONT_STYLE_32_INC" color="GENLIST_PART_FONT_HELP_TEXT_STYLE_COLOR_INC" wrap=mixed text_class=list_item";
+ base: "font=SLP:style=Medium font_size="GENLIST_FONT_STYLE_32_INC" color="GENLIST_PART_FONT_HELP_TEXT_STYLE_COLOR_INC" wrap=mixed text_class=slp_medium";
TEXTBLOCK_TAG
}
}
diff --git a/main/layout/genlist/ivug-genlist.edc b/main/layout/genlist/ivug-genlist.edc
index f9d527b..3dd35f2 100755
--- a/main/layout/genlist/ivug-genlist.edc
+++ b/main/layout/genlist/ivug-genlist.edc
@@ -1,33 +1,20 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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 GENLIST_PART_BG_COLOR_INC 0 0 0 0
-
-#define GENLIST_PART_FONT_LIST_SUB_TEXT_COLOR_INC 249 249 249 255
-#define GENLIST_PART_TEXT_PRESS_COLOR_INC 249 249 249 255
-
-#define GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_COLOR_INC 100 100 100 255
-
-#define GENLIST_PART_DISCLIP_COLOR_INC 255 255 255 64
-
-/* 1.0 */
-#define GENLIST_PART_LIST_BG_COLOR_INC 0 0 0 0
-#define GENLIST_PART_LIST_LINE_COLOR_INC 68 68 68 0
-#define GENLIST_PART_LIST_PRESS_COLOR_INC 0 140 210 255
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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 "../ivug-theme.edc"
collections {
diff --git a/main/layout/images/T01_btn_cancel.png b/main/layout/images/T01_btn_cancel.png
deleted file mode 100755
index 051ff04..0000000
--- a/main/layout/images/T01_btn_cancel.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/T01_btn_cancel_press.png b/main/layout/images/T01_btn_cancel_press.png
deleted file mode 100755
index 32f7e76..0000000
--- a/main/layout/images/T01_btn_cancel_press.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/T01_btn_ok.png b/main/layout/images/T01_btn_ok.png
deleted file mode 100755
index adb15aa..0000000
--- a/main/layout/images/T01_btn_ok.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/T01_btn_ok_dim.png b/main/layout/images/T01_btn_ok_dim.png
deleted file mode 100755
index 9cc983b..0000000
--- a/main/layout/images/T01_btn_ok_dim.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/T01_btn_ok_press.png b/main/layout/images/T01_btn_ok_press.png
deleted file mode 100755
index 4a59cfd..0000000
--- a/main/layout/images/T01_btn_ok_press.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/00_winset_btn_prev.png b/main/layout/images/gray-theme/00_winset_btn_prev.png
deleted file mode 100755
index 15b43b0..0000000
--- a/main/layout/images/gray-theme/00_winset_btn_prev.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/I01_control_top_bg.png b/main/layout/images/gray-theme/I01_control_top_bg.png
deleted file mode 100755
index 287ef80..0000000
--- a/main/layout/images/gray-theme/I01_control_top_bg.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/T01_Option_header_bt.png b/main/layout/images/gray-theme/T01_Option_header_bt.png
deleted file mode 100755
index 3c6987f..0000000
--- a/main/layout/images/gray-theme/T01_Option_header_bt.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/T01_Option_header_bt_dim.png b/main/layout/images/gray-theme/T01_Option_header_bt_dim.png
deleted file mode 100755
index 501d9e8..0000000
--- a/main/layout/images/gray-theme/T01_Option_header_bt_dim.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/T01_Option_header_bt_press.png b/main/layout/images/gray-theme/T01_Option_header_bt_press.png
deleted file mode 100755
index 978107c..0000000
--- a/main/layout/images/gray-theme/T01_Option_header_bt_press.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/T01_btn_prev.png b/main/layout/images/gray-theme/T01_btn_prev.png
deleted file mode 100755
index ccaf337..0000000
--- a/main/layout/images/gray-theme/T01_btn_prev.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/T01_control_top_arrow.png b/main/layout/images/gray-theme/T01_control_top_arrow.png
deleted file mode 100755
index 3f2ee50..0000000
--- a/main/layout/images/gray-theme/T01_control_top_arrow.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/T01_control_top_bg.png b/main/layout/images/gray-theme/T01_control_top_bg.png
deleted file mode 100755
index e7b5045..0000000
--- a/main/layout/images/gray-theme/T01_control_top_bg.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/T01_title_btn.png b/main/layout/images/gray-theme/T01_title_btn.png
deleted file mode 100755
index 20c31f1..0000000
--- a/main/layout/images/gray-theme/T01_title_btn.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/T01_title_btn_press.png b/main/layout/images/gray-theme/T01_title_btn_press.png
deleted file mode 100755
index 49861ed..0000000
--- a/main/layout/images/gray-theme/T01_title_btn_press.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/T01_toolbar_bg.png b/main/layout/images/gray-theme/T01_toolbar_bg.png
deleted file mode 100755
index e02c6c6..0000000
--- a/main/layout/images/gray-theme/T01_toolbar_bg.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/T01_toolbar_press.png b/main/layout/images/gray-theme/T01_toolbar_press.png
deleted file mode 100755
index 703cc05..0000000
--- a/main/layout/images/gray-theme/T01_toolbar_press.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/magnifier.png b/main/layout/images/gray-theme/magnifier.png
deleted file mode 100755
index 4ae3188..0000000
--- a/main/layout/images/gray-theme/magnifier.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/magnifier_line.png b/main/layout/images/gray-theme/magnifier_line.png
deleted file mode 100755
index c4dd14c..0000000
--- a/main/layout/images/gray-theme/magnifier_line.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/magnifier_noarrow.png b/main/layout/images/gray-theme/magnifier_noarrow.png
deleted file mode 100755
index 7cbd2a7..0000000
--- a/main/layout/images/gray-theme/magnifier_noarrow.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/magnifier_noarrow_line.png b/main/layout/images/gray-theme/magnifier_noarrow_line.png
deleted file mode 100755
index fcfdb10..0000000
--- a/main/layout/images/gray-theme/magnifier_noarrow_line.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/reader_handler_down.png b/main/layout/images/gray-theme/reader_handler_down.png
deleted file mode 100755
index 8e95761..0000000
--- a/main/layout/images/gray-theme/reader_handler_down.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/reader_handler_up.png b/main/layout/images/gray-theme/reader_handler_up.png
deleted file mode 100755
index 172e2a3..0000000
--- a/main/layout/images/gray-theme/reader_handler_up.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/images/gray-theme/reader_longtap_blue.png b/main/layout/images/gray-theme/reader_longtap_blue.png
deleted file mode 100755
index 16df225..0000000
--- a/main/layout/images/gray-theme/reader_longtap_blue.png
+++ /dev/null
Binary files differ
diff --git a/main/layout/ivug-base.edc b/main/layout/ivug-base.edc
index fae85c6..3c2ec3e 100755
--- a/main/layout/ivug-base.edc
+++ b/main/layout/ivug-base.edc
@@ -1,47 +1,34 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
-
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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.
+ */
collections {
group {
name: "ivug_base";
parts {
part {
- name: "indication";
- type: RECT;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- min: 0 0;
- fixed: 0 1;
- align: 0.5 0.0;
- visible: 0;
- }
- }
-
- part {
name: "clip";
type: RECT;
scale: 1;
+ mouse_events: 0;
description {
state: "default" 0.0;
- rel1 { relative: 0.0 1.0; to_y: "indication";}
+ visible: 1;
+ rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 1.0; }
+ color: 255 255 255 255;
}
}
part {
@@ -52,6 +39,8 @@ collections {
scale: 1;
clip_to: "clip";
description {
+ state: "default" 0.0;
+ visible: 1;
rel1.to: "clip";
rel2.to: "clip";
}
diff --git a/main/layout/ivug-button.edc b/main/layout/ivug-button.edc
deleted file mode 100755
index 19fb76d..0000000
--- a/main/layout/ivug-button.edc
+++ /dev/null
@@ -1,1332 +0,0 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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 BUTTON_STATE_ENABLED 0
-#define BUTTON_STATE_DISABLED 1
-
-#define NAVIBAR_PREV_BUTTON_LEFT_SEPARATOR_COLOR_INC 3 3 3 255
-#define NAVIBAR_PREV_BUTTON_RIGHT_SEPARATOR_COLOR_INC 52 52 52 255
-
-/* Default black themem text color
-#define BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC 78 73 69 255
-*/
-#define BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC 255 255 255 255
-#define BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC 185 185 185 255
-
-#define BUTTON_TEXT_STYLE1_BG_MIN_INC 100 74
-#define BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC 148 74
-#define BUTTON_TEXT_STYLE1_ICONONLY_BG_MIN_INC 74 74
-#define BUTTON_TEXT_STYLE1_BG_BORDER_INC 5 5 5 5
-#define BUTTON_TEXT_STYLE1_PADDING_MIN_INC 5 5
-#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC 38 38
-#define BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC 10 0
-#define BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC 38 38
-#define BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC 38 38
-#define BUTTON_TEXT_STYLE1_FONT_SIZE_INC 28
-
-#define BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_COLOR_INC 160 151 145 255
-
-#define BUTTON_NAVIBAR_CENTER_BG_NORMAL_MIN_W_INC 36
-#define BUTTON_NAVIBAR_CENTER_BG_NORMAL_MIN_H_INC 74
-#define BUTTON_NAVIBAR_CENTER_BG_NORMAL_BORDER_INC 5 5 5 5
-
-#define BUTTON_NAVIBAR_CENTER_PADDING_MIN_MAX_INC 16 2
-#define BUTTON_NAVIBAR_CENTER_ICON_RECT_VISIBLE_MIN_SIZE 36 36
-#define BUTTON_NAVIBAR_CENTER_PADDING_AFTER_ICON_VISIBLE_MIN_INC 6 0
-
-#define BUTTON_NAVIBAR_CENTER_PADDING_BEFORE_TEXT_DEFAULT_MIN_INC 6 0
-
-#define BUTTON_NAVIBAR_BACK_BUTTON_BUTTON_IMAGE_MIN_INC 106 40
-#define BUTTON_NAVIBAR_BACK_BUTTON_BG_MIN_MAX_INC 36 32
-
-#define BUTTON_NAVIBAR_CENTER_SWALLOW_VISIBLE_MIN_MAX_INC 36 36
-#define BUTTON_NAVIBAR_CENTER_SWALLOW_ICONONLY_MIN_MAX_INC 38 38
-
-#define BUTTON_NAVIBAR_CENTER_TEXT_FONT_SIZE_INC 32
-
-#define NAVIBAR_TITLE_RIGHT_SEPARATOR_COLOR_INC 69 87 94 0
-#define NAVIBAR_TITLE_LEFT_SEPARATOR_COLOR_INC 0 15 30 0
-
-
-#define IV_EDC_IMAGE_OPTION_HEADER_BT "T01_Option_header_bt.png"
-#define IV_EDC_IMAGE_OPTION_HEADER_BT_DIM "T01_Option_header_bt_dim.png"
-#define IV_EDC_IMAGE_OPTION_HEADER_BT_PRESS "T01_Option_header_bt_press.png"
-
-#define IV_EDC_IMAGE_NAVIFRAME_MORE_BT "T01_title_btn.png"
-#define IV_EDC_IMAGE_NAVIFRAME_MORE_BT_DIM "T01_title_btn.png"
-#define IV_EDC_IMAGE_NAVIFRAME_MORE_BT_PRESS "T01_title_btn_press.png"
-
-#define IV_EDC_IMAGE_BTN_PREV "T01_btn_prev.png"
-#define IV_EDC_IMAGE_BTN_PREV_PRESS "00_winset_btn_prev.png" /* TODO: Replace with T01_XXX image */
-
-#define IV_EDC_OPTION_HEADER_BT_TEXT_COLOR_INC 255 255 255 255
-
-#define BUTTON_MULTILINE_TEXT_FONT_SIZE_INC 32 /* */
-
-collections {
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/style1";
- alias: "elm/button/base/text_only/style1";
- alias: "elm/button/base/center";
- alias: "elm/button/base/icon_and_text/center";
- alias: "elm/button/base/nocontents/search_button";
- alias: "elm/button/base/naviframe/title/default";
- images {
- image: IV_EDC_IMAGE_NAVIFRAME_MORE_BT COMP;
- image: IV_EDC_IMAGE_NAVIFRAME_MORE_BT_DIM COMP;
- image: IV_EDC_IMAGE_NAVIFRAME_MORE_BT_PRESS COMP;
- }
- script {
- public button_state = BUTTON_STATE_ENABLED;
- }
- parts {
- part { name: "button_image";
- scale: 1;
- description { state: "default" 0.0;
- image {
- normal: IV_EDC_IMAGE_NAVIFRAME_MORE_BT;
- border: BUTTON_TEXT_STYLE1_BG_BORDER_INC;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image {
- normal: IV_EDC_IMAGE_NAVIFRAME_MORE_BT_PRESS;
- }
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image {
- normal: IV_EDC_IMAGE_NAVIFRAME_MORE_BT_DIM;
- }
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image {
- normal: IV_EDC_IMAGE_NAVIFRAME_MORE_BT_PRESS;
- }
- }
- }
- part { name: "padding_left_top";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel2 {
- relative: 0.0 0.0;
- }
- min: BUTTON_TEXT_STYLE1_PADDING_MIN_INC;
- fixed: 1 1;
- visible: 0;
- }
- }
- part { name: "bg";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: BUTTON_TEXT_STYLE1_BG_MIN_INC;
- visible: 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- min: BUTTON_TEXT_STYLE1_VISIBLE_BG_MIN_INC;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- min: BUTTON_TEXT_STYLE1_ICONONLY_BG_MIN_INC;
- }
- }
- part { name: "padding_right_bottom";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 1.0 1.0;
- rel1 {
- relative: 1.0 1.0;
- }
- min: BUTTON_TEXT_STYLE1_PADDING_MIN_INC;
- fixed: 1 1;
- visible: 0;
- }
- }
- part { name: "icon_rect";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- min: 0 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- align: 0.0 0.5;
- }
- description { state: "visible" 0.0;
- visible: 0;
- min: BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC;
- max: BUTTON_TEXT_STYLE1_VISIBLE_ICON_RECT_MIN_MAX_INC;
- fixed: 1 0;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- align: 0.0 0.5;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "padding_after_icon";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- to: "icon_rect";
- }
- rel2 {
- to: "icon_rect";
- }
- fixed: 1 0;
- min: 0 0;
- visible: 0;
- }
- description { state: "visible" 0.0;
- visible: 0;
- align: 0.0 0.0;
- rel1 {
- relative: 1.0 0.0;
- to: "icon_rect";
- }
- rel2 {
- to: "icon_rect";
- }
- fixed: 1 0;
- min: BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "padding_before_text";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 1.0 0.5;
- rel1 {
- relative: 0.0 1.0;
- to_x: "elm.text";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "elm.text";
- to_y: "padding_right_bottom";
- }
- fixed: 1 0;
- min: BUTTON_TEXT_STYLE1_VISIBLE_PADDING_ICON_TEXT_MIN_INC;
- visible: 0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- clip_to: "clipper";
- description { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- fixed: 1 0;
- }
- description { state: "visible" 0.0;
- fixed: 1 0;
- min: BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC;
- max: BUTTON_TEXT_STYLE1_VISIBLE_ICON_MIN_MAX_INC;
- align: 1.0 0.5;
- rel1 {
- relative: 0.0 1.0;
- to_x: "padding_before_text";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "padding_before_text";
- to_y: "padding_right_bottom";
- }
- }
- description { state: "icononly" 0.0;
- min: BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC;
- max: BUTTON_TEXT_STYLE1_ICONONLY_ICON_MIN_MAX_INC;
- align: 0.5 0.5;
- }
- }
- part { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description { state: "default" 0.0;
- visible: 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "padding_after_icon";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- color: BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC;
- text {
- font: "HelveticaNeue:style=Medium";
- size: BUTTON_TEXT_STYLE1_FONT_SIZE_INC;
- min: 0 0;
- max: 1 0;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 0 0 0 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC;
- visible: 1;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC;
- }
- }
- part { name: "over2";
- type: RECT;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "over3";
- type: RECT;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "clipper";
- type: RECT;
- description { state: "default" 0.0;
- color: 255 255 255 255;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program { name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program { name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- after: "text_clicked";
- }
- program { name: "text_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"elm.text", "clicked", 0.0);
- }
- }
- program { name: "button_unpress";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- }
- program { name: "button_mouseout_clicked";
- signal: "mouse,up,1";
- source: "over3";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (strcmp(st, "icononly"))
- {
- emit("elm,action,default,text,set", "");
- set_state(PART:"elm.text", "visible", 0.0);
- }
- if (get_int(button_state) != BUTTON_STATE_DISABLED)
- set_state(PART:"button_image", "default", 0.0);
- }
- after: button_unpress;
- }
- program { name: "button_unclick3";
- signal: "mouse,clicked,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "visible", 0.0);
- set_state(PART:"bg", "visible", 0.0);
- }
- if (get_int(button_state) != BUTTON_STATE_DISABLED)
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"icon_rect", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "icononly", 0.0);
- set_state(PART:"bg", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "visible", 0.0);
- set_state(PART:"bg", "visible", 0.0);
- }
- else
- {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"icon_rect", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "icononly", 0.0);
- set_state(PART:"bg", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "padding_after_icon";
- target: "icon_rect";
- target: "bg";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button_image";
- target: "disabler";
- after: "disable_text";
- }
- program { name: "disable_text";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- set_int(button_state, BUTTON_STATE_DISABLED);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- target: "disabler";
- after: "enable_text";
- }
- program { name: "enable_text";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- set_int(button_state, BUTTON_STATE_ENABLED);
- }
- }
- program { name: "focused";
- //signal: "elm,action,focus";
- //source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "button_image";
- target: "elm.text";
- }
- program { name: "unfocused";
- //signal: "elm,action,unfocus";
- //source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- after: "unfocus_text";
- }
- program { name: "unfocus_text";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/naviframe_control/default";
- alias: "elm/button/base/naviframe_control/center";
- /* TODO: Remove this alias later */
- alias: "elm/button/base/navigationbar_control/center";
- script {
- public button_state = BUTTON_STATE_ENABLED;
- }
- images.image: IV_EDC_IMAGE_OPTION_HEADER_BT COMP;
- images.image: IV_EDC_IMAGE_OPTION_HEADER_BT_DIM COMP;
- images.image: IV_EDC_IMAGE_OPTION_HEADER_BT_PRESS COMP;
- parts {
- part { name: "button_image";
- type: IMAGE;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: BUTTON_NAVIBAR_CENTER_BG_NORMAL_MIN_W_INC BUTTON_NAVIBAR_CENTER_BG_NORMAL_MIN_H_INC;
- rel1.offset: 0 0;
- rel2.offset: -1 -1;
- image.normal: IV_EDC_IMAGE_OPTION_HEADER_BT;
- image.border: BUTTON_NAVIBAR_CENTER_BG_NORMAL_BORDER_INC;
- color: IV_EDC_OPTION_HEADER_BT_TEXT_COLOR_INC;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: IV_EDC_IMAGE_OPTION_HEADER_BT; /*FIXME*/
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: IV_EDC_IMAGE_OPTION_HEADER_BT_PRESS;
- }
- }
- part {
- name: "padding_left_top";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 0.0;
- min: BUTTON_NAVIBAR_CENTER_PADDING_MIN_MAX_INC;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "padding_right_bottom";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 1.0 1.0;
- rel1.relative: 1.0 1.0;
- rel2.relative: 1.0 1.0;
- min: BUTTON_NAVIBAR_CENTER_PADDING_MIN_MAX_INC;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "icon_rect";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 1;
- min: 0 0;
- fixed: 1 0;
- rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
- rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description { state: "visible" 0.0;
- visible: 1;
- min: BUTTON_NAVIBAR_CENTER_ICON_RECT_VISIBLE_MIN_SIZE;
- fixed: 1 0;
- rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
- rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "padding_after_icon";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 0.0 0.0;
- rel1 { relative: 1.0 0.0; to: "icon_rect"; }
- rel2 { relative: 1.0 1.0; to: "icon_rect"; }
- fixed: 1 0;
- min: 0 0;
- color: 0 0 0 0;
- }
- description { state: "visible" 0.0;
- visible: 1;
- align: 0.0 0.0;
- rel1 { relative: 1.0 0.0; to: "icon_rect"; }
- rel2 { relative: 1.0 1.0; to: "icon_rect"; }
- fixed: 1 0;
- min: BUTTON_NAVIBAR_CENTER_PADDING_AFTER_ICON_VISIBLE_MIN_INC;
- color: 0 0 0 0;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- }
- }
- part {
- name: "padding_before_text";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 1.0 0.5;
- rel1 { relative: 0.0 1.0; to_x: "elm.text"; to_y: "padding_left_top"; }
- rel2 { relative: 0.0 0.0; to_x: "elm.text"; to_y: "padding_right_bottom"; }
- fixed: 1 0;
- min: BUTTON_NAVIBAR_CENTER_PADDING_BEFORE_TEXT_DEFAULT_MIN_INC;
- color: 0 0 0 0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- clip_to: "clipper";
- description { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
- rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
- fixed: 1 0;
- }
- description { state: "visible" 0.0;
- fixed: 1 0;
- visible: 1;
- min: BUTTON_NAVIBAR_CENTER_SWALLOW_VISIBLE_MIN_MAX_INC;
- max: BUTTON_NAVIBAR_CENTER_SWALLOW_VISIBLE_MIN_MAX_INC;
- align: 1.0 0.5;
- rel1 { relative: 0.0 1.0; to_x: "padding_before_text"; to_y: "padding_left_top"; }
- rel2 { relative: 0.0 0.0; to_x: "padding_before_text"; to_y: "padding_right_bottom"; }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- description { state: "icononly" 0.0;
- visible: 1;
- min: BUTTON_NAVIBAR_CENTER_SWALLOW_ICONONLY_MIN_MAX_INC;
- max: BUTTON_NAVIBAR_CENTER_SWALLOW_ICONONLY_MIN_MAX_INC;
- rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
- rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
- align: 0.5 0.5;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part { name: "elm.text";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- clip_to: "clipper";
- description { state: "default" 0.0;
- visible: 0;
- rel1 { relative: 1.0 1.0; to_x: "padding_after_icon"; to_y: "padding_left_top"; }
- rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
- align: 0.5 0.5;
- color: 255 255 255 255;
- text {
- font: "HelveticaNeue:style=Medium";
- size: BUTTON_NAVIBAR_CENTER_TEXT_FONT_SIZE_INC;
- min: 0 0;
- max: 1 0;
- align: 0.5 0.5;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: 255 255 255 255;
- }
- }
- part { name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "over3";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "clipper";
- type: RECT;
- description { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description { state: "disabled" 0.0;
- color: 255 255 255 127;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program { name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program { name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- after: "text_clicked";
- }
- program { name: "text_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"elm.text", "clicked", 0.0);
- }
- }
- program { name: "button_unpress";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- }
- program { name: "button_mouseout_clicked";
- signal: "mouse,up,1";
- source: "over3";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (strcmp(st, "icononly"))
- {
- emit("elm,action,default,text,set", "");
- set_state(PART:"elm.text", "visible", 0.0);
- }
- if(get_int(button_state) != BUTTON_STATE_DISABLED)
- set_state(PART:"button_image", "default", 0.0);
- }
- after: button_unpress;
- }
- program { name: "button_unclick3";
- signal: "mouse,clicked,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "visible", 0.0);
- }
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"icon_rect", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "visible", 0.0);
- }
- else
- {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"icon_rect", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "icon_rect";
- target: "padding_after_icon";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button_image";
- target: "clipper";
- target: "disabler";
- after: "disable_text";
- }
- program { name: "disable_text";
- script {
- set_int(button_state, BUTTON_STATE_DISABLED);
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- target: "clipper";
- target: "disabler";
- after: "enable_text";
- }
- program { name: "enable_text";
- script {
- set_int(button_state, BUTTON_STATE_ENABLED);
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "focused";
- action: STATE_SET "focused" 0.0;
- target: "button_image";
- target: "elm.text";
- }
- program { name: "unfocused";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- after: "unfocus_text";
- }
- program { name: "unfocus_text";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- }
- }
-
-///////////////////////////////////////////////////////////////////////////////////////
- group { name: "elm/button/base/multiline";
- alias: "elm/button/base/text_only/multiline";
- images {
- image: IV_EDC_IMAGE_OPTION_HEADER_BT COMP;
- image: IV_EDC_IMAGE_OPTION_HEADER_BT_PRESS COMP;
- image: IV_EDC_IMAGE_OPTION_HEADER_BT_DIM COMP;
- }
- script {
- public button_state = BUTTON_STATE_ENABLED;
- }
- styles{
- style { name: "btn_multiline_style";
- base: "font=HelveticaNeue:style=Medium font_size="BUTTON_MULTILINE_TEXT_FONT_SIZE_INC" align=center color=#ffffff wrap=mixed";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- }
- }
- parts {
- part { name: "button_image";
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- min: 10 46;
- image {
- normal: IV_EDC_IMAGE_OPTION_HEADER_BT;
- border: 4 4 3 3;
- border_scale: 1;
- }
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: IV_EDC_IMAGE_OPTION_HEADER_BT_PRESS;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: IV_EDC_IMAGE_OPTION_HEADER_BT_DIM;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: IV_EDC_IMAGE_OPTION_HEADER_BT_PRESS;
- }
- }
- part {
- name: "padding_left_top";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1.relative: 0.0 0.0;
- rel2.relative: 0.0 0.0;
- min: 2 2;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "padding_right_bottom";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 1.0 1.0;
- rel1.relative: 1.0 1.0;
- rel2.relative: 1.0 1.0;
- min: 2 2;
- fixed: 1 1;
- visible: 0;
- }
- }
- part {
- name: "icon_rect";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 1;
- min: 0 40;
- fixed: 1 0;
- rel1 { relative: 0.0 1.0; to_x: "elm.swallow.content"; to_y: "padding_left_top"; }
- rel2 { relative: 1.0 0.0; to_x: "elm.swallow.content"; to_y: "padding_right_bottom"; }
- align: 0.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
- name: "padding_icon_text";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 0.0 0.0;
- rel1 { relative: 1.0 0.0; to: "icon_rect"; }
- rel2 { relative: 1.0 1.0; to: "icon_rect"; }
- fixed: 1 0;
- min: 0 0;
- color: 0 0 0 0;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "visible" 0.0; //when icon is visible
- align: 0.0 0.0;
- rel1 { relative: 1.0 0.0; to: "icon_rect"; }
- rel2 { relative: 1.0 1.0; to: "icon_rect"; }
- fixed: 1 0;
- min: 5 0;
- color: 0 0 0 0;
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- align: 0.0 0.5;
- rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
- rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
- fixed: 1 0;
- }
- description { state: "visible" 0.0;
- fixed: 1 0;
- visible: 1;
- align: 0.0 0.5;
- rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
- rel2 { relative: 1.0 0.0; to_x: "padding_left_top"; to_y: "padding_right_bottom"; }
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- description { state: "icononly" 0.0;
- visible: 1;
- min: 40 40;
- rel1 { relative: 1.0 1.0; to: "padding_left_top"; }
- rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
- align: 0.5 0.5;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- visible: 0;
- rel1 { relative: 1.0 1.0; to_x: "padding_icon_text"; to_y: "padding_left_top"; }
- rel2 { relative: 0.0 0.0; to: "padding_right_bottom"; }
- align: 0.5 0.5;
- color: BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC;
- text {
- style: "btn_multiline_style";
- min: 0 0;
- max: 0 1;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 80 0;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 0 0 0 128;
- }
- description { state: "disabled_visible" 0.0;
- inherit: "default" 0.0;
- color: BUTTON_NAVIBAR_FUNCTION_BUTTON_TEXT_DISABLED_COLOR_INC;
- visible: 1;
- min: 80 0;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- min: 0 0;
- color: BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC;
- }
- }
- part { name: "over2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "over3";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "disabler";
- type: RECT;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- }
- programs {
- program { name: "button_click";
- signal: "mouse,down,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,press" "";
- after: "button_click_anim";
- }
- program { name: "button_click_anim";
- action: STATE_SET "clicked" 0.0;
- target: "button_image";
- after: "text_clicked";
- }
- program { name: "text_clicked";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"elm.text", "clicked", 0.0);
- }
- }
- program { name: "button_unpress";
- action: SIGNAL_EMIT "elm,action,unpress" "";
- }
- program { name: "button_mouseout_clicked";
- signal: "mouse,up,1";
- source: "over3";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (strcmp(st, "icononly"))
- {
- emit("elm,action,default,text,set", "");
- set_state(PART:"elm.text", "visible", 0.0);
- }
- if(get_int(button_state) != BUTTON_STATE_DISABLED)
- set_state(PART:"button_image", "default", 0.0);
- }
- after: button_unpress;
- }
- program { name: "button_unclick3";
- signal: "mouse,clicked,1";
- source: "over2";
- action: SIGNAL_EMIT "elm,action,click" "";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"padding_icon_text", "visible", 0.0);
- }
- if(get_int(button_state) != BUTTON_STATE_DISABLED)
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"padding_icon_text", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- set_state(PART:"padding_icon_text", "visible", 0.0);
- }
- else
- {
- set_state(PART:"elm.swallow.content", "icononly", 0.0);
- set_state(PART:"padding_icon_text", "icononly", 0.0);
- }
- }
- }
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- target: "padding_icon_text";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "button_image";
- target: "disabler";
- after: "disable_text";
- }
- program { name: "disable_text";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
- set_int(button_state, BUTTON_STATE_DISABLED);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- target: "disabler";
- after: "enable_text";
- }
- program { name: "enable_text";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
- set_int(button_state, BUTTON_STATE_ENABLED);
- }
- }
- program { name: "focused";
- //signal: "elm,action,focus";
- //source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "button_image";
- target: "elm.text";
- }
- program { name: "unfocused";
- //signal: "elm,action,unfocus";
- //source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button_image";
- after: "unfocus_text";
- }
- program { name: "unfocus_text";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- }
- }
-
-}
diff --git a/main/layout/ivug-details.edc b/main/layout/ivug-details.edc
index 4c38245..fbba4d7 100755
--- a/main/layout/ivug-details.edc
+++ b/main/layout/ivug-details.edc
@@ -1,18 +1,18 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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.
+ */
/*
@@ -25,6 +25,9 @@
#define BTN_THUMB_PLAY_W_INC 64
#define BTN_THUMB_PLAY_H_INC 64
+#define CONTROLBAR_LARGE_HEIGHT_INC 122
+#define CONTROLBAR_LARGE_LANDSCAPE_H 108
+
#define BTN_THUMB_PLAY "T01_btn_thumbnail_play.png"
collections {
@@ -50,7 +53,7 @@ collections {
}
part {
- name: "detailsview.genlist";
+ name: "details_view.genlist";
type: SWALLOW;
repeat_events : 0;
mouse_events : 1;
@@ -60,11 +63,8 @@ collections {
visible: 1;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 1.0; }
-// rel2 { relative: 1.0 0.0; to_y: "detailsview.ctrlbar";}
-// rel2 { relative: 0.0 0.0; to_x: "detailsview.thumb"; to_y: "detailsview.ctrlbar";}
}
}
-
}
} // end of group
} // end of collections
diff --git a/main/layout/ivug-effect.edc b/main/layout/ivug-effect.edc
index 519f1da..7a19e6a 100755
--- a/main/layout/ivug-effect.edc
+++ b/main/layout/ivug-effect.edc
@@ -1,19 +1,18 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
-
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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.
+ */
collections {
group {
diff --git a/main/layout/ivug-icons.edc b/main/layout/ivug-icons.edc
index 95fff2d..38b1169 100755
--- a/main/layout/ivug-icons.edc
+++ b/main/layout/ivug-icons.edc
@@ -1,19 +1,18 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
-
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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 DEFINE_ICON(_name, _fname) \
images { image: _fname COMP; } \
@@ -46,15 +45,18 @@ collections { group { name: _name; \
#define BTN_PLAY_VIDEO "T01_btn_play.png"
+#define BTN_PAUSED_VIDEO "T01_btn_paused.png"
DEFINE_ICON("btn.video.play", BTN_PLAY_VIDEO)
+DEFINE_ICON("btn.video.paused", BTN_PAUSED_VIDEO)
#define HEADER_ICON_PATH "01_Header icon"
#define HEADER_ICON_DONE "01_header_icon_done.png"
#define HEADER_ICON_CANCEL "01_header_icon_cancel.png"
-#define HEADER_ICON_OTHERS "01_header_icon_others.png"
+#define HEADER_ICON_ADD "01_header_icon_add.png"
DEFINE_ICON("navi.icon.done", HEADER_ICON_PATH"/"HEADER_ICON_DONE)
DEFINE_ICON("navi.icon.cancel", HEADER_ICON_PATH"/"HEADER_ICON_CANCEL)
-DEFINE_ICON("navi.icon.others", HEADER_ICON_PATH"/"HEADER_ICON_OTHERS)
+DEFINE_ICON("navi.icon.add", HEADER_ICON_PATH"/"HEADER_ICON_ADD)
+
diff --git a/main/layout/ivug-main.edc b/main/layout/ivug-main.edc
index 1b8e803..76264ea 100755
--- a/main/layout/ivug-main.edc
+++ b/main/layout/ivug-main.edc
@@ -1,27 +1,26 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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.
+ */
// main view
-#define LAYOUT_INDICATOR_HEIGHT_INC 50
-#define LAYOUT_INDICATOR_COLOR 92 92 92 255 // Same as Naviframe
+#include "ivug-theme.edc"
#define NAVI_VIEW_HEIGHT 120
-#define CTRL_VIEW_HEIGHT 95
+#define CTRL_VIEW_HEIGHT 114
collections {
group {
@@ -72,7 +71,7 @@ group {
state: "default" 0.0;
align: 0.5 0.0;
visible: 1;
- rel1 { relative: 0.0 0.0;}
+ rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 1.0;}
}
@@ -83,14 +82,27 @@ group {
}
}
+ part { name: "mainview.area";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 0;
+ repeat_events : 1;
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ visible: 1;
+ rel1 { relative: 0.0 0.0; offset: 0 LAYOUT_INDICATOR_HEIGHT_INC;}
+ rel2 { relative: 1.0 1.0;}
+ }
+ }
}
programs {
program {
- name: "main_view_click";
- signal: "mouse,down,1";
- source: "mainview";
- action: SIGNAL_EMIT "elm,action,press" "";
+ name: "main_view_click";
+ signal: "mouse,down,1";
+ source: "mainview";
+ action: SIGNAL_EMIT "elm,action,press" "";
}
program {
name: "hide_menu";
@@ -111,21 +123,18 @@ group {
after: "show_end";
}
program {
- name: "show_end";
- action: SIGNAL_EMIT "menu,show,finished" "edc";
+ name: "show_end";
+ action: SIGNAL_EMIT "menu,show,finished" "edc";
}
program {
- name: "hide_end";
- action: SIGNAL_EMIT "menu,hide,finished" "edc";
+ name: "hide_end";
+ action: SIGNAL_EMIT "menu,hide,finished" "edc";
}
}
}
-#define EMPTY_VIEW_HEIGHT (720-LAYOUT_INDICATOR_HEIGHT_INC-NAVI_VIEW_HEIGHT-CTRL_VIEW_HEIGHT)
-//#define EMPTY_VIEW_HEIGHT 1000
-
group {
name: "navi_content";
parts {
@@ -133,7 +142,8 @@ group {
name: "base";
type: RECT;
scale: 1;
- repeat_events: 1;
+ mouse_events: 1;
+ repeat_events: 0;
description {
state: "default" 0.0;
@@ -142,7 +152,6 @@ group {
color: 0 0 0 0;
}
}
-
part { name: "mainview.slider";
type: SWALLOW;
mouse_events: 1;
@@ -153,7 +162,46 @@ group {
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 1.0; }
}
- }
+ }
+
+ part {
+ name: "controlbar_area";
+ type: RECT;
+ scale : 1;
+ mouse_events:0;
+ description {
+ state: "default" 0.0;
+ min : 0 114;
+ fixed : 0 1;
+ rel1{ relative : 0.0 1.0; }
+ rel2{ relative : 1.0 1.0; }
+ align: 0.5 1.0;
+ color: 0 0 0 0;
+ visible : 1;
+ }
+ }
+
+ part {
+ name: "zoom_slider_area";
+ type: SWALLOW;
+ scale : 1;
+ mouse_events:1;
+ description {
+ state: "default" 0.0;
+ visible : 1;
+ min : 375 100;
+ fixed : 0 1;
+ color: 255 0 0 255;
+ rel1{ relative : 0.5 0.0; to_y:"controlbar_area";}
+ rel2{ relative : 0.5 0.0; to_y:"controlbar_area";}
+ align: 0.5 1.0;
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
#define ICON_ZOOM_GAP 50
@@ -180,19 +228,23 @@ group {
type: IMAGE;
scale: 1;
- mouse_events: 1;
+ mouse_events: 0;
description {
visible: 1;
fixed: 1 1;
min: 56 56;
state: "default" 0.0;
- align: 0.5 0.0;
- /*rel1 { relative: (238/720) ((EMPTY_VIEW_HEIGHT-50-56)/EMPTY_VIEW_HEIGHT);}
- rel2 { relative: (238/720) ((EMPTY_VIEW_HEIGHT-50-56)/EMPTY_VIEW_HEIGHT);}*/
- rel1 { relative: ((238+28)/720) 1.0;
- offset: 0.0 -56-CTRL_VIEW_HEIGHT;}
+ align: 1.0 0.0;
+ /*rel1 { relative: ((238+28)/720) 1.0;
+ offset: 0.0 -56-CTRL_VIEW_HEIGHT-10;}
rel2 { relative: ((238+28)/720) 1.0;
- offset: 0.0 -56-CTRL_VIEW_HEIGHT;}
+ offset: 0.0 -56-CTRL_VIEW_HEIGHT-10;}*/
+ rel1 { relative: 0.0 1.0;
+ to_x: "zoom_slider_area";
+ offset: 0.0 -56-CTRL_VIEW_HEIGHT-20;}
+ rel2 { relative: 0.0 1.0;
+ to_x: "zoom_slider_area";
+ offset: 0.0 -56-CTRL_VIEW_HEIGHT-20;}
image.normal: ICON_ZOOM_OUT;
}
@@ -243,19 +295,23 @@ group {
type: IMAGE;
scale: 1;
- mouse_events: 1;
+ mouse_events: 0;
description {
visible: 1;
fixed: 1 1;
min: 56 56;
state: "default" 0.0;
- align: 0.5 0.0;
- /*rel1 { relative: ((238+56+132)/720) ((EMPTY_VIEW_HEIGHT-50-56)/EMPTY_VIEW_HEIGHT);}
- rel2 { relative: ((238+56+132)/720) ((EMPTY_VIEW_HEIGHT-50-56)/EMPTY_VIEW_HEIGHT);}*/
- rel1 { relative: ((720-238-28)/720) 1.0;
- offset: 0.0 -56-CTRL_VIEW_HEIGHT;}
+ align: 0.0 0.0;
+ /*rel1 { relative: ((720-238-28)/720) 1.0;
+ offset: 0.0 -56-CTRL_VIEW_HEIGHT-10;}
rel2 { relative: ((720-238-28)/720) 1.0;
- offset: 0.0 -56-CTRL_VIEW_HEIGHT;}
+ offset: 0.0 -56-CTRL_VIEW_HEIGHT-10;}*/
+ rel1 { relative: 1.0 1.0;
+ to_x: "zoom_slider_area";
+ offset: 0.0 -56-CTRL_VIEW_HEIGHT-20;}
+ rel2 { relative: 1.0 1.0;
+ to_x: "zoom_slider_area";
+ offset: 0.0 -56-CTRL_VIEW_HEIGHT-20;}
image.normal: ICON_ZOOM_IN;
}
@@ -350,7 +406,21 @@ group {
}
- programs {
+ programs {
+ program {
+ name: "hide_zoom_slider";
+ signal: "elm,state,zoom_slider,hide";
+ source: "elm";
+ action: STATE_SET "hide" 0.0;
+ target: "zoom_slider_area";
+ }
+ program {
+ name: "show_zoom_slider";
+ signal: "elm,state,zoom_slider,show";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "zoom_slider_area";
+ }
program {
name: "hide_btn_zoom_out";
signal: "elm,state,btn_zoom_out,hide";
@@ -455,7 +525,7 @@ group {
target: "mainview.btn_zoom_in";
}
}
-
}
+
}
diff --git a/main/layout/ivug-naviframe.edc b/main/layout/ivug-naviframe.edc
index d2d0368..0aa6895 100755
--- a/main/layout/ivug-naviframe.edc
+++ b/main/layout/ivug-naviframe.edc
@@ -1,66 +1,26 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
-
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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.
+ */
/*
* Refer to themes/groups/naviframe.edc
*/
-#define NAVIFRAME_VIEW_TRANS_TIME 0.3
-#define NAVIFRAME_TEXT_PADDING_INC 144
-#define NAVIFRAME_TEXT_PADDING_MORE_BUTTON_INC 278
-#define NAVIFRAME_TEXT_PADDING_ICON_VISIBLE_INC 186
-
-#define NAVIFRAME_TITLE_H_INC 100
-#define NAVIFRAME_OH_CLOSED_H_INC 8
-#define NAVIFRAME_OH_OPENED_H_INC 106
-#define NAVIFRAME_OH_CONTENT_H_INC 74
-#define NAVIFRAME_OH_PADDING_INC 16
-#define NAVIFRAME_OH_OPENED_DOUBLE_H_INC 196
-#define NAVIFRAME_OH_SHADOW_H_INC 0
-#define NAVIFRAME_INDICATOR_W_INC 128
-#define NAVIFRAME_PADDING_EXPANDED_INC 141
-#define NAVIFRAME_TITLE_FONT_SIZE_INC 36
-#define NAVIFRAME_ICON_SIZE_INC 32 32
-#define NAVIFRAME_ICON_PADDING_INC 16 0
-#define NAVIFRAME_OH_ARROW_SIZE_INC 19 12
-#define NAVIFRAME_TITLE_TEXT_COLOR_INC 235 236 237 255
-#define NAVIFRAME_TITLE_BG_COLOR_INC 92 92 92 255
-#define NAVIFRAME_TITLE_LEFT_SEPARATOR_COLOR_INC 3 3 3 255
-#define NAVIFRAME_TITLE_RIGHT_SEPARATOR_COLOR_INC 52 52 52 255
-#define NAVIFRAME_OH_BORDER_INC 0 0 4 0
+#include "ivug-theme.edc"
-#define NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 10
-#define NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 10
-#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 124 80
-#define NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 144
-#define NAVIFRAME_NO_BUTTON_ICON_PADDING_INC 52
-#define NAVIFRAME_CONTROLBAR_BG_COLOR_INC 0 0 0 255
-#define CONTROLBAR_LARGE_HEIGHT_INC 95//122
-#define CONTROLBAR_SMALL_HEIGHT_INC CONTROLBAR_LARGE_HEIGHT_INC//102
-#define NAVIFRAME_PREV_BTN_W_INC 124
-#define NAVIFRAME_CONTROLBAR_PADDING_INC 5
-#define NAVIFRAME_SEGMENT_TITLE_H_INC 136
-
-#define NAVIFRAME_TITLE_SEGMENT_FONT_SIZE_INC 28
-#define NAVIFRAME_TITLE_SEGMENT_TEXT_H_INC 50
-#define NAVIFRAME_TITLE_SEGMENT_H_INC 74
-
-#define LAYOUT_INDICATOR_HEIGHT_INC 50
-#define LAYOUT_INDICATOR_COLOR 0 0 0 0 //92 92 92 255 // Same as Naviframe
+#define NAVIFRAME_VIEW_TRANS_TIME 0.3
///////////////////////////////////////////////////////////////////////////
// Naviframe
@@ -76,11 +36,14 @@ collections {
}
}
}
- group { name:"elm/naviframe/item/basic/ivug/default";
- alias:"elm/naviframe/item/1line/ivug/default";
+ group { name:"elm/naviframe/item/basic/ivug-main/default";
+ alias:"elm/naviframe/item/1line/ivug-main/default";
images {
- image: "T01_control_top_bg.png" COMP;
- image: "T01_control_top_arrow.png" COMP;
+ image: "00_winset_control_top_bg.png" COMP;
+ image: "00_winset_control_top_arrow.png" COMP;
+ image: "00_winset_title_line.png" COMP;
+ image: "00_winset_control_toolbar_bg.png" COMP;
+ image: "00_winset_title_bg.png" COMP;
}
script {
public oh_show = 0; //optionheader show/hide
@@ -91,31 +54,9 @@ collections {
public right_btn_visible = 0; //whether right btn is shown
public more_btn_visible = 0; //whether more btn is shown
public large_padded_center_align = 0; //large padding based on button size for center align for 1/2 buttons.
+ public subtitle_visible = 0; //whether subtitle is shown
}
parts {
- part {
- name: "indicator";
- type: RECT;
- scale: 1;
- repeat_events : 0;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
- fixed: 0 1;
- align: 0.5 0.0;
- color: LAYOUT_INDICATOR_COLOR;
- visible: 1;
- }
-
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
-
part { name: "base";
type: RECT;
mouse_events: 0;
@@ -160,7 +101,7 @@ collections {
}
}
- part { name: "elm.swallow.detail";
+ part { name: "elm.swallow.detail"; // Detail view.
type: SWALLOW;
scale: 1;
repeat_events: 0;
@@ -177,8 +118,31 @@ collections {
}
}
+ part {
+ name: "indicator";
+ type: RECT;
+ scale: 1;
+ repeat_events : 0;
+ clip_to: "content_clip";
+ description {
+ state: "default" 0.0;
+ min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
+// max: 0 LAYOUT_INDICATOR_HEIGHT_INC;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ fixed: 0 1;
+ align: 0.5 0.0;
+ color: LAYOUT_INDICATOR_COLOR_INC;
+ visible: 1;
+ }
+
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
part { name: "title_bg";
- type: RECT;
scale: 1;
description { state: "default" 0.0;
min: 1 NAVIFRAME_TITLE_H_INC;
@@ -186,7 +150,7 @@ collections {
fixed: 0 1;
rel1 { relative: 0.0 0.0; to: "base"; }
rel2 { relative: 1.0 0.0; to: "base"; }
- color: NAVIFRAME_TITLE_BG_COLOR_INC;
+ image.normal: "00_winset_title_bg.png";
}
description { state: "hide" 0.0;
inherit: "default" 0.0;
@@ -214,7 +178,7 @@ collections {
rel1.relative: 0 1;
rel2.to: "title_bg";
visible: 0;
- image { normal: "T01_control_top_bg.png";
+ image { normal: "00_winset_control_top_bg.png";
border: NAVIFRAME_OH_BORDER_INC;
}
}
@@ -259,7 +223,7 @@ collections {
min: 0 NAVIFRAME_OH_CONTENT_H_INC;
rel1 { relative: 0.0 1.0; to: "optionheader_top_padding"; }
rel2 { relative: 1.0 1.0; to: "optionheader_top_padding"; }
- fixed: 0 1;
+ fixed: 1 1;
align: 0.0 0.0;
}
}
@@ -276,76 +240,1002 @@ collections {
visible: 0;
}
}
- part { name: "padding_before_left_btn";
+ part { name: "optionheader_shadow";
type: RECT;
- mouse_events: 0;
+ scale: 1;
+ clip_to: "optionheader_clip";
+ description { state: "default" 0.0;
+ min: 0 NAVIFRAME_OH_SHADOW_INC;
+ rel1 { relative: 0.0 1.0; to: "optionheader_bottom_padding"; }
+ rel2 { relative: 1.0 1.0; to: "optionheader_bottom_padding"; }
+ fixed: 0 1;
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "left_btn_separator";
+ type: IMAGE;
scale: 1;
clip_to: "title_clip";
description { state: "default" 0.0;
- min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 { relative: 0.0 0.0; to: "title_bg"; }
- rel2 { relative: 0.0 1.0; to: "title_bg"; }
+ min: 2 48;
+ max: 2 48;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1 { relative: 0.0 0.0; to: "title_left_btn"; }
+ rel2 { relative: 0.0 1.0; to: "title_left_btn"; }
+ image.normal: "00_winset_title_line.png";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "right_btn_separator";
+ type: IMAGE;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ min: 2 48;
+ max: 2 48;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1 { relative: 0.0 0.0; to: "title_right_btn"; }
+ rel2 { relative: 0.0 1.0; to: "title_right_btn"; }
+ image.normal: "00_winset_title_line.png";
visible: 0;
}
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
}
- part { name: "padding_after_left_btn";
+ part { name: "padding_before_text";
type: RECT;
scale: 1;
+ mouse_events: 0;
clip_to: "title_clip";
description { state: "default" 0.0;
- min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "title_bg"; }
+ rel2 { relative: 0.0 1.0; to: "title_bg"; }
fixed: 1 0;
- align: 0 0.5;
- rel1 { relative: 1.0 0.0; to: "title_left_btn"; }
- rel2 { relative: 1.0 1.0; to: "title_left_btn"; }
+ min: NAVIFRAME_ICON_PADDING_INC;
visible: 0;
}
}
- part { name: "padding_before_more_btn";
+ part { name: "padding_center_text1";
type: RECT;
scale: 1;
+ mouse_events: 0;
clip_to: "title_clip";
description { state: "default" 0.0;
- min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0;
+ min: 0 0;
fixed: 1 0;
- align: 1.0 0.5;
- rel1 { relative: 0.0 0.0; to: "title_more_btn"; }
- rel2 { relative: 0.0 1.0; to: "title_more_btn"; }
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "padding_before_text"; }
+ rel2 { relative: 1.0 1.0; to: "padding_before_text"; }
visible: 0;
}
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ description { state: "icon" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_NO_BUTTON_ICON_PADDING_INC 0;
+ }
+ description { state: "icon_left_button" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_TEXT_PADDING_ICON_VISIBLE_INC 0;
+ }
}
- part { name: "padding_after_right_btn";
+ part { name: "padding_center_text2";
type: RECT;
mouse_events: 0;
scale: 1;
clip_to: "title_clip";
description { state: "default" 0.0;
- min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0;
+ min: 0 0;
fixed: 1 0;
align: 1.0 0.5;
rel1 { relative: 1.0 0.0; to: "title_bg"; }
rel2 { relative: 1.0 1.0; to: "title_bg"; }
visible: 0;
}
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_TEXT_PADDING_INC 0;
}
- part { name: "padding_before_right_btn";
+ }
+ part { name: "elm.text.title";
+ type: TEXT;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ text { font: "SLP:style=Medium";
+ size: NAVIFRAME_TITLE_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ align: 0.5 0.5;
+ text_class: "slp_medium";
+ }
+ color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
+ align: 0.0 0.5;
+ fixed: 1 0;
+ rel1 { relative: 1.0 0.0; to_x: "padding_center_text1"; to_y: "title_bg"; }
+ rel2 { relative: 0.0 1.0; to_x: "padding_center_text2"; to_y: "title_bg"; }
+ }
+ description { state: "right_and_more_button" 0.0;
+ inherit: "default" 0.0;
+ rel2 { relative: 0.0 1.0; to_x: "title_more_btn"; to_y: "title_bg"; }
+ }
+ description { state: "subtitle_is_set" 0.0;
+ inherit: "default" 0.0;
+ rel2 { relative: 0.0 0.7; to_x: "padding_center_text2"; to_y: "title_bg"; }
+ }
+ description { state: "subtitle_right_more_button_is_set" 0.0;
+ inherit: "default" 0.0;
+ rel2 { relative: 0.0 0.7; to_x: "title_more_btn"; to_y: "title_bg"; }
+ }
+ }
+ part { name: "elm.text.subtitle";
+ type: TEXT;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ text { font: "SLP:style=Medium";
+ size: NAVIFRAME_SUBTITLE_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ align: 0.5 0.5;
+ text_class: "slp_medium";
+ }
+ color: NAVIFRAME_SUBTITLE_TEXT_COLOR_INC;
+ align: 0.0 0.5;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_center_text1";
+ to_y: "elm.text.title";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "padding_center_text2";
+ to_y: "elm.text.title";
+ }
+ }
+ description { state: "right_and_more_button" 0.0;
+ inherit: "default" 0.0;
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "title_more_btn";
+ to_y: "elm.text.title";
+ }
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_ICON_SIZE_INC;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0; to: "padding_center_text1"; }
+ rel2 { relative: 0.0 1.0; to: "padding_center_text1"; }
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "click_event_area";
+ ignore_flags: ON_HOLD;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1 { to: "title_bg"; }
+ rel2 { to: "title_bg"; }
+ }
+ }
+ part { name: "title_left_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 { relative: 0.0 0.0; to: "title_right_btn"; }
+ rel2 { relative: 0.0 1.0; to: "title_right_btn"; }
+ }
+ }
+ part { name: "title_right_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
+ align: 1 0.5;
+ fixed: 1 1;
+ rel1 { relative: 1.0 0.0; to: "title_bg"; }
+ rel2 { relative: 1.0 1.0; to: "title_bg"; }
+ }
+ }
+ part { name: "title_more_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 { relative: 0.0 0.0; to: "title_left_btn"; }
+ rel2 { relative: 0.0 1.0; to: "title_left_btn"; }
+ }
+ }
+ part { name: "optionheader_arrow";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_OH_ARROW_SIZE_INC;
+ max: NAVIFRAME_OH_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 1.1; to: "title_more_btn"; }
+ rel2 { relative: 1.0 1.2; to: "title_more_btn"; }
+ //image.normal: "00_winset_control_top_arrow.png";
+ color: 255 255 255 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "controlbar_bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 999999 0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ visible: 0;
+ rel1 { to: "base"; }
+ rel2 { to: "base"; }
+ image.normal: "00_winset_control_toolbar_bg.png";
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 CONTROLBAR_SMALL_HEIGHT_INC;
+ max: 999999 CONTROLBAR_SMALL_HEIGHT_INC;
+ visible: 1;
+ }
+ }
+ part { name: "controlbar_clip";
type: RECT;
mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "controlbar_bg";
+ rel2.to: "controlbar_bg";
+ }
+ }
+ part { name: "elm.prev_btn_bg";
+ type: RECT;
scale: 1;
- clip_to: "title_clip";
+ clip_to: "controlbar_clip";
description { state: "default" 0.0;
min: 0 0;
fixed: 1 0;
+ align: 1.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "controlbar_bg"; }
+ rel2.to: "controlbar_bg";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 0;
+ }
+ }
+ part { name: "elm.swallow.prev_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "controlbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "elm.prev_btn_bg";
+ rel2.to: "elm.prev_btn_bg";
+ }
+ }
+ part { name: "controlbar";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "controlbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "controlbar_bg";
+ rel2 { relative: 0.0 1.0; to: "elm.prev_btn_bg"; }
+ }
+ }
+ }
+ programs {
+ program { name: "content_new_pushed";
+ signal: "elm,state,new,pushed,internal";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "show_finished";
+ }
+ program { name: "content_cur_pushed";
+ signal: "elm,state,cur,pushed,internal";
+ source: "";
+ action: STATE_SET "left" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "pushed_finished";
+ }
+ program { name: "content_prev_popped";
+ signal: "elm,state,prev,popped,internal";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "show_finished";
+ }
+ program { name: "content_cur_popped";
+ signal: "elm,state,cur,popped,internal";
+ source: "";
+ action: STATE_SET "right" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "popped_finished";
+ }
+ program { name: "cur_pushed";
+ signal: "elm,state,cur,pushed";
+ source: "elm";
+ script {
+ set_state(PART:"base", "default", 0.0);
+ emit("elm,state,cur,pushed,internal", "");
+ }
+ }
+ program { name: "new_pushed";
+ signal: "elm,state,new,pushed";
+ source: "elm";
+ script {
+ set_state(PART:"base", "right", 0.0);
+ emit("elm,state,new,pushed,internal", "");
+ }
+ }
+ program { name: "prev_popped";
+ signal: "elm,state,prev,popped";
+ source: "elm";
+ script {
+ set_state(PART:"base", "left", 0.0);
+ emit("elm,state,prev,popped,internal", "");
+ }
+ }
+ program { name: "cur_popped";
+ signal: "elm,state,cur,popped";
+ source: "elm";
+ script {
+ set_state(PART:"base", "default", 0.0);
+ emit("elm,state,cur,popped,internal", "");
+ }
+ }
+ program { name: "visible";
+ signal: "elm,state,visible";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "title_show";
+ signal: "elm,state,title,show";
+ source: "elm";
+ script {
+ set_state(PART:"indicator", "default", 0.0);
+ set_state(PART:"title_bg", "default", 0.0);
+ if (get_int(oh_show) == 1) {
+ if (get_int(oh_close) == 1) {
+ emit("elm,state,optionheader,instant_close", "");
+ }else {
+ emit("elm,state,optionheader,instant_open", "");
+ }
+ }
+ else
+ set_state(PART:"optionheader_bg", "default", 0.0);
+ }
+ }
+ program { name: "title_hide";
+ signal: "elm,state,title,hide";
+ source: "elm";
+ action: STATE_SET "hide" 0.0;
+ target: "title_bg";
+ target: "optionheader_bg";
+ target: "indicator";
+ }
+ program { name: "prev_btn_show";
+ signal: "elm,state,prev_btn,show";
+ source: "elm";
+ script {
+ emit("elm,state,controlbar_bg,show", "elm");
+ set_state(PART:"elm.prev_btn_bg", "visible", 0.0);
+ }
+ }
+ program { name: "prev_btn_hide";
+ signal: "elm,state,prev_btn,hide";
+ source: "elm";
+ script {
+ emit("elm,state,controlbar_bg,hide", "elm");
+ set_state(PART:"elm.prev_btn_bg", "default", 0.0);
+ }
+ }
+ program { name: "subtitle_show";
+ signal: "elm,state,subtitle,show";
+ source: "elm";
+ script {
+ set_int(subtitle_visible, 1);
+ if (get_int(large_padded_center_align) == 0)
+ set_state(PART:"elm.text.title", "subtitle_right_more_button_is_set", 0.0);
+ else
+ set_state(PART:"elm.text.title", "subtitle_is_set", 0.0);
+ }
+ }
+ program { name: "subtitle_hide";
+ signal: "elm,state,subtitle,hide";
+ source: "elm";
+ script {
+ set_int(subtitle_visible, 0);
+ if (get_int(large_padded_center_align) == 0)
+ set_state(PART:"elm.text.title", "right_and_more_button", 0.0);
+ else
+ set_state(PART:"elm.text.title", "default", 0.0);
+ }
+ }
+ program { name: "left_btn_show";
+ signal: "elm,state,title_left_btn,show";
+ source: "elm";
+ script {
+ set_int(left_btn_visible, 1);
+ set_state(PART:"left_btn_separator", "visible", 0.0);
+ if (get_int(icon_visible) == 1)
+ set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "visible", 0.0);
+ if ((get_int(more_btn_visible) == 1) && (get_int(right_btn_visible) == 1)) {
+ if (get_int(subtitle_visible) == 1)
+ set_state(PART:"elm.text.title", "subtitle_right_more_button_is_set", 0.0);
+ else
+ set_state(PART:"elm.text.title", "right_and_more_button", 0.0);
+ set_state(PART:"elm.text.subtitle", "right_and_more_button", 0.0);
+ set_int(large_padded_center_align, 0);
+ }
+ else {
+ set_state(PART:"padding_center_text2", "visible", 0.0);
+ set_int(large_padded_center_align, 1);
+ }
+ }
+ }
+ program { name: "left_btn_hide";
+ signal: "elm,state,title_left_btn,hide";
+ source: "elm";
+ script {
+ set_int(left_btn_visible, 0);
+ set_state(PART:"left_btn_separator", "default", 0.0);
+ if ((get_int(more_btn_visible) == 0) && (get_int(right_btn_visible) == 0)) {
+ set_state(PART:"padding_center_text2", "default", 0.0);
+ set_int(large_padded_center_align, 0);
+ }
+ else {
+ set_state(PART:"padding_center_text2", "visible", 0.0);
+ set_int(large_padded_center_align, 1);
+ }
+ if ((get_int(large_padded_center_align) == 1) && (get_int(icon_visible) == 1))
+ set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
+ else if (get_int(large_padded_center_align) == 1)
+ set_state(PART:"padding_center_text1", "visible", 0.0);
+ else if (get_int(icon_visible) == 1)
+ set_state(PART:"padding_center_text1", "icon", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "default", 0.0);
+ }
+ }
+ program { name: "right_btn_show";
+ signal: "elm,state,title_right_btn,show";
+ source: "elm";
+ script {
+ set_int(right_btn_visible, 1);
+ set_state(PART:"right_btn_separator", "visible", 0.0);
+ if (get_int(more_btn_visible) == 1) {
+ if (get_int(subtitle_visible) == 1)
+ set_state(PART:"elm.text.title", "subtitle_right_more_button_is_set", 0.0);
+ else
+ set_state(PART:"elm.text.title", "right_and_more_button", 0.0);
+ set_state(PART:"elm.text.subtitle", "right_and_more_button", 0.0);
+ set_int(large_padded_center_align, 0);
+ }
+ else {
+ set_state(PART:"padding_center_text2", "visible", 0.0);
+ set_int(large_padded_center_align, 1);
+ }
+ if ((get_int(icon_visible) == 1) && ((get_int(left_btn_visible) == 1) ||
+ (get_int(large_padded_center_align) == 1)))
+ set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
+ else if ((get_int(left_btn_visible) == 1) || (get_int(large_padded_center_align) == 1))
+ set_state(PART:"padding_center_text1", "visible", 0.0);
+ else if (get_int(icon_visible) == 1)
+ set_state(PART:"padding_center_text1", "icon", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "default", 0.0);
+ }
+ }
+ program { name: "right_btn_hide";
+ signal: "elm,state,title_right_btn,hide";
+ source: "elm";
+ script {
+ set_int(right_btn_visible, 0);
+ set_state(PART:"right_btn_separator", "default", 0.0);
+ if ((get_int(more_btn_visible) == 0) && (get_int(left_btn_visible) == 0)) {
+ set_state(PART:"padding_center_text2", "default", 0.0);
+ set_int(large_padded_center_align, 0);
+ }
+ else {
+ set_state(PART:"padding_center_text2", "visible", 0.0);
+ set_int(large_padded_center_align, 1);
+ }
+ if ((get_int(large_padded_center_align) == 1) && (get_int(icon_visible) == 1))
+ set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
+ else if (get_int(large_padded_center_align) == 1)
+ set_state(PART:"padding_center_text1", "visible", 0.0);
+ else if (get_int(icon_visible) == 1)
+ set_state(PART:"padding_center_text1", "icon", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "default", 0.0);
+ }
+ }
+ program { name: "more_btn_show";
+ signal: "elm,state,title_more_btn,show";
+ source: "elm";
+ script {
+ set_int(more_btn_visible, 1);
+ if (get_int(right_btn_visible) == 1) {
+ if (get_int(subtitle_visible) == 1)
+ set_state(PART:"elm.text.title", "subtitle_right_more_button_is_set", 0.0);
+ else
+ set_state(PART:"elm.text.title", "right_and_more_button", 0.0);
+ set_state(PART:"elm.text.subtitle", "right_and_more_button", 0.0);
+ set_int(large_padded_center_align, 0);
+ }
+ else {
+ set_state(PART:"padding_center_text2", "visible", 0.0);
+ set_int(large_padded_center_align, 1);
+ }
+ if ((get_int(icon_visible) == 1) && ((get_int(left_btn_visible) == 1) ||
+ (get_int(large_padded_center_align) == 1)))
+ set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
+ else if ((get_int(left_btn_visible) == 1) || (get_int(large_padded_center_align) == 1))
+ set_state(PART:"padding_center_text1", "visible", 0.0);
+ else if (get_int(icon_visible) == 1)
+ set_state(PART:"padding_center_text1", "icon", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "default", 0.0);
+ }
+ }
+ program { name: "more_btn_hide";
+ signal: "elm,state,title_more_btn,hide";
+ source: "elm";
+ script {
+ set_int(more_btn_visible, 0);
+ if ((get_int(right_btn_visible) == 0) && (get_int(left_btn_visible) == 0)) {
+ set_state(PART:"padding_center_text2", "default", 0.0);
+ set_int(large_padded_center_align, 0);
+ }
+ else {
+ set_state(PART:"padding_center_text2", "visible", 0.0);
+ set_int(large_padded_center_align, 1);
+ }
+ if ((get_int(large_padded_center_align) == 1) && (get_int(icon_visible) == 1))
+ set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
+ else if (get_int(large_padded_center_align) == 1)
+ set_state(PART:"padding_center_text1", "visible", 0.0);
+ else if (get_int(icon_visible) == 1)
+ set_state(PART:"padding_center_text1", "icon", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,show";
+ source: "elm";
+ script {
+ set_int(icon_visible, 1);
+ if ((get_int(large_padded_center_align) == 1) || (get_int(left_btn_visible) == 1))
+ set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "icon", 0.0);
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hide";
+ source: "elm";
+ script {
+ set_int(icon_visible, 0);
+ if ((get_int(large_padded_center_align) == 1) || (get_int(left_btn_visible) == 1))
+ set_state(PART:"padding_center_text1", "visible", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "default", 0.0);
+ }
+ }
+ program { name: "controlbar_show";
+ signal: "elm,state,controlbar,show";
+ source: "elm";
+ script {
+ emit("elm,state,controlbar_bg,show", "elm");
+ }
+ }
+ program { name: "controlbar_hide";
+ signal: "elm,state,controlbar,hide";
+ source: "elm";
+ script {
+ emit("elm,state,controlbar_bg,hide", "elm");
+ }
+ }
+ program { name: "controlbar_bg_show";
+ signal: "elm,state,controlbar_bg,show";
+ source: "elm";
+ script {
+ set_state(PART:"controlbar_bg", "show", 0.0);
+ set_int(cbar_bg, get_int(cbar_bg) + 1);
+ }
+ }
+ program { name: "controlbar_bg_hide";
+ signal: "elm,state,controlbar_bg,hide";
+ source: "elm";
+ script {
+ set_int(cbar_bg, get_int(cbar_bg) - 1);
+ if (get_int(cbar_bg) <= 0)
+ set_state(PART:"controlbar_bg", "default", 0.0);
+ }
+ }
+ program { name: "optionheader_show";
+ signal: "elm,state,optionheader,show";
+ source: "elm";
+ script {
+ set_state(PART:"optionheader_bg", "show", 0.0);
+ set_state(PART:"optionheader_arrow", "show", 0.0);
+ set_int(oh_show, 1);
+ }
+ }
+ program { name: "optionheader_hide";
+ signal: "elm,state,optionheader,hide";
+ source: "elm";
+ script {
+ set_state(PART:"optionheader_bg", "default", 0.0);
+ set_state(PART:"optionheader_arrow", "default", 0.0);
+ set_int(oh_show, 0);
+ }
+ }
+ program { name: "optionheader_open";
+ signal: "elm,state,optionheader,open";
+ source: "";
+ action: STATE_SET "show" 0.0;
+ target: "optionheader_bg";
+ target: "optionheader_arrow";
+ transition: LINEAR 0.2;
+ after: "optionheader_open_set";
+ }
+ program { name: "optionheader_close";
+ signal: "elm,state,optionheader,close";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "optionheader_bg";
+ target: "optionheader_arrow";
+ transition: LINEAR 0.2;
+ after: "optionheader_close_set";
+ }
+ program { name: "optionheader_instant_open";
+ signal: "elm,state,optionheader,instant_open";
+ source: "";
+ action: STATE_SET "show" 0.0;
+ target: "optionheader_bg";
+ target: "optionheader_arrow";
+ after: "optionheader_open_set";
+ }
+ program { name: "optionheader_instant_close";
+ signal: "elm,state,optionheader,instant_close";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "optionheader_bg";
+ target: "optionheader_arrow";
+ after: "optionheader_close_set";
+ }
+ program { name: "optionheader_close_set";
+ signal: "elm,state,optionheader,close_set";
+ source: "";
+ script {
+ set_int(oh_close, 1);
+ }
+ }
+ program { name: "optionheader_open_set";
+ signal: "elm,state,optionheader,open_set";
+ source: "";
+ script {
+ set_int(oh_close, 0);
+ }
+ }
+ program { name: "controlbar_open";
+ signal: "elm,state,controlbar,open";
+ source: "";
+ action: STATE_SET "show" 0.0;
+ target: "controlbar_bg";
+ transition: LINEAR 0.2;
+ }
+ program { name: "controlbar_close";
+ signal: "elm,state,controlbar,close";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "controlbar_bg";
+ transition: LINEAR 0.2;
+ }
+ program { name: "controlbar_instant_open";
+ signal: "elm,state,controlbar,instant_open";
+ source: "";
+ script {
+ emit("elm,state,prev_btn,show", "elm");
+ emit("elm,state,controlbar,show", "elm");
+ }
+ }
+ program { name: "controlbar_instant_close";
+ signal: "elm,state,controlbar,instant_close";
+ source: "";
+ script {
+ emit("elm,state,prev_btn,hide", "elm");
+ emit("elm,state,controlbar,hide", "elm");
+ }
+ }
+ program { name: "show_finished";
+ action: SIGNAL_EMIT "elm,action,show,finished" "";
+ }
+ program { name: "pushed_finished";
+ action: SIGNAL_EMIT "elm,action,pushed,finished" "";
+ }
+ program { name: "popped_finished";
+ action: SIGNAL_EMIT "elm,action,popped,finished" "";
+ }
+ program {
+ name: "title_clicked";
+ signal: "mouse,clicked,1";
+ source: "click_event_area";
+ action: SIGNAL_EMIT "elm,action,title,clicked" "";
+ }
+ }
+ }
+
+ group { name:"elm/naviframe/item/basic/ivug-main/noindicator";
+ alias:"elm/naviframe/item/1line/ivug-main/noindicator";
+ images {
+ image: "00_winset_control_top_bg.png" COMP;
+ image: "00_winset_control_top_arrow.png" COMP;
+ image: "00_winset_title_line.png" COMP;
+ image: "00_winset_control_toolbar_bg.png" COMP;
+ image: "00_winset_title_bg.png" COMP;
+ }
+ script {
+ public oh_show = 0; //optionheader show/hide
+ public oh_close = 0; //optionheader close/open
+ public cbar_bg = 0; //Controlbar BG Show call count
+ public left_btn_visible = 0; //whether left btn is shown
+ public icon_visible = 0; //whether icon is shown
+ public right_btn_visible = 0; //whether right btn is shown
+ public more_btn_visible = 0; //whether more btn is shown
+ public large_padded_center_align = 0; //large padding based on button size for center align for 1/2 buttons.
+ public subtitle_visible = 0; //whether subtitle is shown
+ }
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ description { state: "left" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: -1.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ description { state: "right" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 2.0 1.0;
+ }
+ }
+
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ repeat_events: 0;
+ clip_to: "content_clip";
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ part { name: "content_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+
+ part { name: "elm.swallow.detail"; // Detail view.
+ type: SWALLOW;
+ scale: 1;
+ repeat_events: 0;
+ description { state: "default" 0.0;
+ color: 255 0 0 100;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.to_x: "base";
+ rel1.to_y: "optionheader_bg";
+ rel2.relative: 1.0 0.0;
+ rel2.to_x: "base";
+ rel2.to_y: "controlbar_bg";
+ visible: 1;
+ }
+ }
+
+ part { name: "title_bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 1 NAVIFRAME_TITLE_H_INC;
+ align: 0.0 0.0;
+ fixed: 0 1;
+ rel1 { relative: 0.0 0.0; to: "base"; }
+ rel2 { relative: 1.0 0.0; to: "base"; }
+ image.normal: "00_winset_title_bg.png";
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "title_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "title_bg"; }
+ rel2 { to: "title_bg"; }
+ }
+ }
+ part { name: "optionheader_bg";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 1 0;
+ align: 0.5 0;
+ fixed: 0 1;
+ rel1.to: "title_bg";
+ rel1.relative: 0 1;
+ rel2.to: "title_bg";
+ visible: 0;
+ image { normal: "00_winset_control_top_bg.png";
+ border: NAVIFRAME_OH_BORDER_INC;
+ }
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ min: 1 NAVIFRAME_OH_OPENED_H_INC;
+ visible: 1;
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "optionheader_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "optionheader_bg"; }
+ rel2 { to: "optionheader_bg"; }
+ }
+ }
+ part { name: "optionheader_top_padding";
+ type: RECT;
+ scale: 1;
+ clip_to: "optionheader_clip";
+ description { state: "default" 0.0;
+ min: 0 NAVIFRAME_OH_PADDING_INC;
+ rel1 { relative: 0.0 0.0; to: "optionheader_bg"; }
+ rel2 { relative: 1.0 0.0; to: "optionheader_bg"; }
+ fixed: 0 1;
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "optionheader";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "optionheader_clip";
+ description { state: "default" 0.0;
+ min: 0 NAVIFRAME_OH_CONTENT_H_INC;
+ rel1 { relative: 0.0 1.0; to: "optionheader_top_padding"; }
+ rel2 { relative: 1.0 1.0; to: "optionheader_top_padding"; }
+ fixed: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "optionheader_bottom_padding";
+ type: RECT;
+ scale: 1;
+ clip_to: "optionheader_clip";
+ description { state: "default" 0.0;
+ min: 0 NAVIFRAME_OH_PADDING_INC;
+ rel1 { relative: 0.0 1.0; to: "optionheader"; }
+ rel2 { relative: 1.0 1.0; to: "optionheader"; }
+ fixed: 0 1;
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "optionheader_shadow";
+ type: RECT;
+ scale: 1;
+ clip_to: "optionheader_clip";
+ description { state: "default" 0.0;
+ min: 0 NAVIFRAME_OH_SHADOW_INC;
+ rel1 { relative: 0.0 1.0; to: "optionheader_bottom_padding"; }
+ rel2 { relative: 1.0 1.0; to: "optionheader_bottom_padding"; }
+ fixed: 0 1;
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "left_btn_separator";
+ type: IMAGE;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ min: 2 48;
+ max: 2 48;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1 { relative: 0.0 0.0; to: "title_left_btn"; }
+ rel2 { relative: 0.0 1.0; to: "title_left_btn"; }
+ image.normal: "00_winset_title_line.png";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "right_btn_separator";
+ type: IMAGE;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ min: 2 48;
+ max: 2 48;
+ fixed: 1 1;
align: 1.0 0.5;
rel1 { relative: 0.0 0.0; to: "title_right_btn"; }
rel2 { relative: 0.0 1.0; to: "title_right_btn"; }
+ image.normal: "00_winset_title_line.png";
visible: 0;
}
- description { state: "right_and_more_button" 0.0;
+ description { state: "visible" 0.0;
inherit: "default" 0.0;
- min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0;
+ visible: 1;
}
}
part { name: "padding_before_text";
@@ -354,9 +1244,9 @@ collections {
mouse_events: 0;
clip_to: "title_clip";
description { state: "default" 0.0;
- align: 1.0 0.5;
- rel1 { relative: 0.0 0.0; to_x: "elm.text.title"; to_y: "title_bg"; }
- rel2 { relative: 0.0 1.0; to_x: "elm.text.title"; to_y: "title_bg"; }
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "title_bg"; }
+ rel2 { relative: 0.0 1.0; to: "title_bg"; }
fixed: 1 0;
min: NAVIFRAME_ICON_PADDING_INC;
visible: 0;
@@ -368,16 +1258,16 @@ collections {
mouse_events: 0;
clip_to: "title_clip";
description { state: "default" 0.0;
- min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0;
+ min: 0 0;
fixed: 1 0;
align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; to: "title_bg"; }
- rel2 { relative: 0.0 1.0; to: "title_bg"; }
+ rel1 { relative: 1.0 0.0; to: "padding_before_text"; }
+ rel2 { relative: 1.0 1.0; to: "padding_before_text"; }
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
- min: NAVIFRAME_TEXT_PADDING_INC 0;
+ min: 0 0;
}
description { state: "icon" 0.0;
inherit: "default" 0.0;
@@ -394,7 +1284,7 @@ collections {
scale: 1;
clip_to: "title_clip";
description { state: "default" 0.0;
- min: NAVIFRAME_TITLE_FUNC_BTN_PADDING_W_INC 0;
+ min: 0 0;
fixed: 1 0;
align: 1.0 0.5;
rel1 { relative: 1.0 0.0; to: "title_bg"; }
@@ -411,22 +1301,65 @@ collections {
scale: 1;
clip_to: "title_clip";
description { state: "default" 0.0;
- text { font: "HelveticaNeue:style=Medium";
+ text { font: "SLP:style=Medium";
size: NAVIFRAME_TITLE_FONT_SIZE_INC;
min: 0 0;
max: 1 0;
align: 0.5 0.5;
+ text_class: "slp_medium";
}
color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
- align: 0.5 0.5;
+ align: 0.0 0.5;
fixed: 1 0;
- rel1 { relative: 1.0 0.0; to: "padding_center_text1"; }
- rel2 { relative: 0.0 1.0; to: "padding_center_text2"; }
+ rel1 { relative: 1.0 0.0; to_x: "padding_center_text1"; to_y: "title_bg"; }
+ rel2 { relative: 0.0 1.0; to_x: "padding_center_text2"; to_y: "title_bg"; }
}
description { state: "right_and_more_button" 0.0;
inherit: "default" 0.0;
- rel1 { relative: 1.0 0.0; to: "padding_after_left_btn"; }
- rel2 { relative: 0.0 1.0; to: "padding_before_more_btn"; }
+ rel2 { relative: 0.0 1.0; to_x: "title_more_btn"; to_y: "title_bg"; }
+ }
+ description { state: "subtitle_is_set" 0.0;
+ inherit: "default" 0.0;
+ rel2 { relative: 0.0 0.7; to_x: "padding_center_text2"; to_y: "title_bg"; }
+ }
+ description { state: "subtitle_right_more_button_is_set" 0.0;
+ inherit: "default" 0.0;
+ rel2 { relative: 0.0 0.7; to_x: "title_more_btn"; to_y: "title_bg"; }
+ }
+ }
+ part { name: "elm.text.subtitle";
+ type: TEXT;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ text { font: "SLP:style=Medium";
+ size: NAVIFRAME_SUBTITLE_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ align: 0.5 0.5;
+ text_class: "slp_medium";
+ }
+ color: NAVIFRAME_SUBTITLE_TEXT_COLOR_INC;
+ align: 0.0 0.5;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_center_text1";
+ to_y: "elm.text.title";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "padding_center_text2";
+ to_y: "elm.text.title";
+ }
+ }
+ description { state: "right_and_more_button" 0.0;
+ inherit: "default" 0.0;
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "title_more_btn";
+ to_y: "elm.text.title";
+ }
}
}
part { name: "elm.swallow.icon";
@@ -436,11 +1369,11 @@ collections {
description { state: "default" 0.0;
max: NAVIFRAME_ICON_SIZE_INC;
fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "padding_before_text"; }
- rel2 { relative: 0.0 1.0; to: "padding_before_text"; }
+ rel1 { relative: 0.0 0.0; to: "padding_center_text1"; }
+ rel2 { relative: 0.0 1.0; to: "padding_center_text1"; }
aspect: 1.0 1.0;
aspect_preference: VERTICAL;
- align: 1.0 0.5;
+ align: 0.0 0.5;
}
}
part { name: "click_event_area";
@@ -458,9 +1391,9 @@ collections {
description { state: "default" 0.0;
max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
fixed: 1 1;
- align: 0 0.5;
- rel1 { relative: 1.0 0.0; to: "padding_before_left_btn"; }
- rel2 { relative: 1.0 1.0; to: "padding_before_left_btn"; }
+ align: 1 0.5;
+ rel1 { relative: 0.0 0.0; to: "title_right_btn"; }
+ rel2 { relative: 0.0 1.0; to: "title_right_btn"; }
}
}
part { name: "title_right_btn";
@@ -471,8 +1404,8 @@ collections {
max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
align: 1 0.5;
fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "padding_after_right_btn"; }
- rel2 { relative: 0.0 1.0; to: "padding_after_right_btn"; }
+ rel1 { relative: 1.0 0.0; to: "title_bg"; }
+ rel2 { relative: 1.0 1.0; to: "title_bg"; }
}
}
part { name: "title_more_btn";
@@ -483,8 +1416,8 @@ collections {
max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
fixed: 1 1;
align: 1 0.5;
- rel1 { relative: 0.0 0.0; to: "padding_before_right_btn"; }
- rel2 { relative: 0.0 1.0; to: "padding_before_right_btn"; }
+ rel1 { relative: 0.0 0.0; to: "title_left_btn"; }
+ rel2 { relative: 0.0 1.0; to: "title_left_btn"; }
}
}
part { name: "optionheader_arrow";
@@ -495,9 +1428,9 @@ collections {
max: NAVIFRAME_OH_ARROW_SIZE_INC;
fixed: 1 1;
align: 0.5 0.0;
- rel1 { relative: 0.0 1.025; to: "title_more_btn"; }
- rel2 { relative: 1.0 1.025; to: "title_more_btn"; }
- image.normal: "T01_control_top_arrow.png";
+ rel1 { relative: 0.0 1.1; to: "title_more_btn"; }
+ rel2 { relative: 1.0 1.2; to: "title_more_btn"; }
+ //image.normal: "00_winset_control_top_arrow.png";
color: 255 255 255 0;
}
description { state: "show" 0.0;
@@ -506,7 +1439,6 @@ collections {
}
}
part { name: "controlbar_bg";
- type: RECT;
scale: 1;
description { state: "default" 0.0;
min: 0 0;
@@ -516,7 +1448,7 @@ collections {
visible: 0;
rel1 { to: "base"; }
rel2 { to: "base"; }
- color: NAVIFRAME_CONTROLBAR_BG_COLOR_INC;
+ image.normal: "00_winset_control_toolbar_bg.png";
}
description { state: "show" 0.0;
inherit: "default" 0.0;
@@ -573,7 +1505,6 @@ collections {
}
}
programs {
-
program { name: "content_new_pushed";
signal: "elm,state,new,pushed,internal";
source: "";
@@ -648,7 +1579,6 @@ collections {
signal: "elm,state,title,show";
source: "elm";
script {
- set_state(PART:"indicator", "default", 0.0);
set_state(PART:"title_bg", "default", 0.0);
if (get_int(oh_show) == 1) {
if (get_int(oh_close) == 1) {
@@ -667,7 +1597,6 @@ collections {
action: STATE_SET "hide" 0.0;
target: "title_bg";
target: "optionheader_bg";
- target: "indicator";
}
program { name: "prev_btn_show";
signal: "elm,state,prev_btn,show";
@@ -685,17 +1614,44 @@ collections {
set_state(PART:"elm.prev_btn_bg", "default", 0.0);
}
}
+ program { name: "subtitle_show";
+ signal: "elm,state,subtitle,show";
+ source: "elm";
+ script {
+ set_int(subtitle_visible, 1);
+ if (get_int(large_padded_center_align) == 0)
+ set_state(PART:"elm.text.title", "subtitle_right_more_button_is_set", 0.0);
+ else
+ set_state(PART:"elm.text.title", "subtitle_is_set", 0.0);
+ }
+ }
+ program { name: "subtitle_hide";
+ signal: "elm,state,subtitle,hide";
+ source: "elm";
+ script {
+ set_int(subtitle_visible, 0);
+ if (get_int(large_padded_center_align) == 0)
+ set_state(PART:"elm.text.title", "right_and_more_button", 0.0);
+ else
+ set_state(PART:"elm.text.title", "default", 0.0);
+ }
+ }
program { name: "left_btn_show";
signal: "elm,state,title_left_btn,show";
source: "elm";
script {
set_int(left_btn_visible, 1);
+ set_state(PART:"left_btn_separator", "visible", 0.0);
if (get_int(icon_visible) == 1)
set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
else
set_state(PART:"padding_center_text1", "visible", 0.0);
if ((get_int(more_btn_visible) == 1) && (get_int(right_btn_visible) == 1)) {
+ if (get_int(subtitle_visible) == 1)
+ set_state(PART:"elm.text.title", "subtitle_right_more_button_is_set", 0.0);
+ else
set_state(PART:"elm.text.title", "right_and_more_button", 0.0);
+ set_state(PART:"elm.text.subtitle", "right_and_more_button", 0.0);
set_int(large_padded_center_align, 0);
}
else {
@@ -709,6 +1665,7 @@ collections {
source: "elm";
script {
set_int(left_btn_visible, 0);
+ set_state(PART:"left_btn_separator", "default", 0.0);
if ((get_int(more_btn_visible) == 0) && (get_int(right_btn_visible) == 0)) {
set_state(PART:"padding_center_text2", "default", 0.0);
set_int(large_padded_center_align, 0);
@@ -732,9 +1689,13 @@ collections {
source: "elm";
script {
set_int(right_btn_visible, 1);
+ set_state(PART:"right_btn_separator", "visible", 0.0);
if (get_int(more_btn_visible) == 1) {
+ if (get_int(subtitle_visible) == 1)
+ set_state(PART:"elm.text.title", "subtitle_right_more_button_is_set", 0.0);
+ else
set_state(PART:"elm.text.title", "right_and_more_button", 0.0);
- set_state(PART:"padding_before_right_btn", "right_and_more_button", 0.0);
+ set_state(PART:"elm.text.subtitle", "right_and_more_button", 0.0);
set_int(large_padded_center_align, 0);
}
else {
@@ -757,7 +1718,7 @@ collections {
source: "elm";
script {
set_int(right_btn_visible, 0);
- set_state(PART:"padding_before_right_btn", "default", 0.0);
+ set_state(PART:"right_btn_separator", "default", 0.0);
if ((get_int(more_btn_visible) == 0) && (get_int(left_btn_visible) == 0)) {
set_state(PART:"padding_center_text2", "default", 0.0);
set_int(large_padded_center_align, 0);
@@ -782,8 +1743,11 @@ collections {
script {
set_int(more_btn_visible, 1);
if (get_int(right_btn_visible) == 1) {
+ if (get_int(subtitle_visible) == 1)
+ set_state(PART:"elm.text.title", "subtitle_right_more_button_is_set", 0.0);
+ else
set_state(PART:"elm.text.title", "right_and_more_button", 0.0);
- set_state(PART:"padding_before_right_btn", "right_and_more_button", 0.0);
+ set_state(PART:"elm.text.subtitle", "right_and_more_button", 0.0);
set_int(large_padded_center_align, 0);
}
else {
@@ -806,7 +1770,6 @@ collections {
source: "elm";
script {
set_int(more_btn_visible, 0);
- set_state(PART:"padding_before_right_btn", "default", 0.0);
if ((get_int(right_btn_visible) == 0) && (get_int(left_btn_visible) == 0)) {
set_state(PART:"padding_center_text2", "default", 0.0);
set_int(large_padded_center_align, 0);
@@ -826,7 +1789,7 @@ collections {
}
}
program { name: "icon_show";
- signal: "elm,state,elm.swallow.icon,show";
+ signal: "elm,state,icon,show";
source: "elm";
script {
set_int(icon_visible, 1);
@@ -837,7 +1800,7 @@ collections {
}
}
program { name: "icon_hide";
- signal: "elm,state,elm.swallow.icon,hide";
+ signal: "elm,state,icon,hide";
source: "elm";
script {
set_int(icon_visible, 0);
@@ -992,5 +1955,936 @@ collections {
}
}
-}
+ group { name:"elm/naviframe/item/basic/ivug/default";
+ alias:"elm/naviframe/item/1line/ivug/default";
+ images {
+ image: "00_winset_control_top_bg.png" COMP;
+ image: "00_winset_control_top_arrow.png" COMP;
+ image: "00_winset_title_line.png" COMP;
+ image: "00_winset_control_toolbar_bg.png" COMP;
+ image: "00_winset_title_bg.png" COMP;
+ }
+ script {
+ public oh_show = 0; //optionheader show/hide
+ public oh_close = 0; //optionheader close/open
+ public cbar_bg = 0; //Controlbar BG Show call count
+ public left_btn_visible = 0; //whether left btn is shown
+ public icon_visible = 0; //whether icon is shown
+ public right_btn_visible = 0; //whether right btn is shown
+ public more_btn_visible = 0; //whether more btn is shown
+ public large_padded_center_align = 0; //large padding based on button size for center align for 1/2 buttons.
+ public subtitle_visible = 0; //whether subtitle is shown
+ }
+ parts {
+ part { name: "base";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "left" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: -1.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ description { state: "right" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 2.0 1.0;
+ }
+ }
+ part { name: "title_bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 1 NAVIFRAME_TITLE_H_INC;
+ align: 0.0 0.0;
+ fixed: 0 1;
+ rel1 { relative: 0.0 0.0; to: "base"; }
+ rel2 { relative: 1.0 0.0; to: "base"; }
+ image.normal: "00_winset_title_bg.png";
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "title_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "title_bg"; }
+ rel2 { to: "title_bg"; }
+ }
+ }
+ part { name: "optionheader_bg";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 1 0;
+ align: 0.5 0;
+ fixed: 0 1;
+ rel1.to: "title_bg";
+ rel1.relative: 0 1;
+ rel2.to: "title_bg";
+ visible: 0;
+ image { normal: "00_winset_control_top_bg.png";
+ border: NAVIFRAME_OH_BORDER_INC;
+ }
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ min: 1 NAVIFRAME_OH_OPENED_H_INC;
+ visible: 1;
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ max: 0 0;
+ fixed: 1 1;
+ }
+ }
+ part { name: "optionheader_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "optionheader_bg"; }
+ rel2 { to: "optionheader_bg"; }
+ }
+ }
+ part { name: "optionheader_top_padding";
+ type: RECT;
+ scale: 1;
+ clip_to: "optionheader_clip";
+ description { state: "default" 0.0;
+ min: 0 NAVIFRAME_OH_PADDING_INC;
+ rel1 { relative: 0.0 0.0; to: "optionheader_bg"; }
+ rel2 { relative: 1.0 0.0; to: "optionheader_bg"; }
+ fixed: 0 1;
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "optionheader";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "optionheader_clip";
+ description { state: "default" 0.0;
+ min: 0 NAVIFRAME_OH_CONTENT_H_INC;
+ rel1 { relative: 0.0 1.0; to: "optionheader_top_padding"; }
+ rel2 { relative: 1.0 1.0; to: "optionheader_top_padding"; }
+ fixed: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ part { name: "optionheader_bottom_padding";
+ type: RECT;
+ scale: 1;
+ clip_to: "optionheader_clip";
+ description { state: "default" 0.0;
+ min: 0 NAVIFRAME_OH_PADDING_INC;
+ rel1 { relative: 0.0 1.0; to: "optionheader"; }
+ rel2 { relative: 1.0 1.0; to: "optionheader"; }
+ fixed: 0 1;
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "optionheader_shadow";
+ type: RECT;
+ scale: 1;
+ clip_to: "optionheader_clip";
+ description { state: "default" 0.0;
+ min: 0 NAVIFRAME_OH_SHADOW_INC;
+ rel1 { relative: 0.0 1.0; to: "optionheader_bottom_padding"; }
+ rel2 { relative: 1.0 1.0; to: "optionheader_bottom_padding"; }
+ fixed: 0 1;
+ align: 0.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 1;
+ repeat_events: 0;
+ clip_to: "content_clip";
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 1.0;
+ rel1.to_x: "base";
+ rel1.to_y: "optionheader_bg";
+ rel2.relative: 1.0 0.0;
+ rel2.to_x: "base";
+ rel2.to_y: "controlbar_bg";
+ }
+ }
+ part { name: "content_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "elm.swallow.content";
+ rel2.to: "elm.swallow.content";
+ }
+ }
+
+
+
+
+
+ part { name: "left_btn_separator";
+ type: IMAGE;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ min: 2 48;
+ max: 2 48;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1 { relative: 0.0 0.0; to: "title_left_btn"; }
+ rel2 { relative: 0.0 1.0; to: "title_left_btn"; }
+ image.normal: "00_winset_title_line.png";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "right_btn_separator";
+ type: IMAGE;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ min: 2 48;
+ max: 2 48;
+ fixed: 1 1;
+ align: 1.0 0.5;
+ rel1 { relative: 0.0 0.0; to: "title_right_btn"; }
+ rel2 { relative: 0.0 1.0; to: "title_right_btn"; }
+ image.normal: "00_winset_title_line.png";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "padding_before_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "title_bg"; }
+ rel2 { relative: 0.0 1.0; to: "title_bg"; }
+ fixed: 1 0;
+ min: NAVIFRAME_ICON_PADDING_INC;
+ visible: 0;
+ }
+ }
+ part { name: "padding_center_text1";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "padding_before_text"; }
+ rel2 { relative: 1.0 1.0; to: "padding_before_text"; }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: 0 0;
+ }
+ description { state: "icon" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_NO_BUTTON_ICON_PADDING_INC 0;
+ }
+ description { state: "icon_left_button" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_TEXT_PADDING_ICON_VISIBLE_INC 0;
+ }
+ }
+ part { name: "padding_center_text2";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ rel1 { relative: 1.0 0.0; to: "title_bg"; }
+ rel2 { relative: 1.0 1.0; to: "title_bg"; }
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_TEXT_PADDING_INC 0;
+ }
+ }
+ part { name: "elm.text.title";
+ type: TEXT;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ text { font: "SLP:style=Medium";
+ size: NAVIFRAME_TITLE_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ align: 0.5 0.5;
+ text_class: "slp_medium";
+ }
+ color: NAVIFRAME_TITLE_TEXT_COLOR_INC;
+ align: 0.0 0.5;
+ fixed: 1 0;
+ rel1 { relative: 1.0 0.0; to_x: "padding_center_text1"; to_y: "title_bg"; }
+ rel2 { relative: 0.0 1.0; to_x: "padding_center_text2"; to_y: "title_bg"; }
+ }
+ description { state: "right_and_more_button" 0.0;
+ inherit: "default" 0.0;
+ rel2 { relative: 0.0 1.0; to_x: "title_more_btn"; to_y: "title_bg"; }
+ }
+ description { state: "subtitle_is_set" 0.0;
+ inherit: "default" 0.0;
+ rel2 { relative: 0.0 0.7; to_x: "padding_center_text2"; to_y: "title_bg"; }
+ }
+ description { state: "subtitle_right_more_button_is_set" 0.0;
+ inherit: "default" 0.0;
+ rel2 { relative: 0.0 0.7; to_x: "title_more_btn"; to_y: "title_bg"; }
+ }
+ }
+ part { name: "elm.text.subtitle";
+ type: TEXT;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ text { font: "SLP:style=Medium";
+ size: NAVIFRAME_SUBTITLE_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ align: 0.5 0.5;
+ text_class: "slp_medium";
+ }
+ color: NAVIFRAME_SUBTITLE_TEXT_COLOR_INC;
+ align: 0.0 0.5;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "padding_center_text1";
+ to_y: "elm.text.title";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "padding_center_text2";
+ to_y: "elm.text.title";
+ }
+ }
+ description { state: "right_and_more_button" 0.0;
+ inherit: "default" 0.0;
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "title_more_btn";
+ to_y: "elm.text.title";
+ }
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_ICON_SIZE_INC;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0; to: "padding_center_text1"; }
+ rel2 { relative: 0.0 1.0; to: "padding_center_text1"; }
+ aspect: 1.0 1.0;
+ aspect_preference: VERTICAL;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "click_event_area";
+ ignore_flags: ON_HOLD;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ rel1 { to: "title_bg"; }
+ rel2 { to: "title_bg"; }
+ }
+ }
+ part { name: "title_left_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 { relative: 0.0 0.0; to: "title_right_btn"; }
+ rel2 { relative: 0.0 1.0; to: "title_right_btn"; }
+ }
+ }
+ part { name: "title_right_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
+ align: 1 0.5;
+ fixed: 1 1;
+ rel1 { relative: 1.0 0.0; to: "title_bg"; }
+ rel2 { relative: 1.0 1.0; to: "title_bg"; }
+ }
+ }
+ part { name: "title_more_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "title_clip";
+ description { state: "default" 0.0;
+ max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 { relative: 0.0 0.0; to: "title_left_btn"; }
+ rel2 { relative: 0.0 1.0; to: "title_left_btn"; }
+ }
+ }
+ part { name: "optionheader_arrow";
+ type: IMAGE;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: NAVIFRAME_OH_ARROW_SIZE_INC;
+ max: NAVIFRAME_OH_ARROW_SIZE_INC;
+ fixed: 1 1;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 1.1; to: "title_more_btn"; }
+ rel2 { relative: 1.0 1.2; to: "title_more_btn"; }
+ //image.normal: "00_winset_control_top_arrow.png";
+ color: 255 255 255 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "controlbar_bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 0;
+ max: 999999 0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ visible: 0;
+ rel1 { to: "base"; }
+ rel2 { to: "base"; }
+ image.normal: "00_winset_control_toolbar_bg.png";
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ min: 0 CONTROLBAR_SMALL_HEIGHT_INC;
+ max: 999999 CONTROLBAR_SMALL_HEIGHT_INC;
+ visible: 1;
+ }
+ }
+ part { name: "controlbar_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "controlbar_bg";
+ rel2.to: "controlbar_bg";
+ }
+ }
+ part { name: "elm.prev_btn_bg";
+ type: RECT;
+ scale: 1;
+ clip_to: "controlbar_clip";
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "controlbar_bg"; }
+ rel2.to: "controlbar_bg";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 0;
+ }
+ }
+ part { name: "elm.swallow.prev_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "controlbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "elm.prev_btn_bg";
+ rel2.to: "elm.prev_btn_bg";
+ }
+ }
+ part { name: "controlbar";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "controlbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "controlbar_bg";
+ rel2 { relative: 0.0 1.0; to: "elm.prev_btn_bg"; }
+ }
+ }
+ }
+ programs {
+ program { name: "content_new_pushed";
+ signal: "elm,state,new,pushed,internal";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "show_finished";
+ }
+ program { name: "content_cur_pushed";
+ signal: "elm,state,cur,pushed,internal";
+ source: "";
+ action: STATE_SET "left" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "pushed_finished";
+ }
+ program { name: "content_prev_popped";
+ signal: "elm,state,prev,popped,internal";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "show_finished";
+ }
+ program { name: "content_cur_popped";
+ signal: "elm,state,cur,popped,internal";
+ source: "";
+ action: STATE_SET "right" 0.0;
+ target: "base";
+ transition: DECELERATE NAVIFRAME_VIEW_TRANS_TIME;
+ after: "popped_finished";
+ }
+ program { name: "cur_pushed";
+ signal: "elm,state,cur,pushed";
+ source: "elm";
+ script {
+ set_state(PART:"base", "default", 0.0);
+ emit("elm,state,cur,pushed,internal", "");
+ }
+ }
+ program { name: "new_pushed";
+ signal: "elm,state,new,pushed";
+ source: "elm";
+ script {
+ set_state(PART:"base", "right", 0.0);
+ emit("elm,state,new,pushed,internal", "");
+ }
+ }
+ program { name: "prev_popped";
+ signal: "elm,state,prev,popped";
+ source: "elm";
+ script {
+ set_state(PART:"base", "left", 0.0);
+ emit("elm,state,prev,popped,internal", "");
+ }
+ }
+ program { name: "cur_popped";
+ signal: "elm,state,cur,popped";
+ source: "elm";
+ script {
+ set_state(PART:"base", "default", 0.0);
+ emit("elm,state,cur,popped,internal", "");
+ }
+ }
+ program { name: "visible";
+ signal: "elm,state,visible";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "title_show";
+ signal: "elm,state,title,show";
+ source: "elm";
+ script {
+ set_state(PART:"title_bg", "default", 0.0);
+ if (get_int(oh_show) == 1) {
+ if (get_int(oh_close) == 1) {
+ emit("elm,state,optionheader,instant_close", "");
+ }else {
+ emit("elm,state,optionheader,instant_open", "");
+ }
+ }
+ else
+ set_state(PART:"optionheader_bg", "default", 0.0);
+ }
+ }
+ program { name: "title_hide";
+ signal: "elm,state,title,hide";
+ source: "elm";
+ action: STATE_SET "hide" 0.0;
+ target: "title_bg";
+ target: "optionheader_bg";
+ }
+ program { name: "prev_btn_show";
+ signal: "elm,state,prev_btn,show";
+ source: "elm";
+ script {
+ emit("elm,state,controlbar_bg,show", "elm");
+ set_state(PART:"elm.prev_btn_bg", "visible", 0.0);
+ }
+ }
+ program { name: "prev_btn_hide";
+ signal: "elm,state,prev_btn,hide";
+ source: "elm";
+ script {
+ emit("elm,state,controlbar_bg,hide", "elm");
+ set_state(PART:"elm.prev_btn_bg", "default", 0.0);
+ }
+ }
+ program { name: "subtitle_show";
+ signal: "elm,state,subtitle,show";
+ source: "elm";
+ script {
+ set_int(subtitle_visible, 1);
+ if (get_int(large_padded_center_align) == 0)
+ set_state(PART:"elm.text.title", "subtitle_right_more_button_is_set", 0.0);
+ else
+ set_state(PART:"elm.text.title", "subtitle_is_set", 0.0);
+ }
+ }
+ program { name: "subtitle_hide";
+ signal: "elm,state,subtitle,hide";
+ source: "elm";
+ script {
+ set_int(subtitle_visible, 0);
+ if (get_int(large_padded_center_align) == 0)
+ set_state(PART:"elm.text.title", "right_and_more_button", 0.0);
+ else
+ set_state(PART:"elm.text.title", "default", 0.0);
+ }
+ }
+ program { name: "left_btn_show";
+ signal: "elm,state,title_left_btn,show";
+ source: "elm";
+ script {
+ set_int(left_btn_visible, 1);
+ set_state(PART:"left_btn_separator", "visible", 0.0);
+ if (get_int(icon_visible) == 1)
+ set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "visible", 0.0);
+ if ((get_int(more_btn_visible) == 1) && (get_int(right_btn_visible) == 1)) {
+ if (get_int(subtitle_visible) == 1)
+ set_state(PART:"elm.text.title", "subtitle_right_more_button_is_set", 0.0);
+ else
+ set_state(PART:"elm.text.title", "right_and_more_button", 0.0);
+ set_state(PART:"elm.text.subtitle", "right_and_more_button", 0.0);
+ set_int(large_padded_center_align, 0);
+ }
+ else {
+ set_state(PART:"padding_center_text2", "visible", 0.0);
+ set_int(large_padded_center_align, 1);
+ }
+ }
+ }
+ program { name: "left_btn_hide";
+ signal: "elm,state,title_left_btn,hide";
+ source: "elm";
+ script {
+ set_int(left_btn_visible, 0);
+ set_state(PART:"left_btn_separator", "default", 0.0);
+ if ((get_int(more_btn_visible) == 0) && (get_int(right_btn_visible) == 0)) {
+ set_state(PART:"padding_center_text2", "default", 0.0);
+ set_int(large_padded_center_align, 0);
+ }
+ else {
+ set_state(PART:"padding_center_text2", "visible", 0.0);
+ set_int(large_padded_center_align, 1);
+ }
+ if ((get_int(large_padded_center_align) == 1) && (get_int(icon_visible) == 1))
+ set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
+ else if (get_int(large_padded_center_align) == 1)
+ set_state(PART:"padding_center_text1", "visible", 0.0);
+ else if (get_int(icon_visible) == 1)
+ set_state(PART:"padding_center_text1", "icon", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "default", 0.0);
+ }
+ }
+ program { name: "right_btn_show";
+ signal: "elm,state,title_right_btn,show";
+ source: "elm";
+ script {
+ set_int(right_btn_visible, 1);
+ set_state(PART:"right_btn_separator", "visible", 0.0);
+ if (get_int(more_btn_visible) == 1) {
+ if (get_int(subtitle_visible) == 1)
+ set_state(PART:"elm.text.title", "subtitle_right_more_button_is_set", 0.0);
+ else
+ set_state(PART:"elm.text.title", "right_and_more_button", 0.0);
+ set_state(PART:"elm.text.subtitle", "right_and_more_button", 0.0);
+ set_int(large_padded_center_align, 0);
+ }
+ else {
+ set_state(PART:"padding_center_text2", "visible", 0.0);
+ set_int(large_padded_center_align, 1);
+ }
+ if ((get_int(icon_visible) == 1) && ((get_int(left_btn_visible) == 1) ||
+ (get_int(large_padded_center_align) == 1)))
+ set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
+ else if ((get_int(left_btn_visible) == 1) || (get_int(large_padded_center_align) == 1))
+ set_state(PART:"padding_center_text1", "visible", 0.0);
+ else if (get_int(icon_visible) == 1)
+ set_state(PART:"padding_center_text1", "icon", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "default", 0.0);
+ }
+ }
+ program { name: "right_btn_hide";
+ signal: "elm,state,title_right_btn,hide";
+ source: "elm";
+ script {
+ set_int(right_btn_visible, 0);
+ set_state(PART:"right_btn_separator", "default", 0.0);
+ if ((get_int(more_btn_visible) == 0) && (get_int(left_btn_visible) == 0)) {
+ set_state(PART:"padding_center_text2", "default", 0.0);
+ set_int(large_padded_center_align, 0);
+ }
+ else {
+ set_state(PART:"padding_center_text2", "visible", 0.0);
+ set_int(large_padded_center_align, 1);
+ }
+ if ((get_int(large_padded_center_align) == 1) && (get_int(icon_visible) == 1))
+ set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
+ else if (get_int(large_padded_center_align) == 1)
+ set_state(PART:"padding_center_text1", "visible", 0.0);
+ else if (get_int(icon_visible) == 1)
+ set_state(PART:"padding_center_text1", "icon", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "default", 0.0);
+ }
+ }
+ program { name: "more_btn_show";
+ signal: "elm,state,title_more_btn,show";
+ source: "elm";
+ script {
+ set_int(more_btn_visible, 1);
+ if (get_int(right_btn_visible) == 1) {
+ if (get_int(subtitle_visible) == 1)
+ set_state(PART:"elm.text.title", "subtitle_right_more_button_is_set", 0.0);
+ else
+ set_state(PART:"elm.text.title", "right_and_more_button", 0.0);
+ set_state(PART:"elm.text.subtitle", "right_and_more_button", 0.0);
+ set_int(large_padded_center_align, 0);
+ }
+ else {
+ set_state(PART:"padding_center_text2", "visible", 0.0);
+ set_int(large_padded_center_align, 1);
+ }
+ if ((get_int(icon_visible) == 1) && ((get_int(left_btn_visible) == 1) ||
+ (get_int(large_padded_center_align) == 1)))
+ set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
+ else if ((get_int(left_btn_visible) == 1) || (get_int(large_padded_center_align) == 1))
+ set_state(PART:"padding_center_text1", "visible", 0.0);
+ else if (get_int(icon_visible) == 1)
+ set_state(PART:"padding_center_text1", "icon", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "default", 0.0);
+ }
+ }
+ program { name: "more_btn_hide";
+ signal: "elm,state,title_more_btn,hide";
+ source: "elm";
+ script {
+ set_int(more_btn_visible, 0);
+ if ((get_int(right_btn_visible) == 0) && (get_int(left_btn_visible) == 0)) {
+ set_state(PART:"padding_center_text2", "default", 0.0);
+ set_int(large_padded_center_align, 0);
+ }
+ else {
+ set_state(PART:"padding_center_text2", "visible", 0.0);
+ set_int(large_padded_center_align, 1);
+ }
+ if ((get_int(large_padded_center_align) == 1) && (get_int(icon_visible) == 1))
+ set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
+ else if (get_int(large_padded_center_align) == 1)
+ set_state(PART:"padding_center_text1", "visible", 0.0);
+ else if (get_int(icon_visible) == 1)
+ set_state(PART:"padding_center_text1", "icon", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,show";
+ source: "elm";
+ script {
+ set_int(icon_visible, 1);
+ if ((get_int(large_padded_center_align) == 1) || (get_int(left_btn_visible) == 1))
+ set_state(PART:"padding_center_text1", "icon_left_button", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "icon", 0.0);
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hide";
+ source: "elm";
+ script {
+ set_int(icon_visible, 0);
+ if ((get_int(large_padded_center_align) == 1) || (get_int(left_btn_visible) == 1))
+ set_state(PART:"padding_center_text1", "visible", 0.0);
+ else
+ set_state(PART:"padding_center_text1", "default", 0.0);
+ }
+ }
+ program { name: "controlbar_show";
+ signal: "elm,state,controlbar,show";
+ source: "elm";
+ script {
+ emit("elm,state,controlbar_bg,show", "elm");
+ }
+ }
+ program { name: "controlbar_hide";
+ signal: "elm,state,controlbar,hide";
+ source: "elm";
+ script {
+ emit("elm,state,controlbar_bg,hide", "elm");
+ }
+ }
+ program { name: "controlbar_bg_show";
+ signal: "elm,state,controlbar_bg,show";
+ source: "elm";
+ script {
+ set_state(PART:"controlbar_bg", "show", 0.0);
+ set_int(cbar_bg, get_int(cbar_bg) + 1);
+ }
+ }
+ program { name: "controlbar_bg_hide";
+ signal: "elm,state,controlbar_bg,hide";
+ source: "elm";
+ script {
+ set_int(cbar_bg, get_int(cbar_bg) - 1);
+ if (get_int(cbar_bg) <= 0)
+ set_state(PART:"controlbar_bg", "default", 0.0);
+ }
+ }
+ program { name: "optionheader_show";
+ signal: "elm,state,optionheader,show";
+ source: "elm";
+ script {
+ set_state(PART:"optionheader_bg", "show", 0.0);
+ set_state(PART:"optionheader_arrow", "show", 0.0);
+ set_int(oh_show, 1);
+ }
+ }
+ program { name: "optionheader_hide";
+ signal: "elm,state,optionheader,hide";
+ source: "elm";
+ script {
+ set_state(PART:"optionheader_bg", "default", 0.0);
+ set_state(PART:"optionheader_arrow", "default", 0.0);
+ set_int(oh_show, 0);
+ }
+ }
+ program { name: "optionheader_open";
+ signal: "elm,state,optionheader,open";
+ source: "";
+ action: STATE_SET "show" 0.0;
+ target: "optionheader_bg";
+ target: "optionheader_arrow";
+ transition: LINEAR 0.2;
+ after: "optionheader_open_set";
+ }
+ program { name: "optionheader_close";
+ signal: "elm,state,optionheader,close";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "optionheader_bg";
+ target: "optionheader_arrow";
+ transition: LINEAR 0.2;
+ after: "optionheader_close_set";
+ }
+ program { name: "optionheader_instant_open";
+ signal: "elm,state,optionheader,instant_open";
+ source: "";
+ action: STATE_SET "show" 0.0;
+ target: "optionheader_bg";
+ target: "optionheader_arrow";
+ after: "optionheader_open_set";
+ }
+ program { name: "optionheader_instant_close";
+ signal: "elm,state,optionheader,instant_close";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "optionheader_bg";
+ target: "optionheader_arrow";
+ after: "optionheader_close_set";
+ }
+ program { name: "optionheader_close_set";
+ signal: "elm,state,optionheader,close_set";
+ source: "";
+ script {
+ set_int(oh_close, 1);
+ }
+ }
+ program { name: "optionheader_open_set";
+ signal: "elm,state,optionheader,open_set";
+ source: "";
+ script {
+ set_int(oh_close, 0);
+ }
+ }
+ program { name: "controlbar_open";
+ signal: "elm,state,controlbar,open";
+ source: "";
+ action: STATE_SET "show" 0.0;
+ target: "controlbar_bg";
+ transition: LINEAR 0.2;
+ }
+ program { name: "controlbar_close";
+ signal: "elm,state,controlbar,close";
+ source: "";
+ action: STATE_SET "default" 0.0;
+ target: "controlbar_bg";
+ transition: LINEAR 0.2;
+ }
+ program { name: "controlbar_instant_open";
+ signal: "elm,state,controlbar,instant_open";
+ source: "";
+ script {
+ emit("elm,state,prev_btn,show", "elm");
+ emit("elm,state,controlbar,show", "elm");
+ }
+ }
+ program { name: "controlbar_instant_close";
+ signal: "elm,state,controlbar,instant_close";
+ source: "";
+ script {
+ emit("elm,state,prev_btn,hide", "elm");
+ emit("elm,state,controlbar,hide", "elm");
+ }
+ }
+ program { name: "show_finished";
+ action: SIGNAL_EMIT "elm,action,show,finished" "";
+ }
+ program { name: "pushed_finished";
+ action: SIGNAL_EMIT "elm,action,pushed,finished" "";
+ }
+ program { name: "popped_finished";
+ action: SIGNAL_EMIT "elm,action,popped,finished" "";
+ }
+ program {
+ name: "title_clicked";
+ signal: "mouse,clicked,1";
+ source: "click_event_area";
+ action: SIGNAL_EMIT "elm,action,title,clicked" "";
+ }
+ }
+ }
+}
diff --git a/main/layout/ivug-selectioninfo.edc b/main/layout/ivug-selectioninfo.edc
index 00a1340..bf704fd 100755
--- a/main/layout/ivug-selectioninfo.edc
+++ b/main/layout/ivug-selectioninfo.edc
@@ -1,34 +1,33 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
-
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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.
+ */
/*
* Refer to themes\groups\selectioninfo.edc
*/
-#define SELECTION_INFO_BACKGROUND_COLOR_INC 91 91 91 255
-#define SELECTION_INFO_TEXT_COLOR_INC 255 255 255 255
+#define SELECTION_INFO_BACKGROUND_COLOR_INC 42 54 74 255
+#define SELECTION_INFO_TEXT_COLOR_INC 249 249 249 255
#define SELECTION_INFO_MIN_VER_W_INC 720
#define SELECTION_INFO_MIN_HORZ_W_INC 1280
#define SELECTION_INFO_VER_PADDING_INC 48
#define SELECTION_INFO_LEFT_PADDING_INC 16
#define SELECTION_INFO_TEXT_FONT_SIZE_INC 32
-#define SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC 143//=95+48 150
-#define SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC 143//=95+48 186
+#define SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC 160//=95+48 150
+#define SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC 160//=95+48 186
collections {
@@ -36,8 +35,6 @@ collections {
parts {
part { name: "bg";
type: RECT;
- mouse_events: 1;
- repeat_events: 1;
scale : 1;
description {
state: "default" 0.0;
@@ -61,9 +58,10 @@ collections {
rel2 { to: "bg"; }
color: SELECTION_INFO_TEXT_COLOR_INC;
text {
- font: "HelveticaNeue";
+ font: "SLP";
size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
text: "";
+ text_class: "slp";
}
}
}
@@ -121,9 +119,10 @@ collections {
rel2 { to: "base"; }
color: SELECTION_INFO_TEXT_COLOR_INC;
text {
- font: "HelveticaNeue";
+ font: "SLP";
size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
text: "";
+ text_class: "slp";
}
}
}
@@ -183,9 +182,10 @@ collections {
rel2 { to: "base"; }
color: SELECTION_INFO_TEXT_COLOR_INC;
text {
- font: "HelveticaNeue";
+ font: "SLP";
size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
text: "";
+ text_class: "slp";
}
}
}
@@ -229,9 +229,10 @@ collections {
rel2 { to: "bg"; }
color: SELECTION_INFO_TEXT_COLOR_INC;
text {
- font: "HelveticaNeue";
+ font: "SLP";
size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
text: "";
+ text_class: "slp";
}
}
}
@@ -289,9 +290,10 @@ collections {
rel2 { to: "base"; }
color: SELECTION_INFO_TEXT_COLOR_INC;
text {
- font: "HelveticaNeue";
- size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
+ font: "SLP";
+ size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
text: "";
+ text_class: "slp";
}
}
}
@@ -351,9 +353,10 @@ collections {
rel2 { to: "base"; }
color: SELECTION_INFO_TEXT_COLOR_INC;
text {
- font: "HelveticaNeue";
- size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
+ font: "SLP";
+ size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
text: "";
+ text_class: "slp";
}
}
}
@@ -369,3 +372,4 @@ collections {
}
}
+
diff --git a/main/layout/ivug-setas.edc b/main/layout/ivug-setas.edc
index 7ec8ab1..8646f0b 100755
--- a/main/layout/ivug-setas.edc
+++ b/main/layout/ivug-setas.edc
@@ -1,57 +1,35 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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 "ivug-theme.edc"
+
+#define PADDING_VISIBILITY 0
+collections {
-#define BTN_CANCEL_WIDTH 86
-#define BTN_CANCEL_HEIGHT 86
-
-#define BTN_OK_WIDTH 86
-#define BTN_OK_HEIGHT 86
-
-#define BTN_CANCEL "T01_btn_cancel.png"
-#define BTN_CANCEL_PRESS "T01_btn_cancel_press.png"
-
-#define BTN_OK "T01_btn_ok.png"
-#define BTN_OK_PRESS "T01_btn_ok_press.png"
-#define BTN_OK_DIM "T01_btn_ok_dim.png"
-
-#define _STATE_ENABLED 1
-#define _STATE_DISABLED 0
+#define PROGRESSBAR_WIDTH 100
+#define PROGRESSBAR_HEIGHT 100
-collections {
group {
name: "setas_view";
- images {
- image: BTN_CANCEL COMP;
- image: BTN_CANCEL_PRESS COMP;
-
- image: BTN_OK COMP;
- image: BTN_OK_PRESS COMP;
- image: BTN_OK_DIM COMP;
- }
- script {
- public ok_state = _STATE_ENABLED;
- }
parts{
part {
name: "bg";
type: RECT;
- mouse_events: 1;
- repeat_events: 0;
scale:1;
description {
state: "default" 0.0;
@@ -70,18 +48,50 @@ collections {
description {
state: "default" 0.0;
+ visible: 1;
rel1 { relative: 0 0; to:bg; }
rel2 { relative: 1 1; to:bg; }
}
}
+ part{
+ name: "setasview.thumbnail";
+ type: SWALLOW;
+ mouse_events: 1;
+ repeat_events: 0;
+ scale: 1; //allow scaling
+ description {
+ state: "default" 0.0;
+ align: 0.5 0.5;
+ visible: 1;
+ rel1 { relative: 0 0; to:bg; }
+ rel2 { relative: 1 1; to:bg; }
+ }
+ }
+
+ part{
+ name: "setasview.progressbar";
+ type: SWALLOW;
+ scale: 1; //allow scaling
+
+ description {
+ state: "default" 0.0;
+ min: PROGRESSBAR_WIDTH PROGRESSBAR_WIDTH;
+ max: PROGRESSBAR_WIDTH PROGRESSBAR_WIDTH;
+ fixed: 1 1;
+ visible: 1;
+ align: 0.5 0.5;
+ rel1 { relative: 0 0; to:"setasview.photocam"; }
+ rel2 { relative: 1 1; to:"setasview.photocam"; }
+ }
+ }
+
part {
name: "event";
type: RECT;
repeat_events: 1;
mouse_events: 1;
scale:1;
-
description {
state: "default" 0.0;
color: 0 0 0 0;
@@ -91,188 +101,152 @@ collections {
}
}
- part { name: "setasview.btn_cancel";
- type: IMAGE;
- scale: 1;
+ part{
+ name: "setasview.scissorbox";
+ type: SWALLOW;
mouse_events: 1;
+ repeat_events: 1;
+ scale: 1;
description {
- visible: 0;
- min: BTN_CANCEL_WIDTH BTN_CANCEL_HEIGHT;
- max: BTN_CANCEL_WIDTH BTN_CANCEL_HEIGHT;
- fixed: 1 1;
state: "default" 0.0;
- align: 1.0 1.0;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 0.944 0.975;}
- }
-
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: BTN_CANCEL;
+ visible: 0;
+ rel1 { relative: 0 0; to:bg; }
+ rel2 { relative: 1 1; to:bg; }
}
+ }
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- image.normal: BTN_CANCEL_PRESS;
- }
- description {
- state: "hide" 0.0;
- visible: 0;
- }
+ }
+ programs {
+ program {
+ name: "bg_clicked";
+ signal: "mouse,clicked,1";
+ source: "event";
+ action: SIGNAL_EMIT "setasview,bg,clicked" "edc";
}
+ }
- part { name: "setasview.btn_ok";
- type: IMAGE;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- min: BTN_OK_WIDTH BTN_OK_HEIGHT;
- max: BTN_OK_WIDTH BTN_OK_HEIGHT;
- fixed: 1 1;
- align: 0.0 1.0;
- image.normal: BTN_OK;
- rel1 { relative: 0.056 0.0;}
- rel2 { relative: 1.0 0.975;}
- }
+ }
+}
- description {
- state: "pressed" 0.0;
- inherit: "default" 0.0;
- image.normal: BTN_OK_PRESS;
- }
- description {
- state: "dim" 0.0;
- inherit: "default" 0.0;
- image.normal: BTN_OK_DIM;
- }
+collections {
+#define BTN_SET_CALLER_IMAGE_WIDTH 86
+#define BTN_SET_CALLER_IMAGE_HEIGHT 86
+#if 1
+ group {
+ name: "setas_view_btn";
+
+ images {
+ image: "00_winset_control_toolbar_bg.png" COMP;
+ }
+
+ parts{
+ part {
+ name: "base";
+ type: RECT;
+ scale:1;
+ mouse_events: 1;
+ repeat_events: 1;
description {
- state: "hide" 0.0;
- visible: 0;
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
}
}
+ part { name: "controlbar_bg";
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 CONTROLBAR_SMALL_HEIGHT_INC;
+ max: 999999 CONTROLBAR_SMALL_HEIGHT_INC;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ visible: 1;
+ rel1 { to: "base"; }
+ rel2 { to: "base"; }
+ //image.normal: "00_winset_control_toolbar_bg.png";
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "controlbar_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "controlbar_bg";
+ rel2.to: "controlbar_bg";
+ visible: 1;
+ }
+ description { state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.prev_btn_bg";
+ type: RECT;
+ scale: 1;
+ clip_to: "controlbar_clip";
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
+ align: 1.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "controlbar_bg"; }
+ rel2.to: "controlbar_bg";
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: NAVIFRAME_TITLE_PREV_BTN_BG_SIZE_INC 0;
+ }
+ }
+ part { name: "elm.swallow.prev_btn";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "controlbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ align: 0.5 0.5;
+ rel1.to: "elm.prev_btn_bg";
+ rel2.to: "elm.prev_btn_bg";
+ }
+ }
+ part { name: "controlbar";
+ type: SWALLOW;
+ scale: 1;
+ clip_to: "controlbar_clip";
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1.to: "controlbar_bg";
+ rel2 { relative: 0.0 1.0; to: "elm.prev_btn_bg"; }
+ visible: 1;
+ }
+ }
}
programs {
-/* For button cancel */
- program {
- name: "hide_btn_cancel";
- signal: "setasview,hide,btn_cancel";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "setasview.btn_cancel";
- }
-
- program {
- name: "show_btn_cancel";
- signal: "setasview,show,btn_cancel";
- source: "elm";
- action: STATE_SET "show" 0.0;
- target: "setasview.btn_cancel";
- }
-
- program {
- name: "btn_cancel_mouse_down";
- signal: "mouse,down,1";
- source: "setasview.btn_cancel";
- action: STATE_SET "pressed" 0.0;
- target: "setasview.btn_cancel";
- }
-
- program {
- name: "btn_cancel_mouse_up";
- signal: "mouse,up,1";
- source: "setasview.btn_cancel";
- after: "show_btn_cancel";
- }
-
- program {
- name: "btn_cancel_clicked";
- signal: "mouse,clicked,1";
- source: "setasview.btn_cancel";
- action: SIGNAL_EMIT "setasview,cancel,clicked" "";
- }
-
-/* For button ok */
- program {
- name: "hide_btn_set";
- signal: "setasview,hide,btn_ok";
- source: "elm";
- action: STATE_SET "hide" 0.0;
- target: "setasview.btn_ok";
- }
-
- program {
- name: "show_btn_set";
- signal: "setasview,show,btn_ok";
- source: "elm";
- script {
- if ( get_int(ok_state) == _STATE_DISABLED )
- set_state(PART:"setasview.btn_ok", "dim", 0.0);
- else
- set_state(PART:"setasview.btn_ok", "default", 0.0);
- }
- }
- program {
- name: "dim_btn_set";
- signal: "setasview,disable,btn_ok";
- source: "elm";
-
- script {
- set_int(ok_state, _STATE_DISABLED);
- set_state(PART:"setasview.btn_ok", "dim", 0.0);
- }
- }
-
- program {
- name: "enable_btn_set";
- signal: "setasview,enable,btn_ok";
- source: "elm";
- script {
- set_int(ok_state, _STATE_ENABLED);
- set_state(PART:"setasview.btn_ok", "default", 0.0);
- }
- }
-
- program {
- name: "btn_set_mouse_down";
- signal: "mouse,down,1";
- source: "setasview.btn_ok";
-
- script {
- if ( get_int(ok_state) == _STATE_ENABLED )
- set_state(PART:"setasview.btn_ok", "pressed", 0.0);
+ program {
+ name: "hide_menu";
+ signal: "elm,state,hide";
+ source: "event";
+ action: STATE_SET "hide" 0.0;
+ target: "controlbar_clip";
+ target: "controlbar_bg";
}
- }
-
- program {
- name: "btn_set_mouse_up";
- signal: "mouse,up,1";
- source: "setasview.btn_ok";
- after: "show_btn_set";
- }
-
- program {
- name: "btn_set_clicked";
- signal: "mouse,clicked,1";
- source: "setasview.btn_ok";
- script {
- if ( get_int(ok_state) == _STATE_ENABLED )
- {
- emit("setasview,set,clicked", "");
- }
- }
- }
+ program {
+ name: "show_menu";
+ signal: "elm,state,show";
+ source: "event";
+ action: STATE_SET "default" 0.0;
+ target: "controlbar_clip";
+ target: "controlbar_bg";
+ }
}
}
}
+
diff --git a/main/layout/ivug-slider.edc b/main/layout/ivug-slider.edc
index ea0c0b7..0e3aafa 100755
--- a/main/layout/ivug-slider.edc
+++ b/main/layout/ivug-slider.edc
@@ -1,19 +1,18 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
-
+/*
+ * Copyright 2012 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
+ *
+ * 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.
+ */
// slider layout
@@ -24,6 +23,7 @@ group {
images {
image: "T01_btn_play.png" COMP;
+ image: "T01_btn_paused.png" COMP;
}
parts {
@@ -41,7 +41,7 @@ group {
}
}
- part { name: "slider.photocam";
+ part { name: "slider.contents";
type: SWALLOW;
mouse_events: 1;
scale: 1;
@@ -72,28 +72,28 @@ group {
}
}
-
+#if 1
part { name: "slider.icon";
- type: IMAGE;
+ type: SWALLOW;
mouse_events: 1;
scale: 1;
description {
state: "default" 0.0;
- align: 0.5 0.5;
+ align: 0.5 0.5;
visible: 0;
- fixed: 1 1;
- max: 72 72;
+ fixed: 1 1;
+ max: 72 72;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 1.0; }
- image.normal: "T01_btn_play.png";
}
description {
- state: "show" 0.0;
- inherit: "default" 0.0;
+ state: "show" 0.0;
+ inherit: "default" 0.0;
visible: 1;
}
}
+#endif
part { name: "slider.progress";
type: SWALLOW;
@@ -135,44 +135,45 @@ group {
}
program {
- name: "show_icon";
- signal: "elm,state,show_icon";
+ name: "show_progress";
+ signal: "elm,state,show,progress";
source: "slider";
action: STATE_SET "show" 0.0;
- target: "slider.icon";
+ target: "slider.progress";
}
program {
- name: "hide_icon";
- signal: "elm,state,hide_icon";
+ name: "hide_progress";
+ signal: "elm,state,hide,progress";
source: "slider";
action: STATE_SET "default" 0.0;
- target: "slider.icon";
+ target: "slider.progress";
}
-
+#if 1
program {
- name: "show_progress";
- signal: "elm,state,show,progress";
+ name: "show_icon";
+ signal: "elm,state,show_icon";
source: "slider";
action: STATE_SET "show" 0.0;
- target: "slider.progress";
+ target: "slider.icon";
}
program {
- name: "hide_progress";
- signal: "elm,state,hide,progress";
+ name: "hide_icon";
+ signal: "elm,state,hide_icon";
source: "slider";
action: STATE_SET "default" 0.0;
- target: "slider.progress";
+ target: "slider.icon";
}
+
program {
name: "icon_click";
signal: "mouse,clicked,1";
source: "slider.icon";
action: SIGNAL_EMIT "slider,icon,click" "";
}
-
+#endif
}//programs
} //group
diff --git a/main/layout/ivug-toolbar.edc b/main/layout/ivug-toolbar.edc
deleted file mode 100755
index c65ea20..0000000
--- a/main/layout/ivug-toolbar.edc
+++ /dev/null
@@ -1,886 +0,0 @@
-/*
- * Copyright 2012 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
- *
- * 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.
- */
-
-
-/*
-* Refer to themes\widgets\toolbar.edc
-*/
-
-#define ITEM_STATE_ENABLED 0
-#define ITEM_STATE_DISABLED 1
-
-/* 1.0 */
-#define BUTTON_CONTROLBAR_ITEM_BUTTON_TEXT_SIZE_INC 28
-#define BUTTON_CONTROLBAR_ITEM_BUTTON_TEXTBLOCK_COLOR_INC "#f9f9f9"
-#define BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC 56 56
-
-#define BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC 249 249 249 255
-#define BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC 249 249 249 255
-
-collections {
-
- group { name: "elm/toolbar/base/ivug-toolbar/default";
- images {
- image: "T01_toolbar_bg.png" COMP;
- }
- parts {
- part { name: "base";
- mouse_events: 1;
- description { state: "default" 0.0;
- image.normal: "T01_toolbar_bg.png";
- }
- }
- part { name: "clipper";
- type: RECT;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- rel1 {
- to: "base";
- offset: 2 2;
- }
- rel2 {
- to: "base";
- offset: -3 -3;
- }
- }
- }
- part { name: "elm.swallow.content";
- clip_to: "clipper";
- type: SWALLOW;
- description {
- state: "default" 0.0;
- rel1.to: "clipper";
- rel2.to: "clipper";
- }
- }
- part { name: "event";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- }
- }
-
- group { name: "elm/toolbar/item/ivug-toolbar/default";
- images {
- image: "T01_toolbar_press.png" COMP;
- }
- styles{
- style { name: "toolbar_style";
- base: "font=SLP:style=Medium font_size="BUTTON_CONTROLBAR_ITEM_BUTTON_TEXT_SIZE_INC" align=center color="BUTTON_CONTROLBAR_ITEM_BUTTON_TEXTBLOCK_COLOR_INC" wrap=mixed ellipsis=1";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
- }
- }
-
- data.item: "transition_animation_on" "1";
- script {
- public item_state = ITEM_STATE_ENABLED;
- }
- parts {
- part { name: "bg";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- image {
- normal: "T01_toolbar_press.png";
- border: 3 3 3 3;
- }
- image.middle: SOLID;
- fill.smooth: 0;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- }
- }
- part { name: "padding_left_top";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel2.relative: 0.0 0.0;
- min: 10 8;
- fixed: 1 1;
- visible: 1;
- color: 0 0 0 0;
- }
- }
- part { name: "padding_right_bottom";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 1.0 1.0;
- rel1.relative: 1.0 1.0;
- min: 10 5;
- fixed: 1 1;
- visible: 1;
- color: 0 0 0 0;
- }
- }
- part {
- name: "icon_rect";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "padding_right_bottom";
- to_y: "padding_left_top";
- }
- align: 0.5 0.0;
- color: 0 0 0 0;
- }
- description { state: "visible" 0.0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- fixed: 0 1;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "padding_right_bottom";
- to_y: "padding_left_top";
- }
- align: 0.5 0.0;
- color: 0 0 0 0;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "padding_after_icon";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 0.0 0.0;
- rel1 {
- relative: 0.0 1.0;
- to: "icon_rect";
- }
- rel2.to: "icon_rect";
- fixed: 0 1;
- min: 0 0;
- color: 0 0 0 0;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- }
- description { state: "icononly" 0.0;
- inherit: "default" 0.0;
- }
- }
- part { name: "padding_before_text";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 0.5 1.0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "elm.text";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "padding_right_bottom";
- to_y: "elm.text";
- }
- fixed: 0 1;
- min: 0 0;
- color: 0 0 0 0;
- }
- }
- part { name: "elm.swallow.icon";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.icon.clipper";
- description { state: "default" 0.0;
- visible: 0;
- align: 0.5 0.0;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "padding_right_bottom";
- to_y: "padding_left_top";
- }
- fixed: 0 1;
- }
- description { state: "visible" 0.0;
- fixed: 0 1;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "padding_right_bottom";
- to_y: "padding_before_text";
- }
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- }
- description { state: "icononly" 0.0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- }
- }
- part { name: "elm.swallow.icon_new";
- type: SWALLOW;
- scale: 1;
- clip_to: "elm.icon_new.clipper";
- description { state: "default" 0.0;
- visible: 0;
- align: 0.5 0.0;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "padding_right_bottom";
- to_y: "padding_left_top";
- }
- fixed: 0 1;
- }
- description { state: "visible" 0.0;
- fixed: 0 1;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "padding_right_bottom";
- to_y: "padding_before_text";
- }
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- }
- description { state: "icononly" 0.0;
- min: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- max: BUTTON_CONTROLBAR_ITEM_BUTTON_ICON_SIZE_INC;
- rel1 {
- relative: 1.0 1.0;
- to: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- aspect: 1.0 1.0;
- aspect_preference: HORIZONTAL;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- clip_to: "elm.text.clipper";
- description { state: "default" 0.0;
- visible: 1;
- rel1 {
- relative: 1.0 1.0;
- to_x: "padding_left_top";
- to_y: "padding_after_icon";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC;
- fixed: 1 1;
- text {
- style: "toolbar_style";
- min: 0 1;
- max: 0 1;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
- }
- }
- part { name: "elm.text_new";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- clip_to: "elm.text_new.clipper";
- description { state: "default" 0.0;
- visible: 1;
- rel1 {
- relative: 1.0 1.0;
- to_x: "padding_left_top";
- to_y: "padding_after_icon";
- }
- rel2 {
- relative: 0.0 0.0;
- to: "padding_right_bottom";
- }
- color: BUTTON_NAVIFRAME_DEFAULT_TEXT_COLOR_INC;
- fixed: 1 1;
- text {
- style: "toolbar_style";
- min: 0 1;
- max: 0 1;
- }
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
- }
- }
- part { name: "elm.text.clipper";
- type: RECT;
- description { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description { state: "animation" 0.0;
- color: 255 255 255 0;
- }
- description { state: "disabled" 0.0;
- color: 255 255 255 153;
- }
- }
- part { name: "elm.text_new.clipper";
- type: RECT;
- description { state: "default" 0.0;
- color: 255 255 255 0;
- }
- description { state: "animation" 0.0;
- color: 255 255 255 255;
- }
- }
- part { name: "elm.icon.clipper";
- type: RECT;
- description { state: "default" 0.0;
- color: 255 255 255 255;
- }
- description { state: "animation" 0.0;
- color: 255 255 255 0;
- }
- description { state: "disabled" 0.0;
- color: 255 255 255 153;
- }
- }
- part { name: "elm.icon_new.clipper";
- type: RECT;
- description { state: "default" 0.0;
- color: 255 255 255 0;
- }
- description { state: "animation" 0.0;
- color: 255 255 255 255;
- }
- }
- part { name: "event";
- type: RECT;
- mouse_events: 1;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part { name: "event2";
- type: RECT;
- mouse_events: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- }
- programs {
- program { name: "pressed";
- signal: "mouse,down,1";
- source: "event";
- script {
- if (get_int(item_state) != ITEM_STATE_DISABLED)
- set_state(PART:"bg", "selected", 0.0);
- }
- transition: LINEAR 0.2;
- }
- program { name: "unpressed";
- signal: "mouse,up,1";
- source: "event2";
- action: STATE_SET "default" 0.0;
- target: "bg";
- transition: LINEAR 0.1;
- }
- program { name: "go";
- signal: "mouse,up,1";
- source: "event";
- action: SIGNAL_EMIT "elm,action,click" "elm";
- }
- program { name: "mouse,in";
- signal: "mouse,in";
- source: "event";
- action: SIGNAL_EMIT "elm,mouse,in" "elm";
- }
- program { name: "mouse,out";
- signal: "mouse,out";
- source: "event";
- action: SIGNAL_EMIT "elm,mouse,out" "elm";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "bg";
- after: "disable_text";
- }
- program { name: "disable_text";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- set_state(PART:"elm.text_new", "disabled_visible", 0.0);
- }
- else
- {
- set_state(PART:"elm.text", "disabled", 0.0);
- set_state(PART:"elm.text_new", "disabled", 0.0);
- }
- set_state(PART:"elm.text.clipper", "disabled", 0.0);
- set_state(PART:"elm.icon.clipper", "disabled", 0.0);
- set_int(item_state, ITEM_STATE_DISABLED);
- }
- }
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg";
- after: "enable_text";
- }
- program { name: "enable_text";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled_visible"))
- {
- set_state(PART:"elm.text", "visible", 0.0);
- set_state(PART:"elm.text_new", "visible", 0.0);
- }
- else
- {
- set_state(PART:"elm.text", "default", 0.0);
- set_state(PART:"elm.text_new", "default", 0.0);
- }
- set_state(PART:"elm.text.clipper", "default", 0.0);
- set_state(PART:"elm.icon.clipper", "default", 0.0);
- set_int(item_state, ITEM_STATE_ENABLED);
- }
- }
- program { name: "label_set,animation,forward";
- signal: "elm,state,label_set,forward";
- source: "elm";
- after: "label_set,animation";
- }
- program { name: "label_set,animation,backward";
- signal: "elm,state,label_set,backward";
- source: "elm";
- after: "label_set,animation";
- }
- program { name: "label_set,animation";
- signal: "elm,state,label_set";
- source: "elm";
- action: STATE_SET "animation" 0.0;
- target: "elm.text.clipper";
- target: "elm.text_new.clipper";
- transition: LINEAR 0.2;
- after: "label_set,animation,done";
- }
- program { name: "label_set,animation,done";
- action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
- }
- program { name: "label,reset";
- signal: "elm,state,label,reset";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text.clipper";
- target: "elm.text_new.clipper";
- }
- program { name: "icon_set,animation,forward";
- signal: "elm,state,icon_set,forward";
- source: "elm";
- after: "icon_set,animation";
- }
- program { name: "icon_set,animation,backward";
- signal: "elm,state,icon_set,backward";
- source: "elm";
- after: "icon_set,animation";
- }
- program { name: "icon_set,animation";
- signal: "elm,state,icon_set";
- source: "elm";
- action: STATE_SET "animation" 0.0;
- target: "elm.icon.clipper";
- target: "elm.icon_new.clipper";
- transition: LINEAR 0.2;
- after: "icon_set,animation,done";
- }
- program { name: "icon_set,animation,done";
- action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
- }
- program { name: "icon,reset";
- signal: "elm,state,icon,reset";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.icon.clipper";
- target: "elm.icon_new.clipper";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.icon", st, 30, vl);
- if (!strcmp(st, "icononly"))
- {
- set_state(PART:"elm.swallow.icon", "visible", 0.0);
- set_state(PART:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "visible", 0.0);
- }
- set_state(PART:"elm.text", "visible", 0.0);
- }
- }
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.icon", st, 30, vl);
- if (!strcmp(st, "visible"))
- {
- set_state(PART:"elm.swallow.icon", "icononly", 0.0);
- set_state(PART:"icon_rect", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "icononly", 0.0);
- }
- set_state(PART:"elm.text", "default", 0.0);
- }
- }
- 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.icon", "visible", 0.0);
- set_state(PART:"icon_rect", "visible", 0.0);
- set_state(PART:"padding_after_icon", "visible", 0.0);
- }
- else
- {
- set_state(PART:"elm.swallow.icon", "icononly", 0.0);
- set_state(PART:"icon_rect", "icononly", 0.0);
- set_state(PART:"padding_after_icon", "icononly", 0.0);
- }
- }
- }
- }
- }
-
- group { name: "elm/toolbar/item/ivug-toolbar/item_horizontal";
- inherit: "elm/toolbar/item/ivug-toolbar/default";
- script {
- public item_state = ITEM_STATE_ENABLED;
- }
- parts {
- part { name: "icon_rect";
- description { state: "default" 0.0;
- fixed: 1 0;
- align: 0.0 0.5;
- }
- description { state: "visible" 0.0;
- fixed: 1 0;
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "padding_after_icon";
- description { state: "default" 0.0; //when only icon or no icon is there
- rel1.relative: 1.0 0.0;
- fixed: 1 1;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- min: 6 0;
- }
- }
- part { name: "padding_before_text";
- description { state: "default" 0.0; //when only icon or no icon is there
- align: 1.0 0.5;
- rel1 {
- relative: 0.0 1.0;
- to_x: "elm.text";
- to_y: "padding_left_top";
- }
- rel2 {
- to_x: "elm.text";
- to_y: "padding_right_bottom";
- }
- fixed: 1 0;
- min: 6 0;
- }
- }
- part { name: "elm.swallow.icon";
- description { state: "default" 0.0;
- align: 0.0 0.5;
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- fixed: 1 0;
- }
- description { state: "visible" 0.0;
- fixed: 1 0;
- align: 1.0 0.5;
- rel1 {
- relative: 0.0 1.0;
- to_x: "padding_before_text";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "padding_before_text";
- to_y: "padding_right_bottom";
- }
- aspect_preference: VERTICAL;
- }
- description { state: "icononly" 0.0;
- aspect_preference: VERTICAL;
- }
- }
- part { name: "elm.swallow.icon_new";
- description { state: "default" 0.0;
- align: 0.0 0.5;
- rel2 {
- relative: 1.0 0.0;
- to_x: "padding_left_top";
- to_y: "padding_right_bottom";
- }
- fixed: 1 0;
- }
- description { state: "visible" 0.0;
- fixed: 1 0;
- align: 1.0 0.5;
- rel1 {
- relative: 0.0 1.0;
- to_x: "padding_before_text";
- to_y: "padding_left_top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "padding_before_text";
- to_y: "padding_right_bottom";
- }
- aspect_preference: VERTICAL;
- }
- description { state: "icononly" 0.0;
- aspect_preference: VERTICAL;
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- description { state: "default" 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "padding_after_icon";
- to_y: "padding_left_top";
- }
- text {
- style: "toolbar_style";
- min: 1 0;
- max: 1 0;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
- }
- }
- part { name: "elm.text_new";
- type: TEXTBLOCK;
- description { state: "default" 0.0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "padding_after_icon";
- to_y: "padding_left_top";
- }
- text {
- style: "toolbar_style";
- min: 1 0;
- max: 1 0;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "clicked" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
- }
- description { state: "focused" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: BUTTON_NAVIFRAME_FOCUSED_TEXT_COLOR_INC;
- }
- }
- }
- }
-
- /*group { name: "elm/toolbar/separator/ivug-toolbar/default";
- images {
- image: "separator_v.png" COMP;
- }
- parts {
- part { name: "separator"; // separator group
- description { state: "default" 0.0;
- min: 2 2;
- max: 2 9999;
- rel1.offset: 4 4;
- rel2.offset: -5 -5;
- image {
- normal: "separator_v.png";
- }
- fill {
- smooth: 0;
- }
- }
- }
- }
- }*/
-
- group { name: "elm/toolbar/object/ivug-toolbar/default";
- parts {
- part { name: "elm.swallow.object"; // object group
- type: SWALLOW;
- description {
- state: "default" 0.0;
- }
- }
- }
- }
-}
-