summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authormoon87.park <moon87.park@samsung.com>2015-12-02 11:51:31 +0900
committermoon87.park <moon87.park@samsung.com>2015-12-02 11:51:54 +0900
commit1ac14423e2821f7f25cdc01c33da29738c421221 (patch)
tree3d4f0b0b0a9551bebc10d7195a8f7f8a61bd581c /res
parent180e260cf4a37bd782735412f84fcf34c3c28f11 (diff)
downloadshare-panel-1ac14423e2821f7f25cdc01c33da29738c421221.tar.gz
share-panel-1ac14423e2821f7f25cdc01c33da29738c421221.tar.bz2
share-panel-1ac14423e2821f7f25cdc01c33da29738c421221.zip
[Share-panel] Initial Version
Change-Id: I4d3ce04e2e136bee39fa8a972c7eb405ab8297f7
Diffstat (limited to 'res')
-rw-r--r--res/A01-1_icon_Menu.pngbin0 -> 7119 bytes
-rw-r--r--res/CMakeLists.txt1
-rwxr-xr-xres/edje/CMakeLists.txt15
l---------res/edje/conf.edc1
-rw-r--r--res/edje/item.edc51
-rw-r--r--res/edje/layout.edc201
-rw-r--r--res/edje/page.edc52
7 files changed, 321 insertions, 0 deletions
diff --git a/res/A01-1_icon_Menu.png b/res/A01-1_icon_Menu.png
new file mode 100644
index 0000000..962f4cb
--- /dev/null
+++ b/res/A01-1_icon_Menu.png
Binary files differ
diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt
new file mode 100644
index 0000000..2ab7c7b
--- /dev/null
+++ b/res/CMakeLists.txt
@@ -0,0 +1 @@
+ADD_SUBDIRECTORY(edje)
diff --git a/res/edje/CMakeLists.txt b/res/edje/CMakeLists.txt
new file mode 100755
index 0000000..692667f
--- /dev/null
+++ b/res/edje/CMakeLists.txt
@@ -0,0 +1,15 @@
+FILE(GLOB edc_files ${CMAKE_CURRENT_SOURCE_DIR}/*.edc)
+FOREACH(edc_file ${edc_files})
+ GET_FILENAME_COMPONENT( FName ${edc_file} NAME_WE )
+ MESSAGE("${FName}")
+ ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${FName}.edj
+ COMMAND edje_cc -id ${CMAKE_CURRENT_SOURCE_DIR}/../images
+ ${CMAKE_CURRENT_SOURCE_DIR}/${FName}.edc ${FName}.edj ${EDJE_CFLAGS}
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${FName}.edc
+ )
+ ADD_CUSTOM_TARGET(${FName}.edj DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${FName}.edj)
+ ADD_DEPENDENCIES(${PROJECT_NAME} ${FName}.edj)
+ENDFOREACH(edc_file)
+
+# install edc files
+INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ DESTINATION ${EDJEDIR} FILES_MATCHING PATTERN "*.edj")
diff --git a/res/edje/conf.edc b/res/edje/conf.edc
new file mode 120000
index 0000000..de97229
--- /dev/null
+++ b/res/edje/conf.edc
@@ -0,0 +1 @@
+../../include/conf.h \ No newline at end of file
diff --git a/res/edje/item.edc b/res/edje/item.edc
new file mode 100644
index 0000000..91e316e
--- /dev/null
+++ b/res/edje/item.edc
@@ -0,0 +1,51 @@
+/*
+ * Copyright (c) 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.
+ */
+
+collections {
+ base_scale: 1.7;
+ group {
+ name: "grid,icon";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ color: 255 255 255 0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "icon";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.5 0.55; to: "bg"; }
+ rel2 { relative: 0.5 0.55; to: "bg"; }
+ fixed: 1 1;
+ align: 0.5 0.5;
+ visible: 1;
+ }
+ }
+ }
+ }
+} //collections
diff --git a/res/edje/layout.edc b/res/edje/layout.edc
new file mode 100644
index 0000000..878a9a5
--- /dev/null
+++ b/res/edje/layout.edc
@@ -0,0 +1,201 @@
+/*
+ * Copyright (c) 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 "conf.edc"
+
+styles {
+ style {
+ name: "text_style";
+ base: "font=Tizen:style=Regular font_size=50 color=#3DBACD align=center wrap=mixed ellipsis=-1";
+ tag: "br" "\n";
+ tag: "hilight" "+ font_weight=Bold";
+ tag: "b" "+ font_weight=Bold";
+ tag: "tab" "\t";
+ }
+}
+
+collections {
+ base_scale: 2.6;
+ group {
+ name: "layout";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ visible: 1;
+ color: 8 8 8 80;
+ }
+ }
+ part {
+ name: "event";
+ type: SWALLOW;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; to: "bg"; }
+ rel2 { relative: 1.0 1.0; to: "bg"; }
+ visible: 1;
+ }
+ }
+ part {
+ name: "fixed_bg";
+ type: SWALLOW;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.5 1.0; }
+ rel2 { relative: 0.5 1.0; }
+ align: 0.5 1.0;
+ fixed: 1 1;
+ visible: 1;
+ }
+ description {
+ state: "1line" 0.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 0.5 1.15; }
+ rel2 { relative: 0.5 1.15; }
+ }
+ description {
+ state: "1line,land" 0.0;
+ inherit: "default" 0.0;
+ rel1 { relative: 0.5 1.25; }
+ rel2 { relative: 0.5 1.25; }
+ }
+ }
+ part {
+ name: "title,bg";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 (BASE_HEIGHT-PANEL_HEIGHT)/BASE_HEIGHT; to: "fixed_bg"; }
+ rel2 { relative: 1.0 (BASE_HEIGHT-(SCROLLER_HEIGHT+INDEX_HEIGHT))/BASE_HEIGHT; to: "fixed_bg"; }
+ visible: 1;
+ color: 250 250 250 255;
+ }
+ }
+ part {
+ name: "title";
+ type: TEXTBLOCK;
+ scale: 1;
+ description {
+ rel1.to: "title,bg";
+ rel2.to: "title,bg";
+ visible: 1;
+ text {
+ style: "text_style";
+ text: "share panel";
+ align: 0.5 0.5;
+ }
+ }
+ }
+ part {
+ name: "scroller,bg";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 (BASE_HEIGHT-(SCROLLER_HEIGHT+INDEX_HEIGHT))/BASE_HEIGHT; to: "fixed_bg"; }
+ rel2 { relative: 1.0 (BASE_HEIGHT-INDEX_HEIGHT)/BASE_HEIGHT; to: "fixed_bg"; }
+ visible: 1;
+ color: 250 250 250 255;
+ }
+ }
+ part {
+ name: "scroller";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ rel1.to: "scroller,bg";
+ rel2.to: "scroller,bg";
+ visible: 1;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "index,bg";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 (BASE_HEIGHT-INDEX_HEIGHT)/BASE_HEIGHT; to: "fixed_bg"; }
+ rel2 { relative: 1.0 1.0; to: "fixed_bg"; }
+ visible: 1;
+ color: 250 250 250 255;
+ }
+ }
+ part {
+ name: "index";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ rel1.to: "index,bg";
+ rel2.to: "index,bg";
+ visible: 1;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "blocker";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description {
+ state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "1line";
+ signal: "1line";
+ source: "fixed_bg";
+ action: STATE_SET "1line" 0.0;
+ target: "fixed_bg";
+ }
+ program {
+ name: "1line,land";
+ signal: "1line,land";
+ source: "fixed_bg";
+ action: STATE_SET "1line,land" 0.0;
+ target: "fixed_bg";
+ }
+ program {
+ name: "block,hide";
+ signal: "hide";
+ source: "blocker";
+ action: STATE_SET "default" 0.0;
+ target: "blocker";
+ }
+ program {
+ name: "block,show";
+ signal: "show";
+ source: "blocker";
+ action: STATE_SET "show" 0.0;
+ target: "blocker";
+ }
+ }
+ } //group
+} //collections
diff --git a/res/edje/page.edc b/res/edje/page.edc
new file mode 100644
index 0000000..d5264dc
--- /dev/null
+++ b/res/edje/page.edc
@@ -0,0 +1,52 @@
+/*
+ * Copyright (c) 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.
+ */
+
+collections {
+ base_scale: 1.7;
+ group {
+ name: "page";
+ parts {
+ part {
+ name: "bg";
+ type: SWALLOW;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ rel1 { relative: 0.0 0.0; }
+ rel2 { relative: 1.0 1.0; }
+ visible: 1;
+ }
+ }
+ part {
+ name: "grid";
+ type: SWALLOW;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ visible: 1;
+ fixed: 1 1;
+ }
+ }
+ }
+ } // group
+} // collections
+
+
+
+// End of file