}
spacer { "spacer.bottom"; scale;
desc { "default";
- min: 0 PAD_B;
- align: 0.5 0.0;
rel1 { relative: 0.0 1.0; to_y: PART_COMPANY; }
- rel2 { relative: 1.0 1.0; }
}
}
}
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.so.debug.351418220" moduleId="org.eclipse.cdt.core.settings" name="Debug">
<externalSettings/>
<extensions>
- <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
- <extension id="org.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
- <configuration artifactExtension="so" artifactName="logs" buildArtefactType="org.tizen.nativecore.buildArtefactType.sharedLib" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.sharedLib,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.so.debug.351418220" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.so.debug">
+ <configuration artifactExtension="so" artifactName="logs" buildArtefactType="org.tizen.nativecore.buildArtefactType.sharedLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.sharedLib" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.so.debug.351418220" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.so.debug">
<folderInfo id="org.tizen.nativecore.config.sbi.gcc45.so.debug.351418220." name="/" resourcePath="">
<toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.so.debug.1876771738" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.so.debug">
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.1932580617" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/glib-2.0/include""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/lib-apps-common/inc}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/lib-common/inc}""/>
- <listOptionValue builtIn="false" value=""${workspace_loc:/lib-common/res/common/edje}""/>
<listOptionValue builtIn="false" value=""${workspace_loc:/lib-logs/res/logs/edje}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/lib-common/res/details/edje}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/lib-logs/res/details/edje}""/>
</option>
<option id="sbi.gnu.cpp.compiler.option.frameworks.core.738575116" name="Tizen-Frameworks" superClass="sbi.gnu.cpp.compiler.option.frameworks.core" valueType="userObjs">
<listOptionValue builtIn="false" value="Native_API"/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/device""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dlog""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-1""/>
- <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-buffer-1""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-con-1""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-evas-1""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-file-1""/>
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.so.release.193599071" moduleId="org.eclipse.cdt.core.settings" name="Release">
<externalSettings/>
<extensions>
- <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
- <extension id="org.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
- <configuration artifactExtension="so" artifactName="logs" buildArtefactType="org.tizen.nativecore.buildArtefactType.sharedLib" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.sharedLib,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.so.release.193599071" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.so.release">
+ <configuration artifactExtension="so" artifactName="logs" buildArtefactType="org.tizen.nativecore.buildArtefactType.sharedLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.sharedLib" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.so.release.193599071" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.so.release">
<folderInfo id="org.tizen.nativecore.config.sbi.gcc45.so.release.193599071." name="/" resourcePath="">
<toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.so.release.1998215779" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.so.release">
<targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.115554320" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/device""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dlog""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-1""/>
- <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-buffer-1""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-con-1""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-evas-1""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-file-1""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/device""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dlog""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-1""/>
- <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-buffer-1""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-con-1""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-evas-1""/>
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-file-1""/>
include_directories(
${CMAKE_SOURCE_DIR}/lib-apps-common/inc
${CMAKE_SOURCE_DIR}/lib-common/inc
- ${CMAKE_SOURCE_DIR}/lib-common/res/common/edje
+ ${CMAKE_SOURCE_DIR}/lib-common/res/details/edje
${CMAKE_CURRENT_SOURCE_DIR}/inc
${CMAKE_CURRENT_SOURCE_DIR}/res/logs/edje
+ ${CMAKE_CURRENT_SOURCE_DIR}/res/details/edje
)
add_library(${PROJECT_NAME} SHARED ${SOURCES})
install(TARGETS ${PROJECT_NAME} DESTINATION ${LIB_DIR})
add_subdirectory(res/logs)
+add_subdirectory(res/details)
--- /dev/null
+set(EDC_FILES logs-details-item-layout.edc)
+set(EDJ_DIR "${RES_DIR}/details/edje")
+set(IMG_DIR "${RES_DIR}/details/images")
+
+foreach(EDC_FILE ${EDC_FILES})
+ get_filename_component(EDJ_FILE ${EDC_FILE} NAME_WE)
+ set(EDJ_FILE ${EDJ_FILE}.edj)
+
+ add_custom_target(${EDJ_FILE}
+ COMMAND edje_cc -id .. edje/${EDC_FILE} ${EDJ_FILE}
+ DEPENDS edje/${EDC_FILE}
+ )
+
+ add_dependencies(${PROJECT_NAME} ${EDJ_FILE})
+ install(FILES ${EDJ_FILE} DESTINATION ${EDJ_DIR})
+endforeach(${EDC_FILE})
+
+install(DIRECTORY images/ DESTINATION ${IMG_DIR})
--- /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.
+ *
+ */
+
+#ifndef LOGS_DETAILS_ITEM_LAYOUT_H
+#define LOGS_DETAILS_ITEM_LAYOUT_H
+
+#include "LogsDetailsPath.h"
+#include "../../../../lib-common/res/details/edje/DetailsItemLayout.h"
+
+#define LOGS_DETAILS_ITEM_STYLE "logs_details_item"
+
+#define STATE_SAVED "state_saved"
+#define PART_UNSAVED_BTNS "swallow.unsaved_btns"
+
+#define GROUP_ICON_CALL "icon_call"
+#define GROUP_ICON_MESSAGE "icon_message"
+
+#endif /* LOGS_DETAILS_ITEM_LAYOUT_H */
--- /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.
+ *
+ */
+
+#ifndef LOGS_DETAILS_ITEM_LAYOUT_METRICS_H
+#define LOGS_DETAILS_ITEM_LAYOUT_METRICS_H
+
+#define LOGS_THUMBNAIL_PAD_T 46
+
+#define NAME_PAD_T 22
+#define NAME_PAD_B 59
+
+#define UNSAVED_BTN_PAD_T 46
+#define UNSAVED_BTN_PAD_LR 32
+#define UNSAVED_BTN_PAD_BETWEEN 16
+#define UNSAVED_BTN_PAD_B 30
+
+#define UNSAVED_BTN_H 78
+
+#endif /* LOGS_DETAILS_ITEM_LAYOUT_METRICS_H */
--- /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.
+ *
+ */
+
+#ifndef LOGS_DETAILS_PATH_H
+#define LOGS_DETAILS_PATH_H
+
+#define DETAILS_IMG_DIR "details/images/"
+#define DETAILS_EDJ_DIR "details/edje/"
+
+#define DETAILS_ITEM_LAYOUT_EDJ DETAILS_EDJ_DIR"logs-details-item-layout.edj"
+
+#define DETAILS_ICON_CALL DETAILS_IMG_DIR"logs_btn_ic_call.png"
+#define DETAILS_ICON_MESSAGE DETAILS_IMG_DIR"logs_btn_ic_message.png"
+
+#endif /* LOGS_DETAILS_PATH_H */
--- /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.
+ *
+ */
+
+#include "LogsDetailsItemLayout.h"
+#include "LogsDetailsItemLayoutMetrics.h"
+
+#include "../../../../lib-apps-common/res/apps-common/edje/apps-common-colors.edc"
+#include "../../../../lib-apps-common/res/apps-common/edje/apps-common-utils.edc"
+#include "../../../../lib-common/res/details/edje/details-item-layout.edc"
+
+collections
+{
+ base_scale: 2.6;
+
+ IMAGE_WITH_PRESSED_COLOR(GROUP_ICON_CALL, DETAILS_ICON_CALL,
+ "touch_icon_normal", "touch_icon_pressed");
+ IMAGE_WITH_PRESSED_COLOR(GROUP_ICON_MESSAGE, DETAILS_ICON_MESSAGE,
+ "touch_icon_normal", "touch_icon_pressed");
+
+ group {
+ name: "elm/genlist/item/"LOGS_DETAILS_ITEM_STYLE"/default";
+ alias: "elm/genlist/item_compress/"LOGS_DETAILS_ITEM_STYLE"/default";
+ alias: "elm/genlist/tree/"LOGS_DETAILS_ITEM_STYLE"/default";
+ alias: "elm/genlist/tree_compress/"LOGS_DETAILS_ITEM_STYLE"/default";
+ inherit: "elm/genlist/item/"DETAILS_ITEM_STYLE"/default";
+
+ data.item: "texts" PART_NAME;
+ data.item: "contents" PART_BACK_BTN" "PART_THUMBNAIL" "PART_UNSAVED_BTNS;
+ data.item: "states" STATE_SAVED;
+
+ parts {
+ spacer { "spacer.thumbnail.top"; scale;
+ desc { "default";
+ min: 0 LOGS_THUMBNAIL_PAD_T;
+ }
+ }
+ spacer { "spacer.name.top"; scale;
+ desc { "default";
+ min: 0 NAME_PAD_T;
+ max: -1 NAME_PAD_T;
+ }
+ }
+ textblock { PART_NAME; scale;
+ desc { "default";
+ max: 0 0;
+ }
+ desc { "visible";
+ inherit: "default";
+ min: 0 NAME_H;
+ max: -1 NAME_H;
+ }
+ }
+ spacer { "spacer.unsaved.top"; scale;
+ desc { "default";
+ min: 0 UNSAVED_BTN_PAD_T;
+ max: -1 UNSAVED_BTN_PAD_T;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 1.0; to_y: PART_THUMBNAIL; }
+ rel2 { relative: 1.0 1.0; to_y: PART_THUMBNAIL; }
+ }
+ }
+ swallow { PART_UNSAVED_BTNS; scale;
+ desc { "default";
+ max: 0 0;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 1.0; to_y: "spacer.unsaved.top"; }
+ rel2 { relative: 1.0 1.0; }
+ }
+ desc { "visible";
+ inherit: "default";
+ min: 0 UNSAVED_BTN_H;
+ max: -1 UNSAVED_BTN_H;
+ }
+ }
+ spacer { "spacer.unsaved.bottom"; scale;
+ desc { "default";
+ min: 0 UNSAVED_BTN_PAD_B;
+ align: 0.5 0.0;
+ rel1 { relative: 0.0 1.0; to_y: PART_UNSAVED_BTNS; }
+ rel2 { relative: 1.0 1.0; }
+ }
+ }
+ spacer { "spacer.bottom"; scale;
+ desc { "default";
+ min: 0 NAME_PAD_B;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,"STATE_SAVED",active";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: PART_UNSAVED_BTNS;
+ action: STATE_SET "visible" 0.0;
+ target: PART_NAME;
+ }
+ program {
+ signal: "elm,state,"STATE_SAVED",passive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: PART_NAME;
+ action: STATE_SET "visible" 0.0;
+ target: PART_UNSAVED_BTNS;
+ }
+ }
+ }
+}