summaryrefslogtreecommitdiff
path: root/res/edje
diff options
context:
space:
mode:
authorHyungKyu Song <hk76.song@samsung.com>2013-02-16 00:00:49 +0900
committerHyungKyu Song <hk76.song@samsung.com>2013-02-16 00:00:49 +0900
commit7399cefde5c72f54a84f95f9fdb493377977ad52 (patch)
tree20bc360a5c906db06dbcd2ffbc967297767ec63b /res/edje
parent80695614233c7e90e9ac9d38cd816f9fbeb07d52 (diff)
downloadpwlock-7399cefde5c72f54a84f95f9fdb493377977ad52.tar.gz
pwlock-7399cefde5c72f54a84f95f9fdb493377977ad52.tar.bz2
pwlock-7399cefde5c72f54a84f95f9fdb493377977ad52.zip
Diffstat (limited to 'res/edje')
-rw-r--r--res/edje/images/A01-9_bg.pngbin0 -> 409575 bytes
-rw-r--r--res/edje/images/A01-9_button_background_nomal_dim.pngbin0 -> 3045 bytes
-rw-r--r--res/edje/images/A01-9_button_background_nomal_focus.pngbin0 -> 3003 bytes
-rw-r--r--res/edje/images/A01-9_button_background_nomal_nomal.pngbin0 -> 3045 bytes
-rw-r--r--res/edje/images/A01-9_button_background_nomal_press.pngbin0 -> 3411 bytes
-rw-r--r--res/edje/images/A01-9_button_bottom_nomal.pngbin0 -> 2965 bytes
-rw-r--r--res/edje/images/A01-9_button_bottom_nomal_dim.pngbin0 -> 2965 bytes
-rw-r--r--res/edje/images/A01-9_button_bottom_nomal_focus.pngbin0 -> 3003 bytes
-rw-r--r--res/edje/images/A01-9_button_bottom_nomal_press.pngbin0 -> 3411 bytes
-rw-r--r--res/edje/images/A01-9_icon_no_sim.pngbin0 -> 8713 bytes
-rw-r--r--res/edje/pwlock-button.edc958
-rw-r--r--res/edje/pwlock-lock-ui.edc116
-rw-r--r--res/edje/pwlock-menu-greeting.edc388
-rw-r--r--res/edje/pwlock-nosim-ui.edc186
-rw-r--r--res/edje/pwlock.edc16
-rw-r--r--res/edje/sounds/S_Touch_30ms.wavbin0 -> 24740 bytes
16 files changed, 1664 insertions, 0 deletions
diff --git a/res/edje/images/A01-9_bg.png b/res/edje/images/A01-9_bg.png
new file mode 100644
index 0000000..c083834
--- /dev/null
+++ b/res/edje/images/A01-9_bg.png
Binary files differ
diff --git a/res/edje/images/A01-9_button_background_nomal_dim.png b/res/edje/images/A01-9_button_background_nomal_dim.png
new file mode 100644
index 0000000..1822db1
--- /dev/null
+++ b/res/edje/images/A01-9_button_background_nomal_dim.png
Binary files differ
diff --git a/res/edje/images/A01-9_button_background_nomal_focus.png b/res/edje/images/A01-9_button_background_nomal_focus.png
new file mode 100644
index 0000000..06c39d8
--- /dev/null
+++ b/res/edje/images/A01-9_button_background_nomal_focus.png
Binary files differ
diff --git a/res/edje/images/A01-9_button_background_nomal_nomal.png b/res/edje/images/A01-9_button_background_nomal_nomal.png
new file mode 100644
index 0000000..1822db1
--- /dev/null
+++ b/res/edje/images/A01-9_button_background_nomal_nomal.png
Binary files differ
diff --git a/res/edje/images/A01-9_button_background_nomal_press.png b/res/edje/images/A01-9_button_background_nomal_press.png
new file mode 100644
index 0000000..2c43c71
--- /dev/null
+++ b/res/edje/images/A01-9_button_background_nomal_press.png
Binary files differ
diff --git a/res/edje/images/A01-9_button_bottom_nomal.png b/res/edje/images/A01-9_button_bottom_nomal.png
new file mode 100644
index 0000000..c0a7b91
--- /dev/null
+++ b/res/edje/images/A01-9_button_bottom_nomal.png
Binary files differ
diff --git a/res/edje/images/A01-9_button_bottom_nomal_dim.png b/res/edje/images/A01-9_button_bottom_nomal_dim.png
new file mode 100644
index 0000000..c0a7b91
--- /dev/null
+++ b/res/edje/images/A01-9_button_bottom_nomal_dim.png
Binary files differ
diff --git a/res/edje/images/A01-9_button_bottom_nomal_focus.png b/res/edje/images/A01-9_button_bottom_nomal_focus.png
new file mode 100644
index 0000000..06c39d8
--- /dev/null
+++ b/res/edje/images/A01-9_button_bottom_nomal_focus.png
Binary files differ
diff --git a/res/edje/images/A01-9_button_bottom_nomal_press.png b/res/edje/images/A01-9_button_bottom_nomal_press.png
new file mode 100644
index 0000000..2c43c71
--- /dev/null
+++ b/res/edje/images/A01-9_button_bottom_nomal_press.png
Binary files differ
diff --git a/res/edje/images/A01-9_icon_no_sim.png b/res/edje/images/A01-9_icon_no_sim.png
new file mode 100644
index 0000000..1c52a78
--- /dev/null
+++ b/res/edje/images/A01-9_icon_no_sim.png
Binary files differ
diff --git a/res/edje/pwlock-button.edc b/res/edje/pwlock-button.edc
new file mode 100644
index 0000000..535c03d
--- /dev/null
+++ b/res/edje/pwlock-button.edc
@@ -0,0 +1,958 @@
+#define BUTTON_TEXT_STYLE1_NORMAL_COLOR_INC 249 249 249 255
+#define BUTTON_TEXT_STYLE1_PRESSED_COLOR_INC 249 249 249 255
+#define BUTTON_TEXT_STYLE1_FOCUSED_COLOR_INC 249 249 249 255
+#define BUTTON_TEXT_STYLE1_DISABLED_COLOR_INC 249 249 249 102
+#define BUTTON_TEXT_STYLE1_TEXT_DISABLED_COLOR_INC 180 180 1 255
+
+#define BUTTON_TEXT_STYLE2_BG_MIN_INC 100 72
+#define BUTTON_TEXT_STYLE2_VISIBLE_BG_MIN_INC 148 74
+#define BUTTON_TEXT_STYLE2_ICONONLY_BG_MIN_INC 74 74
+#define BUTTON_TEXT_STYLE2_BG_BORDER_INC 5 5 5 5
+#define BUTTON_TEXT_STYLE2_PADDING_MIN_INC 5 3
+#define BUTTON_TEXT_STYLE2_VISIBLE_ICON_RECT_MIN_MAX_INC 38 38
+#define BUTTON_TEXT_STYLE2_VISIBLE_PADDING_ICON_TEXT_MIN_INC 10 0
+#define BUTTON_TEXT_STYLE2_VISIBLE_ICON_MIN_MAX_INC 38 38
+#define BUTTON_TEXT_STYLE2_ICONONLY_ICON_MIN_MAX_INC 38 38
+#define BUTTON_TEXT_STYLE2_FONT_SIZE_INC 36
+#define BUTTON_TEXT_STYLE2_MULTILINE_FONT_SIZE_INC 32
+
+#define BUTTON_STATE_ENABLED 0
+#define BUTTON_STATE_DISABLED 1
+
+sounds {
+ sample {
+ name: "touch_sound" AS_IS;
+ source: "S_Touch_30ms.wav";
+ }
+}
+
+group { name: "elm/button/base/pwlock/lang_btn";
+ images {
+ image: "A01-9_button_background_nomal_nomal.png" COMP;
+ image: "A01-9_button_background_nomal_press.png" COMP;
+ image: "A01-9_button_background_nomal_dim.png" COMP;
+ image: "A01-9_button_background_nomal_focus.png" COMP;
+ }
+ script {
+ public button_state = BUTTON_STATE_ENABLED;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 0;
+ description { state: "default" 0.0;
+ image {
+ normal: "A01-9_button_background_nomal_nomal.png";
+ border: BUTTON_TEXT_STYLE2_BG_BORDER_INC;
+ border_scale: 0;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "A01-9_button_background_nomal_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "A01-9_button_background_nomal_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "A01-9_button_background_nomal_focus.png";
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 0;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: BUTTON_TEXT_STYLE2_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ scale: 0;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_TEXT_STYLE2_BG_MIN_INC;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TEXT_STYLE2_VISIBLE_BG_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TEXT_STYLE2_ICONONLY_BG_MIN_INC;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 0;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: BUTTON_TEXT_STYLE2_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "icon_rect";
+ type: RECT;
+ scale: 0;
+ 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_STYLE2_VISIBLE_ICON_RECT_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE2_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: 0;
+ 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_STYLE2_VISIBLE_PADDING_ICON_TEXT_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_before_text";
+ type: RECT;
+ scale: 0;
+ 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_STYLE2_VISIBLE_PADDING_ICON_TEXT_MIN_INC;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 0;
+ 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_STYLE2_VISIBLE_ICON_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE2_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_STYLE2_ICONONLY_ICON_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE2_ICONONLY_ICON_MIN_MAX_INC;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 0;
+ 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: "SLP:style=Medium";
+ size: BUTTON_TEXT_STYLE2_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ text_class: "slp_medium";
+ }
+ }
+ 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: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ 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/pwlock/bottom_btn";
+ images {
+ image: "A01-9_button_bottom_nomal.png" COMP;
+ image: "A01-9_button_bottom_nomal_press.png" COMP;
+ image: "A01-9_button_bottom_nomal_dim.png" COMP;
+ image: "A01-9_button_bottom_nomal_focus.png" COMP;
+ }
+ script {
+ public button_state = BUTTON_STATE_ENABLED;
+ }
+ parts {
+ part { name: "button_image";
+ scale: 0;
+ description { state: "default" 0.0;
+ image {
+ normal: "A01-9_button_bottom_nomal.png";
+ border: BUTTON_TEXT_STYLE2_BG_BORDER_INC;
+ border_scale: 0;
+ }
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "A01-9_button_bottom_nomal_press.png";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "A01-9_button_bottom_nomal_dim.png";
+ }
+ description { state: "focused" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "A01-9_button_bottom_nomal_focus.png";
+ }
+ }
+ part { name: "padding_left_top";
+ type: RECT;
+ scale: 0;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: BUTTON_TEXT_STYLE2_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "bg";
+ type: RECT;
+ scale: 0;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: BUTTON_TEXT_STYLE2_BG_MIN_INC;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TEXT_STYLE2_VISIBLE_BG_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ min: BUTTON_TEXT_STYLE2_ICONONLY_BG_MIN_INC;
+ }
+ }
+ part { name: "padding_right_bottom";
+ type: RECT;
+ scale: 0;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: BUTTON_TEXT_STYLE2_PADDING_MIN_INC;
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part { name: "icon_rect";
+ type: RECT;
+ scale: 0;
+ 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_STYLE2_VISIBLE_ICON_RECT_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE2_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: 0;
+ 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_STYLE2_VISIBLE_PADDING_ICON_TEXT_MIN_INC;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ }
+ part { name: "padding_before_text";
+ type: RECT;
+ scale: 0;
+ 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_STYLE2_VISIBLE_PADDING_ICON_TEXT_MIN_INC;
+ visible: 0;
+ }
+ }
+ part { name: "elm.swallow.content";
+ type: SWALLOW;
+ scale: 0;
+ 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_STYLE2_VISIBLE_ICON_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE2_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_STYLE2_ICONONLY_ICON_MIN_MAX_INC;
+ max: BUTTON_TEXT_STYLE2_ICONONLY_ICON_MIN_MAX_INC;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 0;
+ 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: "SLP:style=Medium";
+ size: BUTTON_TEXT_STYLE2_FONT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ text_class: "slp_medium";
+ }
+ }
+ 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: "touch_snd";
+ signal: "mouse,clicked,1";
+ source: "over2";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
+ after: button_unclick3;
+ }
+ program { name: "button_unclick3";
+ 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";
+ }
+ }
+}
+
diff --git a/res/edje/pwlock-lock-ui.edc b/res/edje/pwlock-lock-ui.edc
new file mode 100644
index 0000000..df7b641
--- /dev/null
+++ b/res/edje/pwlock-lock-ui.edc
@@ -0,0 +1,116 @@
+group {
+ name: "pwlock-lock-ui";
+ parts {
+ part {
+ name: "background";
+ type: RECT;
+ mouse_events: 1;
+ scale: 0;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ color: 248 246 239 255;
+ }
+ }
+
+ part { name: "toolbar_bg";
+ type: RECT;
+ scale: 0;
+ description { state: "default" 0.0;
+ min: 0 92;
+ max: 999999 92;
+ fixed: 0 1;
+ align: 1.0 0.0;
+ visible: 0;
+ rel1 { to: "background"; }
+ rel2 { to: "background"; }
+ }
+ }
+
+ part { name: "toolbar_btns_area";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0; to: toolbar_bg; offset: 16 0; }
+ rel2 { relative: 1.0 1.0; to: toolbar_bg; offset: -16 -20; }
+ visible: 0;
+ }
+ }
+
+ part { name: "toolbar_button_padding";
+ type: RECT;
+ scale : 0;
+ description { state: "default" 0.0;
+ min: 15 0;
+ max: 15 9999;
+ fixed : 1 0;
+ visible: 0;
+ align: 0.5 0.5;
+ rel1.to: "toolbar_btns_area";
+ rel2.to: "toolbar_btns_area";
+ }
+ }
+
+ part { name: "toolbar_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "toolbar_bg"; }
+ rel2 { to: "toolbar_bg"; }
+ }
+ }
+
+ part {
+ name: "button.select.emergency";
+ type: SWALLOW;
+ scale: 0;
+ clip_to: "toolbar_clip";
+
+ description {
+ state: "default" 0.0;
+ align: 1.0 0.5;
+ fixed: 1 1;
+
+ rel1.to: "toolbar_btns_area";
+ rel2 {
+ relative: 0.0 1.0;
+ to: "toolbar_button_padding";
+ }
+ }
+ }
+
+ part {
+ name: "button.select.done";
+ type: SWALLOW;
+ scale: 0;
+ clip_to: "toolbar_clip";
+
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.5;
+ fixed: 1 1;
+
+ rel1 {
+ relative: 1.0 0.0;
+ to: "toolbar_button_padding";
+ }
+ rel2.to: "toolbar_btns_area";
+ }
+ }
+
+ part {
+ name: "swl/genlist";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 0;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to: "background"; }
+ rel2 { relative: 1.0 1.0; to: "background"; }
+ color: 0 0 0 0;
+ }
+ }
+ }
+}
diff --git a/res/edje/pwlock-menu-greeting.edc b/res/edje/pwlock-menu-greeting.edc
new file mode 100644
index 0000000..a639f48
--- /dev/null
+++ b/res/edje/pwlock-menu-greeting.edc
@@ -0,0 +1,388 @@
+
+group {
+ name: "pwlock-menu-lang";
+ images {
+ image: "A01-9_bg.png" COMP;
+ }
+
+ parts {
+
+ part {
+ name: "bg";
+ type: IMAGE;
+
+ description {
+ state: "default" 0.0;
+ image {
+ normal: "A01-9_bg.png";
+ }
+ }
+ }
+
+ part {
+ name: "padding-top";
+ type: RECT;
+ scale: 0;
+
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ fixed: 1.0 1.0;
+
+ rel1 {
+ relative: 0.0 0.0;
+ to: "bg";
+ }
+ rel2 {
+ relative: 1.0 358/1210;
+ to: "bg";
+ }
+ }
+ }
+
+ part {
+ name: "text.greeting.1";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 0;
+
+ description {
+ state: "default" 0.0;
+ min: 0 46;
+ align: 0.0 0.0;
+ fixed: 1.0 1.0;
+
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "bg";
+ to_y: "padding-top";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "bg";
+ to_y: "padding-top";
+ }
+ text {
+ font: "SLP:style=Roman";
+ text_class:"slp_roman";
+ size: 44;
+ min: 0 0;
+ align: 0.5 0.5;
+ }
+ }
+ }
+
+ part {
+ name: "text.greeting.2";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 0;
+
+ description {
+ state: "default" 0.0;
+ min: 0 88;
+ align: 0.0 0.0;
+ fixed: 1.0 1.0;
+
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "bg";
+ to_y: "text.greeting.1";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "bg";
+ to_y: "text.greeting.1";
+ }
+ text {
+ font: "SLP:style=Medium";
+ text_class:"slp_medium";
+ size: 86;
+ min: 0 0;
+ align: 0.5 0.5;
+ }
+ }
+ }
+
+ part {
+ name: "space.from.greeting";
+ type: RECT;
+ scale: 0;
+
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ min: 0 82;
+ fixed: 1.0 1.0;
+
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "bg";
+ to_y: "text.greeting.2";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "bg";
+ to_y: "text.greeting.2";
+ }
+ }
+ }
+
+ part {
+ name: "text.help";
+ type: TEXT;
+ scale: 0;
+
+ description {
+ state: "default" 0.0;
+ min: 0 38;
+ align: 0.0 0.0;
+ fixed: 1 1;
+
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "bg";
+ to_y: "space.from.greeting";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "bg";
+ to_y: "space.from.greeting";
+ }
+ text {
+ font: "SLP:style=Roman";
+ text_class:"slp_roman";
+ size: 32;
+ min: 0 0;
+ align: 0.5 0.5;
+ }
+ }
+ }
+
+ part {
+ name: "space.from.text.help";
+ type: RECT;
+ scale: 0;
+
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ min: 0 24;
+ fixed: 1.0 1.0;
+
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "bg";
+ to_y: "text.help";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "bg";
+ to_y: "text.help";
+ }
+ }
+ }
+
+ part {
+ name: "space.select.lang.left";
+ type: SWALLOW;
+ scale: 0;
+
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 40 72;
+ fixed: 1 1;
+
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "bg";
+ to_y: "space.from.text.help";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "bg";
+ to_y: "space.from.text.help";
+ }
+ }
+ }
+
+ part {
+ name: "space.select.lang.right";
+ type: SWALLOW;
+ scale: 0;
+
+ description {
+ state: "default" 0.0;
+ align: 1.0 0.0;
+ min: 40 72;
+ fixed: 1 1;
+
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "bg";
+ to_y: "space.from.text.help";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "bg";
+ to_y: "space.from.text.help";
+ }
+ }
+ }
+
+ part {
+ name: "button.select.lang";
+ type: SWALLOW;
+ scale: 0;
+
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 0 72;
+ fixed: 1 1;
+
+ rel1 {
+ relative: 1.0 0.0;
+ to: "space.select.lang.left";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "space.select.lang.right";
+ }
+ }
+ }
+ part { name: "toolbar_bg";
+ type: RECT;
+ scale: 0;
+ description { state: "default" 0.0;
+ min: 0 92;
+ max: 999999 92;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ visible: 0;
+ rel1 { to: "bg"; }
+ rel2 { to: "bg"; }
+ }
+ }
+
+ part { name: "toolbar_btns_area";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 { relative: 0.0 0.0; to: toolbar_bg; offset: 16 0; }
+ rel2 { relative: 1.0 1.0; to: toolbar_bg; offset: -16 -20; }
+ visible: 0;
+ }
+ }
+
+ part { name: "toolbar_button_padding";
+ type: RECT;
+ scale : 0;
+ description { state: "default" 0.0;
+ min: 15 0;
+ max: 15 9999;
+ fixed : 1 0;
+ visible: 0;
+ align: 0.5 0.5;
+ rel1.to: "toolbar_btns_area";
+ rel2.to: "toolbar_btns_area";
+ }
+ }
+
+ part { name: "toolbar_clip";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1 { to: "toolbar_bg"; }
+ rel2 { to: "toolbar_bg"; }
+ }
+ }
+
+ part {
+ name: "button.select.emergency";
+ type: SWALLOW;
+ scale: 0;
+ clip_to: "toolbar_clip";
+
+ description {
+ state: "default" 0.0;
+ align: 1.0 0.5;
+ fixed: 1 1;
+
+ rel1.to: "toolbar_btns_area";
+ rel2 {
+ relative: 0.0 1.0;
+ to: "toolbar_button_padding";
+ }
+ }
+ }
+
+ part {
+ name: "button.select.start";
+ type: SWALLOW;
+ scale: 0;
+ clip_to: "toolbar_clip";
+
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.5;
+ fixed: 1 1;
+
+ rel1 {
+ relative: 1.0 0.0;
+ to: "toolbar_button_padding";
+ }
+ rel2.to: "toolbar_btns_area";
+ }
+ }
+ } // ends of parts
+}
+
+group { name: "pwlock-finish";
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 0;
+ description { state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ color: 248 246 239 255;
+ }
+ }
+
+ part { name: "padding-top";
+ type: RECT;
+ scale: 0;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ min: 0 100;
+ fixed: 1.0 1.0;
+
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 0.0; to: "bg"; }
+ }
+ }
+
+ part { name: "swl/label";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 0;
+ description { state: "default" 0.0;
+ min: 0 46;
+ align: 0.0 0.0;
+ fixed: 1.0 1.0;
+
+ rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "padding-top"; }
+ rel2 { relative: 1.0 1.0; to_x: "bg"; to_y: "padding-top"; }
+
+ }
+ }
+ }
+}
+
diff --git a/res/edje/pwlock-nosim-ui.edc b/res/edje/pwlock-nosim-ui.edc
new file mode 100644
index 0000000..cdd5b12
--- /dev/null
+++ b/res/edje/pwlock-nosim-ui.edc
@@ -0,0 +1,186 @@
+
+group { name: "pwlock-nosim-ui";
+ images {
+ image: "A01-9_icon_no_sim.png" COMP;
+ }
+
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 0;
+
+ description { state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ color: 248 246 239 255;
+ }
+ }
+
+ part { name: "padding-top";
+ type: RECT;
+ scale: 0;
+
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ min: 0 72;
+ fixed: 1.0 1.0;
+
+ rel1 { relative: 0.0 0.0;
+ to: "bg";
+ }
+ rel2 { relative: 1.0 0.0;
+ to: "bg";
+ }
+ }
+ }
+
+ part { name: "image.nosim";
+ type: IMAGE;
+ description { state: "default" 0.0;
+ min: 280 280;
+ max: 280 280;
+ fixed: 1 1;
+
+ rel1 { relative: 0.0 1.0;
+ to: "padding-top";
+ }
+ rel2 { relative: 1.0 1.0;
+ to: "padding-top";
+ offset: 0 280;
+ }
+ image { normal: "A01-9_icon_no_sim.png"; }
+ }
+ }
+
+ part { name: "space.from.image.nosim";
+ type: RECT;
+ scale: 0;
+
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ min: 0 30;
+ fixed: 1.0 1.0;
+
+ rel1 { relative: 0.0 1.0;
+ to_x: "bg";
+ to_y: "image.nosim";
+ }
+ rel2 { relative: 1.0 1.0;
+ to_x: "bg";
+ to_y: "image.nosim";
+ }
+ }
+ }
+
+ part { name: "padding-left";
+ type: RECT;
+ scale: 0;
+
+ description {state: "default" 0.0;
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ min: 40 0;
+ fixed: 1.0 1.0;
+
+ rel1 { relative: 0.0 1.0;
+ to_x: "bg";
+ to_y: "space.from.image.nosim";
+ }
+ rel2 { relative: 0.0 1.0;
+ to_x: "bg";
+ to_y: "space.from.image.nosim";
+ }
+ }
+ }
+
+ part { name: "padding-right";
+ type: RECT;
+ scale: 0;
+
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ align: 1.0 0.0;
+ min: 40 0;
+ fixed: 1.0 1.0;
+
+ rel1 { relative: 1.0 1.0;
+ to_x: "bg";
+ to_y: "space.from.image.nosim";
+ }
+ rel2 { relative: 1.0 1.0;
+ to_x: "bg";
+ to_y: "space.from.image.nosim";
+ }
+ }
+ }
+
+ part { name: "text.help";
+ type: TEXTBLOCK;
+ scale: 0;
+
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ min: 0 304;
+
+ rel1 { relative: 1.0 1.0;
+ to_x: "padding-left";
+ to_y: "space.from.image.nosim";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "padding-right";
+ to_y: "space.from.image.nosim";
+ offset: 0 304;
+ }
+ text {
+ style: pwlock_help_text_style;
+ }
+ }
+ }
+
+ part { name: "space.from.text.help";
+ type: RECT;
+ scale: 0;
+
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ align: 0.0 0.0;
+ min: 0 40;
+ fixed: 1.0 1.0;
+
+ rel1 { relative: 0.0 1.0;
+ to_x: "bg";
+ to_y: "text.help";
+ }
+ rel2 { relative: 1.0 1.0;
+ to_x: "bg";
+ to_y: "text.help";
+ }
+ }
+ }
+
+ part { name: "button.select.retry";
+ type: SWALLOW;
+ scale: 0;
+
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 0 72;
+ fixed: 1 1;
+
+ rel1 { relative: 1.0 1.0;
+ to_x: "padding-left";
+ to_y: "space.from.text.help";
+ }
+ rel2 { relative: 0.0 1.0;
+ to_x: "padding-right";
+ to_y: "space.from.text.help";
+ }
+ }
+ }
+
+ } // ends of parts
+}
+
diff --git a/res/edje/pwlock.edc b/res/edje/pwlock.edc
new file mode 100644
index 0000000..2e75a01
--- /dev/null
+++ b/res/edje/pwlock.edc
@@ -0,0 +1,16 @@
+collections {
+ styles {
+ style { name: "pwlock_help_text_style";
+ base: "font=SLP:style=Regular font_size=32 color=#7c7c7c wrap=word";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=SLP:style=Bold";
+ tag: "b" "+ font=SLP:style=Bold";
+ tag: "tab" "\t";
+ }
+ }
+
+ #include "pwlock-button.edc"
+ #include "pwlock-lock-ui.edc"
+ #include "pwlock-menu-greeting.edc"
+ #include "pwlock-nosim-ui.edc"
+}
diff --git a/res/edje/sounds/S_Touch_30ms.wav b/res/edje/sounds/S_Touch_30ms.wav
new file mode 100644
index 0000000..99ba74d
--- /dev/null
+++ b/res/edje/sounds/S_Touch_30ms.wav
Binary files differ