TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${test_pkgs_LIBRARIES})
-#Create edj file
-ADD_CUSTOM_TARGET(org.tizen.dpm-toolkit.edj
- COMMAND edje_cc -no-save ${CMAKE_CURRENT_SOURCE_DIR}/res/org.tizen.dpm-toolkit.edc
- ${CMAKE_BINARY_DIR}/org.tizen.dpm-toolkit.edj
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/res/org.tizen.dpm-toolkit.edc)
-
-ADD_DEPENDENCIES(${PROJECT_NAME} org.tizen.dpm-toolkit.edj)
-INSTALL(FILES ${CMAKE_BINARY_DIR}/org.tizen.dpm-toolkit.edj DESTINATION ${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/res)
-
#Install app data
INSTALL(FILES res/${PROJECT_NAME}.png DESTINATION ${CMAKE_DESKTOP_ICON_DIR})
INSTALL(FILES ${PROJECT_NAME}.xml DESTINATION ${CMAKE_APP_SHARE_PACKAGES_DIR})
INSTALL(FILES data/dpm-toolkit.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME})
-INSTALL(FILES data/sampleapp.tpk DESTINATION ${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME})
+INSTALL(FILES data/sampleapp.tpk DESTINATION ${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}/res)
+++ /dev/null
-/*
- * 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
- */
-
-group { name: "gl_custom_item";
- styles{
- style { name: "text_style";
- base: "color=#000000FF font=Tizen:style=Regular font_size=30 text_class=list_item ellipsis=1.0";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "tab" "\t";
- tag: "b" "+ font_weight=Bold";
- tag: "match" "+ color=#0051B5FF";
- }
- }
- parts {
- part { name: "base";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 120; //GENLIST_ITEM_1LINE_HEIGHT
- }
- }
- part { name: "left_padding";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 24 0;
- align: 0.0 0.0;
- rel1 { to: "base"; relative: 0.0 0.0; }
- rel2 { to: "base"; relative: 0.0 1.0; }
- }
- }
- part { name: "right_padding";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 24 0;
- align: 1.0 0.0;
- rel1 { to: "base"; relative: 1.0 0.0; }
- rel2 { to: "base"; relative: 1.0 1.0; }
- }
- }
- part { name: "top_padding";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 17;
- align: 0.0 0.0;
- rel1 { to_x: "left_padding"; to_y: "base"; relative: 1.0 0.0; }
- rel2 { to_x: "right_padding"; to_y: "base"; relative: 0.0 0.0; }
- }
- }
- part { name: "elm.text";
- type: SWALLOW;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 0 41;
- align: 0.0 0.0;
- rel1 { to: "top_padding"; relative: 0.0 1.0; }
- rel2 { to: "top_padding"; relative: 1.0 1.0; }
- }
- }
- part { name: "text_content_padding";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 10;
- align: 0.0 0.0;
- rel1 { to: "elm.text"; relative: 0.0 1.0; }
- rel2 { to: "elm.text"; relative: 1.0 1.0; }
- }
- }
- part { name: "elm.swallow.content";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- align: 0.5 0.0;
- rel1 { to: "text_content_padding"; relative: 0.0 1.0; }
- rel2 { to: "bottom_padding"; relative: 1.0 0.0; }
- }
- }
- part { name: "bottom_padding";
- type: SPACER;
- scale: 1;
- description { state: "default" 0.0;
- min: 0 24;
- align: 0.5 1.0;
- rel1 { to: "base"; relative: 0.0 1.0; }
- rel2 { to: "base"; relative: 1.0 1.0; }
- }
- }
- }
-}
+++ /dev/null
-/*
- * 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: 2.6;
- #include "../edc_resource/genlist_custom.edc"
-}