summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2015-04-19 16:22:09 +0300
committerYakov Goldberg <yakov.g@samsung.com>2015-04-19 18:38:15 +0300
commit4f988268ab382516952daf354407d990e031bac2 (patch)
treefb804048f2560935f55382596cd89c5f28dfa21d /data
parenta6f12b25ab454df0f9654199b5afc79e947b924a (diff)
Implement left and right panes with layout and edje
Add layout with edje into left and right panes. And then put backgrounds and vertical panes into swallow.
Diffstat (limited to 'data')
-rw-r--r--data/layouts/CMakeLists.txt25
-rw-r--r--data/layouts/panes_layout.edc17
2 files changed, 42 insertions, 0 deletions
diff --git a/data/layouts/CMakeLists.txt b/data/layouts/CMakeLists.txt
new file mode 100644
index 0000000..fab7001
--- /dev/null
+++ b/data/layouts/CMakeLists.txt
@@ -0,0 +1,25 @@
1cmake_minimum_required(VERSION 2.8.1)
2
3LIST(APPEND LAYOUTS
4 panes_layout.edj
5 )
6
7
8execute_process(COMMAND edje_cc panes_layout.edc
9 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
10 RESULT_VARIABLE res)
11
12if (${res} EQUAL 0)
13 message(STATUS "Edje layout compiled")
14else()
15 message(STATUS "Failed to compile edje layout")
16endif ()
17
18if (${EGUI_IS_RELEASE})
19 install (FILES ${LAYOUTS} DESTINATION share/${PROJECT_NAME_LOWER}/layouts)
20elseif (NOT ${EGUI_IS_RELEASE})
21 foreach (f ${LAYOUTS})
22 configure_file(${f} ${CMAKE_CURRENT_BINARY_DIR}/${f} COPYONLY)
23 endforeach(f)
24endif (${EGUI_IS_RELEASE})
25
diff --git a/data/layouts/panes_layout.edc b/data/layouts/panes_layout.edc
new file mode 100644
index 0000000..03944b3
--- /dev/null
+++ b/data/layouts/panes_layout.edc
@@ -0,0 +1,17 @@
1collections{
2 group { name: "elm/layout/panes/pane";
3 parts {
4 part { name: "erigo.swallow.bg";
5 type: SWALLOW;
6 scale: 1;
7 description { state: "default" 0;
8 }
9 }
10 part { name: "erigo.swallow.content";
11 type: SWALLOW;
12 description { state: "default" 0;
13 }
14 }
15 }
16 }
17}