diff options
author | brianjjones <brian.j.jones@intel.com> | 2012-12-14 14:52:54 -0800 |
---|---|---|
committer | brianjjones <brian.j.jones@intel.com> | 2012-12-14 14:52:54 -0800 |
commit | 315ba2d48e8798e3ff4337d5176ab470969b0a5b (patch) | |
tree | 46f67e1a7cf41036f09220d00b0ebbecfc24ed4c /res | |
download | pwlock-315ba2d48e8798e3ff4337d5176ab470969b0a5b.tar.gz pwlock-315ba2d48e8798e3ff4337d5176ab470969b0a5b.tar.bz2 pwlock-315ba2d48e8798e3ff4337d5176ab470969b0a5b.zip |
Initial checkin, plus added NULL string check to prevent segfaultsubmit/trunk/20121214.225357
Diffstat (limited to 'res')
-rwxr-xr-x | res/CMakeLists.txt | 13 | ||||
-rw-r--r-- | res/edje/pwlock-menu-greeting.edc | 304 | ||||
-rw-r--r-- | res/edje/pwlock-popup-checkview.edc | 151 | ||||
-rw-r--r-- | res/edje/pwlock.edc | 4 | ||||
-rw-r--r-- | res/images/A01-9_bg.png | bin | 0 -> 409575 bytes | |||
-rw-r--r-- | res/images/A01-9_controlbar_icon_Next.png | bin | 0 -> 3176 bytes | |||
-rw-r--r-- | res/images/A01-9_controlbar_icon_Previous.png | bin | 0 -> 3243 bytes | |||
-rw-r--r-- | res/images/A01-9_controlbar_icon_Skip.png | bin | 0 -> 3351 bytes | |||
-rw-r--r-- | res/images/A01-9_controlbar_icon_scan.png | bin | 0 -> 3449 bytes | |||
-rw-r--r-- | res/images/A01-9_icon_no_sim.png | bin | 0 -> 8713 bytes |
10 files changed, 472 insertions, 0 deletions
diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt new file mode 100755 index 0000000..47e1eec --- /dev/null +++ b/res/CMakeLists.txt @@ -0,0 +1,13 @@ +ADD_CUSTOM_TARGET(${PACKAGE}.edj + COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/images + ${CMAKE_CURRENT_SOURCE_DIR}/edje/pwlock.edc ${CMAKE_BINARY_DIR}/${PACKAGE}.edj + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/edje/pwlock.edc +) + +ADD_DEPENDENCIES(${PROJECT_NAME} ${PACKAGE}.edj) + +#Install EDJ file +INSTALL(FILES ${CMAKE_BINARY_DIR}/${PACKAGE}.edj DESTINATION ${EDJDIR}) + +#Install Image files +INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/images/ DESTINATION ${IMAGEDIR}) diff --git a/res/edje/pwlock-menu-greeting.edc b/res/edje/pwlock-menu-greeting.edc new file mode 100644 index 0000000..ba1efe0 --- /dev/null +++ b/res/edje/pwlock-menu-greeting.edc @@ -0,0 +1,304 @@ +images { + image: "A01-9_bg.png" COMP; +} + +group { + name: "pwlock-menu-lang"; + + parts { + + part { + name: "bg"; + type: IMAGE; + + description { + state: "default" 0.0; + image { + normal: "A01-9_bg.png"; + } + } + } + + part { + name: "padding-top"; + type: RECT; + scale: 1; + + description { + state: "default" 0.0; + color: 0 0 0 0; + align: 0.0 0.0; + min: 0 358; + fixed: 1.0 1.0; + + rel1 { + relative: 0.0 0.0; + to: "bg"; + } + rel2 { + relative: 1.0 0.0; + to: "bg"; + } + } + } + + part { + name: "text.greeting.1"; + type: TEXT; + mouse_events: 0; + scale: 1; + + 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: 1; + + 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: 1; + + 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: 1; + + 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: 1; + + 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: 1; + + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 16 74; + 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: 1; + + description { + state: "default" 0.0; + align: 1.0 0.0; + min: 16 74; + 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: 1; + + description { + state: "default" 0.0; + align: 0.0 0.0; + min: 0 74; + 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"; + } + } + } + } // ends of parts +} + +group { name: "pwlock-finish"; + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color: 249 249 249 255; + } + } + + part { name: "padding-top"; + type: RECT; + scale: 1; + 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: 1; + 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-popup-checkview.edc b/res/edje/pwlock-popup-checkview.edc new file mode 100644 index 0000000..78d4ec9 --- /dev/null +++ b/res/edje/pwlock-popup-checkview.edc @@ -0,0 +1,151 @@ +group { name: "popup_checkview"; + parts{ + part { name: "pad_t"; + scale : 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + align: 0.5 0.0; + min: 0 14; + fixed: 0 1; + rel1 { + relative: 1.0 0.0;to_x: "pad_l"; + } + rel2 { + relative: 0.0 0.0;to_x: "pad_r"; + } + } + } + part { name: "pad_l"; + scale: 1; + description { state: "default" 0.0; + min : 10 0; + fixed: 1 0; + rel1 { + relative: 0.0 0.0; + } + rel2 { + relative: 0.0 1.0; + } + align: 0.0 0.0; + } + } + part { name: "pad_r"; + scale: 1; + description { state: "default" 0.0; + min : 10 0; + fixed: 1 0; + rel1 { + relative: 1.0 0.0; + } + rel2 { + relative: 1.0 1.0; + } + align: 1.0 0.0; + } + } + part{ name:"elm.swallow.content"; + type: SWALLOW; + scale : 1; + description { state: "default" 0.0; + min: 380 0; + align: 0.5 0.5; + fixed: 1 0; + rel1 { + relative: 0.5 1.0; + to: "pad_t"; + } + rel2 { + relative: 0.5 0.0; + to: "pad_b"; + } + } + } + part { name: "pad_b"; + scale : 1; + mouse_events: 0; + repeat_events: 1; + description { state: "default" 0.0; + align: 0.5 1.0; + min: 0 96; + fixed: 0 1; + rel1 { + relative: 1.0 1.0;to_x: "pad_l"; + } + rel2 { + relative: 0.0 1.0;to_x: "pad_r"; + } + } + } + part { name: "elm.swallow.end"; + type: SWALLOW; + scale : 1; + mouse_events: 1; + repeat_events: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 0.18 0.0; + to: "pad_b"; + } + rel2 { + relative: 1.0 1.0; + to: "pad_b"; + } + } + } + part { name: "elm.text"; + type: TEXT; + scale : 1; + description { state: "default" 0.0; + text { + font: "SLP:style=Medium"; + size: 32; + min: 0 0; + align: 0.5 0.5; + } + color: 249 249 249 255; + align: 0.0 1.0; + rel1 { + relative: 0.0 0.0; + to: "pad_b"; + } + rel2 { + relative: 1.0 1.0; + to: "pad_b"; + } + } + } + } +} + +group { + name: "page/genlist"; + parts { + part { + name: "background"; + type: RECT; + mouse_events: 1; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + color: 249 249 249 255; + } + } + + part { + name: "swl/genlist"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + 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.edc b/res/edje/pwlock.edc new file mode 100644 index 0000000..fa5e47f --- /dev/null +++ b/res/edje/pwlock.edc @@ -0,0 +1,4 @@ +collections { + #include "pwlock-popup-checkview.edc" + #include "pwlock-menu-greeting.edc" +} diff --git a/res/images/A01-9_bg.png b/res/images/A01-9_bg.png Binary files differnew file mode 100644 index 0000000..c083834 --- /dev/null +++ b/res/images/A01-9_bg.png diff --git a/res/images/A01-9_controlbar_icon_Next.png b/res/images/A01-9_controlbar_icon_Next.png Binary files differnew file mode 100644 index 0000000..036bf0d --- /dev/null +++ b/res/images/A01-9_controlbar_icon_Next.png diff --git a/res/images/A01-9_controlbar_icon_Previous.png b/res/images/A01-9_controlbar_icon_Previous.png Binary files differnew file mode 100644 index 0000000..ee40496 --- /dev/null +++ b/res/images/A01-9_controlbar_icon_Previous.png diff --git a/res/images/A01-9_controlbar_icon_Skip.png b/res/images/A01-9_controlbar_icon_Skip.png Binary files differnew file mode 100644 index 0000000..bacd750 --- /dev/null +++ b/res/images/A01-9_controlbar_icon_Skip.png diff --git a/res/images/A01-9_controlbar_icon_scan.png b/res/images/A01-9_controlbar_icon_scan.png Binary files differnew file mode 100644 index 0000000..ea1c7f1 --- /dev/null +++ b/res/images/A01-9_controlbar_icon_scan.png diff --git a/res/images/A01-9_icon_no_sim.png b/res/images/A01-9_icon_no_sim.png Binary files differnew file mode 100644 index 0000000..1c52a78 --- /dev/null +++ b/res/images/A01-9_icon_no_sim.png |