summaryrefslogtreecommitdiff
path: root/widget/res
diff options
context:
space:
mode:
Diffstat (limited to 'widget/res')
-rw-r--r--widget/res/edje/CMakeLists.txt28
-rw-r--r--widget/res/edje/WidgetItemLayout.h41
-rw-r--r--widget/res/edje/WidgetItemLayoutMetrics.h43
-rw-r--r--widget/res/edje/WidgetLayout.h42
-rw-r--r--widget/res/edje/WidgetLayoutMetrics.h42
-rw-r--r--widget/res/edje/widget-item-layout.edc195
-rw-r--r--widget/res/edje/widget-layout-4x2.edc23
-rw-r--r--widget/res/edje/widget-layout-4x4.edc23
-rw-r--r--widget/res/edje/widget-layout.edc182
-rw-r--r--widget/res/images/button_add.pngbin0 -> 2663 bytes
-rw-r--r--widget/res/images/button_add_pressed.pngbin0 -> 2815 bytes
-rw-r--r--widget/res/images/button_delete.pngbin0 -> 3548 bytes
-rw-r--r--widget/res/images/button_delete_pressed.pngbin0 -> 3457 bytes
-rw-r--r--widget/res/images/icon_call.pngbin0 -> 2680 bytes
-rw-r--r--widget/res/images/icon_email.pngbin0 -> 2748 bytes
-rw-r--r--widget/res/images/icon_message.pngbin0 -> 2475 bytes
-rw-r--r--widget/res/images/nocontacts_bg.#.pngbin0 -> 1127 bytes
-rw-r--r--widget/res/images/nocontacts_bg_stroke.#.pngbin0 -> 1171 bytes
-rw-r--r--widget/res/images/preview_4x2.pngbin0 -> 21974 bytes
-rw-r--r--widget/res/images/preview_4x4.pngbin0 -> 59575 bytes
-rw-r--r--widget/res/images/thumbnail_mask.pngbin0 -> 2400 bytes
21 files changed, 619 insertions, 0 deletions
diff --git a/widget/res/edje/CMakeLists.txt b/widget/res/edje/CMakeLists.txt
new file mode 100644
index 0000000..587cfa7
--- /dev/null
+++ b/widget/res/edje/CMakeLists.txt
@@ -0,0 +1,28 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+
+ADD_CUSTOM_TARGET(widget-layout-4x4.edj
+ COMMAND edje_cc ${EDJE_CFLAGS}
+ -id ${CMAKE_CURRENT_SOURCE_DIR}/../images
+ ${CMAKE_CURRENT_SOURCE_DIR}/widget-layout-4x4.edc widget-layout-4x4.edj
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/widget-layout-4x4.edc
+)
+ADD_DEPENDENCIES(${PROJECT_NAME} widget-layout-4x4.edj)
+INSTALL(FILES widget-layout-4x4.edj DESTINATION ${CMAKE_APP_RES_DIR}/edje/widget)
+
+ADD_CUSTOM_TARGET(widget-layout-4x2.edj
+ COMMAND edje_cc ${EDJE_CFLAGS}
+ -id ${CMAKE_CURRENT_SOURCE_DIR}/../images
+ ${CMAKE_CURRENT_SOURCE_DIR}/widget-layout-4x2.edc widget-layout-4x2.edj
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/widget-layout-4x2.edc
+)
+ADD_DEPENDENCIES(${PROJECT_NAME} widget-layout-4x2.edj)
+INSTALL(FILES widget-layout-4x2.edj DESTINATION ${CMAKE_APP_RES_DIR}/edje/widget)
+
+ADD_CUSTOM_TARGET(widget-item-layout.edj
+ COMMAND edje_cc ${EDJE_CFLAGS}
+ -id ${CMAKE_CURRENT_SOURCE_DIR}/../images
+ ${CMAKE_CURRENT_SOURCE_DIR}/widget-item-layout.edc widget-item-layout.edj
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/widget-item-layout.edc
+)
+ADD_DEPENDENCIES(${PROJECT_NAME} widget-item-layout.edj)
+INSTALL(FILES widget-item-layout.edj DESTINATION ${CMAKE_APP_RES_DIR}/edje/widget)
diff --git a/widget/res/edje/WidgetItemLayout.h b/widget/res/edje/WidgetItemLayout.h
new file mode 100644
index 0000000..c4d2b7b
--- /dev/null
+++ b/widget/res/edje/WidgetItemLayout.h
@@ -0,0 +1,41 @@
+/*
+ * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+#ifndef _WIDGET_ITEM_LAYOUT_H_
+#define _WIDGET_ITEM_LAYOUT_H_
+
+#define WIDGET_ITEM_LAYOUT_EDJ "widget-item-layout.edj"
+#define WIDGET_ITEM_STYLE "widget_item"
+
+#define GROUP_BUTTON_DELETE "button_delete"
+#define GROUP_THUMBNAIL "thumbnail"
+
+#define PART_THUMBNAIL "swallow.thumbnail"
+#define PART_THUMBNAIL_MASK "image.thumbnail_mask"
+#define PART_ICON_DELETE "swallow.icon_delete"
+#define PART_ICON_TYPE "swallow.icon_type"
+#define PART_NAME "text.name"
+
+#define BUTTON_DELETE "button_delete.png"
+#define BUTTON_DELETE_PRESSED "button_delete_pressed.png"
+
+#define ICON_CALL "icon_call.png"
+#define ICON_MESSAGE "icon_message.png"
+#define ICON_EMAIL "icon_email.png"
+#define ICON_THUMBNAIL_MASK "thumbnail_mask.png"
+
+#endif /* _WIDGET_ITEM_LAYOUT_H_ */
diff --git a/widget/res/edje/WidgetItemLayoutMetrics.h b/widget/res/edje/WidgetItemLayoutMetrics.h
new file mode 100644
index 0000000..60d3706
--- /dev/null
+++ b/widget/res/edje/WidgetItemLayoutMetrics.h
@@ -0,0 +1,43 @@
+/*
+ * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+#ifndef _WIDGET_ITEM_LAYOUT_METRICS_H_
+#define _WIDGET_ITEM_LAYOUT_METRICS_H_
+
+#define ITEM_PAD_X 4
+#define ITEM_PAD_Y 14
+
+#define ITEM_WIDTH (ITEM_PAD_X+174)
+#define ITEM_HEIGHT (ITEM_PAD_Y+206)
+
+#define THUMBNAIL_SIZE 118
+#define THUMBNAIL_OFFSET_X (ITEM_WIDTH - THUMBNAIL_SIZE)/2
+#define THUMBNAIL_OFFSET_Y ITEM_PAD_Y
+
+#define BUTTON_DELETE_SIZE 62
+#define BUTTON_DELETE_OFFSET_X 8
+#define BUTTON_DELETE_OFFSET_Y 8
+
+#define ICON_TYPE_SIZE 54
+#define ICON_TYPE_OFFSET_X 20
+
+#define NAME_HEIGHT 80
+#define NAME_OFFSET_X ITEM_PAD_X/2
+#define NAME_OFFSET_Y (THUMBNAIL_OFFSET_Y+THUMBNAIL_SIZE+6)
+#define NAME_TEXT_SIZE 28
+
+#endif /* _WIDGET_ITEM_LAYOUT_METRICS_H_ */
diff --git a/widget/res/edje/WidgetLayout.h b/widget/res/edje/WidgetLayout.h
new file mode 100644
index 0000000..0a67320
--- /dev/null
+++ b/widget/res/edje/WidgetLayout.h
@@ -0,0 +1,42 @@
+/*
+ * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+#ifndef _WIDGET_LAYOUT_H_
+#define _WIDGET_LAYOUT_H_
+
+#define WIDGET_LAYOUT_4X4_EDJ "widget-layout-4x4.edj"
+#define WIDGET_LAYOUT_4X2_EDJ "widget-layout-4x2.edj"
+
+#define GROUP_NO_CONTACTS "no_contacts"
+#define GROUP_CONTACTS "contacts"
+#define GROUP_ICON_ADD "icon_add"
+
+#define PART_TITLE "text.title"
+#define PART_HELP "text.help"
+#define PART_ICON "swallow.icon"
+
+#define PART_BUTTON "swallow.button"
+#define PART_CONTENT "swallow.content"
+
+#define NOCONTACTS_BG "nocontacts_bg.#.png"
+#define NOCONTACTS_BORDER "nocontacts_bg_stroke.#.png"
+
+#define BUTTON_ADD "button_add.png"
+#define BUTTON_ADD_PRESSED "button_add_pressed.png"
+#define BUTTON_EDIT_BG "button_edit_bg.png"
+
+#endif /* _WIDGET_LAYOUT_H_ */
diff --git a/widget/res/edje/WidgetLayoutMetrics.h b/widget/res/edje/WidgetLayoutMetrics.h
new file mode 100644
index 0000000..aaf4319
--- /dev/null
+++ b/widget/res/edje/WidgetLayoutMetrics.h
@@ -0,0 +1,42 @@
+/*
+ * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+#ifndef _WIDGET_LAYOUT_METRICS_H_
+#define _WIDGET_LAYOUT_METRICS_H_
+
+#define WIDGET_WIDTH 712
+#define WIDGET_HEIGHT_4X4 772
+#define WIDGET_HEIGHT_4X2 (WIDGET_HEIGHT_4X4/2)
+
+#define BORDER_W 2
+#define BORDER_H 2
+
+#define TITLE_HEIGHT 107
+#define TITLE_OFFSET_Y 75
+#define TITLE_TEXT_SIZE 80
+
+#define HELP_HEIGHT 52
+#define HELP_OFFSET_Y (TITLE_OFFSET_Y+TITLE_HEIGHT+15)
+#define HELP_TEXT_SIZE 30
+
+#define BUTTON_TEXT_SIZE 32
+#define BUTTON_WIDTH 150
+#define BUTTON_HEIGHT 44
+#define BUTTON_OFFSET_X 10
+#define BUTTON_OFFSET_Y 30
+
+#endif /* _WIDGET_LAYOUT_METRICS_H_ */
diff --git a/widget/res/edje/widget-item-layout.edc b/widget/res/edje/widget-item-layout.edc
new file mode 100644
index 0000000..a4de7d2
--- /dev/null
+++ b/widget/res/edje/widget-item-layout.edc
@@ -0,0 +1,195 @@
+/*
+ * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+#include "WidgetItemLayout.h"
+#include "WidgetItemLayoutMetrics.h"
+
+styles {
+ style {
+ name: "text_style";
+ base: "font=Tizen:style=Regular font_size="NAME_TEXT_SIZE" align=center wrap=mixed color=#fafafa style=shadow,bottom_right shadow_color=#00000066 ellipsis=1.0";
+ }
+}
+
+collections {
+ base_scale: 2.6;
+
+ group {
+ name: GROUP_THUMBNAIL;
+ images.image: ICON_THUMBNAIL_MASK COMP;
+
+ parts {
+ part {
+ name: PART_THUMBNAIL;
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ }
+ }
+ part {
+ name: PART_THUMBNAIL_MASK;
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ color: 0 0 0 100;
+ aspect: 1 1;
+ aspect_preference: SOURCE;
+ image.normal: ICON_THUMBNAIL_MASK;
+ rel1 {
+ relative: 0.0 0.0;
+ to: PART_THUMBNAIL;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: PART_THUMBNAIL;
+ }
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "pressed";
+ signal: "mouse,down,*";
+ source: "*";
+ action: STATE_SET "pressed" 0.0;
+ target: PART_THUMBNAIL_MASK;
+ }
+ program {
+ name: "unpressed";
+ signal: "mouse,up,*";
+ source: "*";
+ action: STATE_SET "default" 0.0;
+ target: PART_THUMBNAIL_MASK;
+ }
+ }
+ }
+
+ group {
+ name: GROUP_BUTTON_DELETE;
+ images {
+ image: BUTTON_DELETE COMP;
+ image: BUTTON_DELETE_PRESSED COMP;
+ }
+ parts {
+ part {
+ name: "icon";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ aspect: 1 1;
+ aspect_preference: SOURCE;
+ image.normal: BUTTON_DELETE;
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: BUTTON_DELETE_PRESSED;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "pressed";
+ signal: "mouse,down,*";
+ source: "*";
+ action: STATE_SET "pressed" 0.0;
+ target: "icon";
+ }
+ program {
+ name: "unpressed";
+ signal: "mouse,up,*";
+ source: "*";
+ action: STATE_SET "default" 0.0;
+ target: "icon";
+ }
+ }
+ }
+
+ group {
+ name: "elm/gengrid/item/"WIDGET_ITEM_STYLE"/default";
+ data.item: "contents" PART_THUMBNAIL" "PART_ICON_DELETE" "PART_ICON_TYPE;
+ data.item: "texts" PART_NAME;
+
+ parts {
+ part {
+ name: PART_THUMBNAIL;
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ relative: THUMBNAIL_OFFSET_X/ITEM_WIDTH THUMBNAIL_OFFSET_Y/ITEM_HEIGHT;
+ }
+ rel2 {
+ relative: (THUMBNAIL_OFFSET_X+THUMBNAIL_SIZE)/ITEM_WIDTH (THUMBNAIL_OFFSET_Y+THUMBNAIL_SIZE)/ITEM_HEIGHT;
+ }
+ }
+ }
+ part {
+ name: PART_ICON_DELETE;
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ relative: BUTTON_DELETE_OFFSET_X/ITEM_WIDTH BUTTON_DELETE_OFFSET_Y/ITEM_HEIGHT;
+ }
+ rel2 {
+ relative: (BUTTON_DELETE_OFFSET_X+BUTTON_DELETE_SIZE)/ITEM_WIDTH (BUTTON_DELETE_OFFSET_Y+BUTTON_DELETE_SIZE)/ITEM_HEIGHT;
+ }
+ }
+ }
+ part {
+ name: PART_ICON_TYPE;
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ relative: 1.0-(ICON_TYPE_SIZE-ICON_TYPE_OFFSET_X)/THUMBNAIL_SIZE 1.0-ICON_TYPE_SIZE/THUMBNAIL_SIZE;
+ to: PART_THUMBNAIL;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_y: PART_THUMBNAIL;
+ }
+ }
+ }
+ part {
+ name: PART_NAME;
+ type: TEXTBLOCK;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ relative: NAME_OFFSET_X/ITEM_HEIGHT NAME_OFFSET_Y/ITEM_HEIGHT;
+ }
+ rel2 {
+ relative: 1.0-NAME_OFFSET_X/ITEM_HEIGHT (NAME_OFFSET_Y+NAME_HEIGHT)/ITEM_HEIGHT;
+ }
+ text {
+ align: 0.5 0.0;
+ style: "text_style";
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/widget/res/edje/widget-layout-4x2.edc b/widget/res/edje/widget-layout-4x2.edc
new file mode 100644
index 0000000..a062c51
--- /dev/null
+++ b/widget/res/edje/widget-layout-4x2.edc
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+#include "WidgetLayout.h"
+#include "WidgetLayoutMetrics.h"
+
+#define WIDGET_HEIGHT WIDGET_HEIGHT_4X2
+
+#include "widget-layout.edc"
diff --git a/widget/res/edje/widget-layout-4x4.edc b/widget/res/edje/widget-layout-4x4.edc
new file mode 100644
index 0000000..f7d90e4
--- /dev/null
+++ b/widget/res/edje/widget-layout-4x4.edc
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+#include "WidgetLayout.h"
+#include "WidgetLayoutMetrics.h"
+
+#define WIDGET_HEIGHT WIDGET_HEIGHT_4X4
+
+#include "widget-layout.edc"
diff --git a/widget/res/edje/widget-layout.edc b/widget/res/edje/widget-layout.edc
new file mode 100644
index 0000000..265fdd7
--- /dev/null
+++ b/widget/res/edje/widget-layout.edc
@@ -0,0 +1,182 @@
+/*
+ * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+images {
+ image: BUTTON_ADD COMP;
+ image: BUTTON_ADD_PRESSED COMP;
+}
+
+styles {
+ style {
+ name: "no_contacts_title";
+ base: "font=Tizen:style=Condensed font_size="TITLE_TEXT_SIZE" align=center color=#fafafa style=shadow,bottom_right shadow_color=#00000066";
+ }
+ style {
+ name: "no_contacts_text";
+ base: "font=Tizen:style=Regular font_size="HELP_TEXT_SIZE" align=center color=#fafafa style=shadow,bottom_right shadow_color=#00000066";
+ }
+}
+
+collections {
+ base_scale: 2.6;
+
+ group {
+ name: GROUP_ICON_ADD;
+ parts {
+ part {
+ name: "icon";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ aspect: 1 1;
+ aspect_preference: SOURCE;
+ image.normal: BUTTON_ADD;
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: BUTTON_ADD_PRESSED;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "pressed";
+ signal: "mouse,down,*";
+ source: "*";
+ action: STATE_SET "pressed" 0.0;
+ target: "icon";
+ }
+ program {
+ name: "unpressed";
+ signal: "mouse,up,*";
+ source: "*";
+ action: STATE_SET "default" 0.0;
+ target: "icon";
+ }
+ }
+ }
+
+ group {
+ name: GROUP_NO_CONTACTS;
+
+ images {
+ image: NOCONTACTS_BG COMP;
+ image: NOCONTACTS_BORDER COMP;
+ }
+
+ parts {
+ part {
+ name: "bg";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 15;
+ image.normal: NOCONTACTS_BG;
+ rel1.offset: BORDER_W BORDER_H;
+ rel2.offset: -BORDER_W -BORDER_H;
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 45;
+ }
+ }
+ part {
+ name: "border";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 75;
+ image.normal: NOCONTACTS_BORDER;
+ }
+ }
+ part {
+ name: PART_TITLE;
+ type: TEXTBLOCK;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.relative: 0.0 TITLE_OFFSET_Y/WIDGET_HEIGHT;
+ rel2.relative: 1.0 (TITLE_HEIGHT+TITLE_OFFSET_Y)/WIDGET_HEIGHT;
+ text {
+ align: 0.5 0.0;
+ style: "no_contacts_title";
+ }
+ }
+ }
+ part {
+ name: PART_HELP;
+ type: TEXTBLOCK;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.relative: 0.0 HELP_OFFSET_Y/WIDGET_HEIGHT;
+ rel2.relative: 1.0 (HELP_HEIGHT+HELP_OFFSET_Y)/WIDGET_HEIGHT;
+ text {
+ align: 0.5 0.0;
+ style: "no_contacts_text";
+ }
+ }
+ }
+ programs {
+ program {
+ name: "pressed";
+ signal: "mouse,down,*";
+ source: "*";
+ action: STATE_SET "pressed" 0.0;
+ target: "bg";
+ }
+ program {
+ name: "unpressed";
+ signal: "mouse,up,*";
+ source: "*";
+ action: STATE_SET "default" 0.0;
+ target: "bg";
+ }
+ }
+ }
+ }
+
+ group {
+ name: GROUP_CONTACTS;
+
+ parts {
+ part {
+ name: PART_BUTTON;
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ fixed: 1 1;
+ rel1.relative: 1.0-(BUTTON_WIDTH+BUTTON_OFFSET_X)/WIDGET_WIDTH BUTTON_OFFSET_Y/WIDGET_HEIGHT;
+ rel2.relative: 1.0-BUTTON_OFFSET_X/WIDGET_WIDTH (BUTTON_HEIGHT+BUTTON_OFFSET_Y)/WIDGET_HEIGHT;
+ }
+ }
+ part {
+ name: PART_CONTENT;
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ relative: 0.0 1.0;
+ to_y: PART_BUTTON;
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/widget/res/images/button_add.png b/widget/res/images/button_add.png
new file mode 100644
index 0000000..f351bb6
--- /dev/null
+++ b/widget/res/images/button_add.png
Binary files differ
diff --git a/widget/res/images/button_add_pressed.png b/widget/res/images/button_add_pressed.png
new file mode 100644
index 0000000..d58e935
--- /dev/null
+++ b/widget/res/images/button_add_pressed.png
Binary files differ
diff --git a/widget/res/images/button_delete.png b/widget/res/images/button_delete.png
new file mode 100644
index 0000000..dc1ea13
--- /dev/null
+++ b/widget/res/images/button_delete.png
Binary files differ
diff --git a/widget/res/images/button_delete_pressed.png b/widget/res/images/button_delete_pressed.png
new file mode 100644
index 0000000..2030741
--- /dev/null
+++ b/widget/res/images/button_delete_pressed.png
Binary files differ
diff --git a/widget/res/images/icon_call.png b/widget/res/images/icon_call.png
new file mode 100644
index 0000000..48523e9
--- /dev/null
+++ b/widget/res/images/icon_call.png
Binary files differ
diff --git a/widget/res/images/icon_email.png b/widget/res/images/icon_email.png
new file mode 100644
index 0000000..76ed8ec
--- /dev/null
+++ b/widget/res/images/icon_email.png
Binary files differ
diff --git a/widget/res/images/icon_message.png b/widget/res/images/icon_message.png
new file mode 100644
index 0000000..0d9d35b
--- /dev/null
+++ b/widget/res/images/icon_message.png
Binary files differ
diff --git a/widget/res/images/nocontacts_bg.#.png b/widget/res/images/nocontacts_bg.#.png
new file mode 100644
index 0000000..4c51c13
--- /dev/null
+++ b/widget/res/images/nocontacts_bg.#.png
Binary files differ
diff --git a/widget/res/images/nocontacts_bg_stroke.#.png b/widget/res/images/nocontacts_bg_stroke.#.png
new file mode 100644
index 0000000..dea69c7
--- /dev/null
+++ b/widget/res/images/nocontacts_bg_stroke.#.png
Binary files differ
diff --git a/widget/res/images/preview_4x2.png b/widget/res/images/preview_4x2.png
new file mode 100644
index 0000000..5ceba8d
--- /dev/null
+++ b/widget/res/images/preview_4x2.png
Binary files differ
diff --git a/widget/res/images/preview_4x4.png b/widget/res/images/preview_4x4.png
new file mode 100644
index 0000000..40bfdf8
--- /dev/null
+++ b/widget/res/images/preview_4x4.png
Binary files differ
diff --git a/widget/res/images/thumbnail_mask.png b/widget/res/images/thumbnail_mask.png
new file mode 100644
index 0000000..2a23ded
--- /dev/null
+++ b/widget/res/images/thumbnail_mask.png
Binary files differ