<targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.992914207" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
<builder autoBuildTarget="all" buildPath="${workspace_loc:/indicator_win}/Debug" enableAutoBuild="true" id="org.tizen.nativecore.target.sbi.gnu.builder.1290918907" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/>
<tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.1041143380" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/>
- <tool command="i386-linux-gnueabi-g++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.788259524" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler">
+ <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.788259524" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler">
<option id="gnu.cpp.compiler.option.optimization.level.634745380" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
<option defaultValue="gnu.cpp.compiler.debugging.level.max" id="sbi.gnu.cpp.compiler.option.debugging.level.core.962858057" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core" useByScannerDiscovery="false" valueType="enumerated"/>
<option defaultValue="false" id="sbi.gnu.cpp.compiler.option.misc.pic.core.58391715" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" useByScannerDiscovery="false" valueType="boolean"/>
<option id="sbi.gnu.cpp.compiler.option.1123653317" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" useByScannerDiscovery="false" valueType="userObjs">
- <listOptionValue builtIn="false" value="wearable-3.0-emulator.core.private_gcc49.i386.core.app"/>
+ <listOptionValue builtIn="false" value="wearable-3.0-device.core.private_llvm37.armel.core.app"/>
</option>
<option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.144358111" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.core" useByScannerDiscovery="false" valueType="includePath">
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/>
<listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/>
<listOptionValue builtIn="false" value=" -fPIE"/>
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
+ <listOptionValue builtIn="false" value="-mthumb"/>
</option>
<option id="gnu.cpp.compiler.option.include.paths.508858681" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
<option id="gnu.cpp.compiler.option.dialect.std.535913412" name="Language standard" superClass="gnu.cpp.compiler.option.dialect.std" value="gnu.cpp.compiler.dialect.default" valueType="enumerated"/>
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.536739457" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
</tool>
- <tool command="i386-linux-gnueabi-gcc" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.2003612124" name="C Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.c.compiler">
+ <tool command="clang" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.2003612124" name="C Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.c.compiler">
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.975468960" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" useByScannerDiscovery="false" valueType="enumerated"/>
<option defaultValue="gnu.c.debugging.level.max" id="sbi.gnu.c.compiler.option.debugging.level.core.73848575" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core" useByScannerDiscovery="false" valueType="enumerated"/>
<option defaultValue="false" id="sbi.gnu.c.compiler.option.misc.pic.core.1714132726" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" useByScannerDiscovery="false" valueType="boolean"/>
<option id="sbi.gnu.c.compiler.option.63462056" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" useByScannerDiscovery="false" valueType="userObjs">
- <listOptionValue builtIn="false" value="wearable-3.0-emulator.core.private_gcc49.i386.core.app"/>
+ <listOptionValue builtIn="false" value="wearable-3.0-device.core.private_llvm37.armel.core.app"/>
</option>
<option id="sbi.gnu.c.compiler.option.frameworks_inc.core.137361472" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.c.compiler.option.frameworks_inc.core" useByScannerDiscovery="false" valueType="includePath">
<listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/>
<listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/>
<listOptionValue builtIn="false" value=" -fPIE"/>
<listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
+ <listOptionValue builtIn="false" value="-mthumb"/>
</option>
<option id="gnu.c.compiler.option.include.paths.1357431242" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1852229389" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
<tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.211625142" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>
- <tool command="i386-linux-gnueabi-g++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.2073705541" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker">
+ <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.2073705541" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker">
<option defaultValue="false" id="sbi.gnu.cpp.linker.option.shared_flag.core.31826938" name="Linker.Shared" superClass="sbi.gnu.cpp.linker.option.shared_flag.core" valueType="boolean"/>
<option defaultValue="false" id="sbi.gnu.cpp.linker.option.noundefined.core.988133045" name="Report unresolved symbol references (-Wl,--no-undefined)" superClass="sbi.gnu.cpp.linker.option.noundefined.core" valueType="boolean"/>
<option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.1729305965" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.core" valueType="stringList">
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
- <tool command="i386-linux-gnueabi-as" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.719331636" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
+ <tool command="arm-linux-gnueabi-as" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.719331636" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1276583455" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
<tool id="org.tizen.nativecore.tool.fnmapgen.1657025034" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
+ <cconfiguration id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1867718448">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1867718448" 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.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="windicator" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,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.app.debug.1867718448" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.app.debug">
+ <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1867718448." name="/" resourcePath="">
+ <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug.302408128" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug">
+ <targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.1485026325" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
+ <builder autoBuildTarget="all" buildPath="${workspace_loc:/windicator}/Debug" enableAutoBuild="true" id="org.tizen.nativecore.target.sbi.gnu.builder.372183638" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder">
+ <outputEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="Debug"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="outputPath" name="Release"/>
+ </outputEntries>
+ </builder>
+ <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.681192192" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/>
+ <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.1656742146" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler">
+ <option id="gnu.cpp.compiler.option.optimization.level.1595525122" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
+ <option defaultValue="gnu.cpp.compiler.debugging.level.max" id="sbi.gnu.cpp.compiler.option.debugging.level.core.1104725605" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core" valueType="enumerated"/>
+ <option defaultValue="false" id="sbi.gnu.cpp.compiler.option.misc.pic.core.948373715" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/>
+ <option id="sbi.gnu.cpp.compiler.option.358156129" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">
+ <listOptionValue builtIn="false" value="wearable-3.0-emulator.core_llvm37.i386.core.app"/>
+ </option>
+ <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.1202205571" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.core" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/EGL""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES3""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/KHR""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-watch""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/badge""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/base""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/cairo""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/calendar-service2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/chromium-ewk""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ckm""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/contacts-svc""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/content""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/context-service""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csr""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali-toolkit""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dbus-1.0""/>
+ <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/ecore-imf-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-evas-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-evas-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-ipc-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ector-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/e_dbus-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/edje-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eet-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-extension""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efreet-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1/eina""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eio-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eldbus-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/elementary-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/embryo-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/emile-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eo-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eom""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-client-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/evas-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/feedback""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/fontconfig""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/freetype2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/gio-unix-2.0""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/glib-2.0""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/harfbuzz""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/iotcon""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/json-glib-1.0""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/location""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/maps""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media-content""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/messaging""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/metadata-editor""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/storage""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/system""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/tzsh""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ui""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vulkan""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_dali""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/yaca""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/dbus-1.0/include""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/glib-2.0/include""/>
+ </option>
+ <option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.core.927720943" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.core" valueType="stringList">
+ <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value=" -fPIE"/>
+ <listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
+ </option>
+ <option id="gnu.cpp.compiler.option.include.paths.1965304857" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/common/inc}""/>
+ </option>
+ <option id="sbi.gnu.cpp.compiler.option.frameworks.core.1848345873" name="Tizen-Frameworks" superClass="sbi.gnu.cpp.compiler.option.frameworks.core" valueType="userObjs">
+ <listOptionValue builtIn="false" value="Native_API"/>
+ </option>
+ <option id="gnu.cpp.compiler.option.dialect.std.423196662" name="Language standard" superClass="gnu.cpp.compiler.option.dialect.std" value="gnu.cpp.compiler.dialect.c++11" valueType="enumerated"/>
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1872459421" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
+ </tool>
+ <tool command="clang" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.1118833413" name="C Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.c.compiler">
+ <option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.780313023" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
+ <option defaultValue="gnu.c.debugging.level.max" id="sbi.gnu.c.compiler.option.debugging.level.core.592372062" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core" valueType="enumerated"/>
+ <option defaultValue="false" id="sbi.gnu.c.compiler.option.misc.pic.core.939797161" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/>
+ <option id="sbi.gnu.c.compiler.option.1739097203" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">
+ <listOptionValue builtIn="false" value="wearable-3.0-emulator.core_llvm37.i386.core.app"/>
+ </option>
+ <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.976208116" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.c.compiler.option.frameworks_inc.core" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/EGL""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES3""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/KHR""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-watch""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/badge""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/base""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/cairo""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/calendar-service2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/chromium-ewk""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ckm""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/contacts-svc""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/content""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/context-service""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csr""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali-toolkit""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dbus-1.0""/>
+ <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/ecore-imf-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-evas-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-evas-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-ipc-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ector-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/e_dbus-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/edje-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eet-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-extension""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efreet-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1/eina""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eio-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eldbus-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/elementary-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/embryo-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/emile-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eo-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eom""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-client-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/evas-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/feedback""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/fontconfig""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/freetype2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/gio-unix-2.0""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/glib-2.0""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/harfbuzz""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/iotcon""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/json-glib-1.0""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/location""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/maps""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media-content""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/messaging""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/metadata-editor""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/storage""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/system""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/tzsh""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ui""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vulkan""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_dali""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/yaca""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/dbus-1.0/include""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/glib-2.0/include""/>
+ </option>
+ <option id="sbi.gnu.c.compiler.option.frameworks_cflags.core.1518669980" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.core" valueType="stringList">
+ <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value=" -fPIE"/>
+ <listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
+ </option>
+ <option id="gnu.c.compiler.option.include.paths.16257759" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/common/inc}""/>
+ </option>
+ <option id="sbi.gnu.c.compiler.option.frameworks.core.743937170" name="Tizen-Frameworks" superClass="sbi.gnu.c.compiler.option.frameworks.core" valueType="userObjs">
+ <listOptionValue builtIn="false" value="Native_API"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.838403213" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+ </tool>
+ <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.102486881" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>
+ <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.1153515253" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker">
+ <option defaultValue="false" id="sbi.gnu.cpp.linker.option.shared_flag.core.723411988" name="Linker.Shared" superClass="sbi.gnu.cpp.linker.option.shared_flag.core" valueType="boolean"/>
+ <option defaultValue="false" id="sbi.gnu.cpp.linker.option.noundefined.core.641435594" name="Report unresolved symbol references (-Wl,--no-undefined)" superClass="sbi.gnu.cpp.linker.option.noundefined.core" valueType="boolean"/>
+ <option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.392659584" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.core" valueType="stringList">
+ <listOptionValue builtIn="false" value="${TC_LINKER_MISC}"/>
+ <listOptionValue builtIn="false" value="${RS_LINKER_MISC}"/>
+ <listOptionValue builtIn="false" value="-pie -lpthread "/>
+ <listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
+ <listOptionValue builtIn="false" value="-Xlinker --version-script="${PROJ_PATH}/.exportMap""/>
+ <listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib""/>
+ <listOptionValue builtIn="false" value="$(RS_LIBRARIES)"/>
+ </option>
+ <option id="gnu.cpp.link.option.paths.165746461" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths"/>
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.747673412" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
+ <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
+ <additionalInput kind="additionalinput" paths="$(LIBS)"/>
+ </inputType>
+ </tool>
+ <tool command="i386-linux-gnueabi-as" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.1899763475" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
+ <option id="gnu.both.asm.option.include.paths.1165927134" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths"/>
+ <inputType id="cdt.managedbuild.tool.gnu.assembler.input.119855690" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
+ </tool>
+ <tool id="org.tizen.nativecore.tool.fnmapgen.188655810" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/>
+ <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.1779171282" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/>
+ <tool id="org.tizen.nativecore.tool.ast.329447948" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/>
+ <tool id="org.tizen.nativecore.tool.ast.cpp.1525811433" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/>
+ <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.150360149" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/>
+ <tool id="org.tizen.nativecore.tool.sbi.po.compiler.1353840252" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/>
+ <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.237465977" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="common"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
+ <entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="shared"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="org.tizen.nativecore.config.sbi.gcc45.app.release.1634309790">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.release.1634309790" 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.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="windicator" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,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.app.release.1634309790" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.app.release">
+ <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.release.1634309790." name="/" resourcePath="">
+ <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.release.1207748821" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.app.release">
+ <targetPlatform binaryParser="org.eclipse.cdt.core.ELF" id="org.tizen.nativeide.target.sbi.gnu.platform.base.2049810129" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>
+ <builder buildPath="${workspace_loc:/windicator}/Release" id="org.tizen.nativecore.target.sbi.gnu.builder.109362138" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/>
+ <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.1128294997" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/>
+ <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.427326922" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler">
+ <option id="gnu.cpp.compiler.option.optimization.level.786534613" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
+ <option defaultValue="gnu.cpp.compiler.debugging.level.none" id="sbi.gnu.cpp.compiler.option.debugging.level.core.293646136" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core" valueType="enumerated"/>
+ <option defaultValue="false" id="sbi.gnu.cpp.compiler.option.misc.pic.core.1426507973" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/>
+ <option id="sbi.gnu.cpp.compiler.option.771791036" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">
+ <listOptionValue builtIn="false" value="wearable-3.0-emulator.core_llvm37.i386.core.app"/>
+ </option>
+ <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.1558252205" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.core" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/EGL""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES3""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/KHR""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-watch""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/badge""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/base""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/cairo""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/calendar-service2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/chromium-ewk""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ckm""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/contacts-svc""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/content""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/context-service""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csr""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali-toolkit""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dbus-1.0""/>
+ <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/ecore-imf-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-evas-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-evas-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-ipc-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ector-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/e_dbus-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/edje-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eet-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-extension""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efreet-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1/eina""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eio-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eldbus-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/elementary-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/embryo-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/emile-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eo-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eom""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-client-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/evas-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/feedback""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/fontconfig""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/freetype2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/gio-unix-2.0""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/glib-2.0""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/harfbuzz""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/iotcon""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/json-glib-1.0""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/location""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/maps""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media-content""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/messaging""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/metadata-editor""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/storage""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/system""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/tzsh""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ui""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vulkan""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_dali""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/yaca""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/dbus-1.0/include""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/glib-2.0/include""/>
+ </option>
+ <option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.core.838376466" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.core" valueType="stringList">
+ <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value=" -fPIE"/>
+ <listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
+ </option>
+ <option id="gnu.cpp.compiler.option.include.paths.258652788" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/common/inc}""/>
+ </option>
+ <option id="sbi.gnu.cpp.compiler.option.frameworks.core.1128824867" name="Tizen-Frameworks" superClass="sbi.gnu.cpp.compiler.option.frameworks.core" valueType="userObjs">
+ <listOptionValue builtIn="false" value="Native_API"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1903277696" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
+ </tool>
+ <tool command="clang" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.101294431" name="C Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.c.compiler">
+ <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.option.optimization.level.728950639" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
+ <option defaultValue="gnu.c.debugging.level.default" id="sbi.gnu.c.compiler.option.debugging.level.core.1272605122" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core" valueType="enumerated"/>
+ <option defaultValue="false" id="sbi.gnu.c.compiler.option.misc.pic.core.1875114151" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/>
+ <option id="sbi.gnu.c.compiler.option.1336568923" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">
+ <listOptionValue builtIn="false" value="wearable-3.0-emulator.core_llvm37.i386.core.app"/>
+ </option>
+ <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.1519883439" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.c.compiler.option.frameworks_inc.core" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/libxml2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/EGL""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/GLES3""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/KHR""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/SDL2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-agent""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appcore-watch""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/appfw""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/badge""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/base""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/cairo""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/calendar-service2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/chromium-ewk""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ckm""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/contacts-svc""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/content""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/context-service""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/csr""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dali-toolkit""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/dbus-1.0""/>
+ <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/ecore-imf-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-imf-evas-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-input-evas-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ecore-ipc-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ector-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/e_dbus-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/edje-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eet-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efl-extension""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/efreet-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eina-1/eina""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eio-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eldbus-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/elementary-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/embryo-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/emile-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eo-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/eom""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ethumb-client-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/evas-1""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/feedback""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/fontconfig""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/freetype2""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/gio-unix-2.0""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/glib-2.0""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/harfbuzz""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/iotcon""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/json-glib-1.0""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/location""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/maps""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/media-content""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/messaging""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/metadata-editor""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/minizip""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/network""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/notification""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/nsd/""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/phonenumber-utils""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/sensor""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/storage""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/system""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/telephony""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/tzsh""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/ui""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/vulkan""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_service""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_dali""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/widget_viewer_evas""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/include/yaca""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/dbus-1.0/include""/>
+ <listOptionValue builtIn="false" value=""${SBI_SYSROOT}/usr/lib/glib-2.0/include""/>
+ </option>
+ <option id="sbi.gnu.c.compiler.option.frameworks_cflags.core.1497734360" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.core" valueType="stringList">
+ <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/>
+ <listOptionValue builtIn="false" value=" -fPIE"/>
+ <listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
+ </option>
+ <option id="gnu.c.compiler.option.include.paths.245682965" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/inc}""/>
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/common/inc}""/>
+ </option>
+ <option id="sbi.gnu.c.compiler.option.frameworks.core.72923232" name="Tizen-Frameworks" superClass="sbi.gnu.c.compiler.option.frameworks.core" valueType="userObjs">
+ <listOptionValue builtIn="false" value="Native_API"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1042785089" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+ </tool>
+ <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.172646640" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>
+ <tool command="clang++" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.291495532" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker">
+ <option defaultValue="false" id="sbi.gnu.cpp.linker.option.shared_flag.core.2093361027" name="Linker.Shared" superClass="sbi.gnu.cpp.linker.option.shared_flag.core" valueType="boolean"/>
+ <option defaultValue="false" id="sbi.gnu.cpp.linker.option.noundefined.core.204878243" name="Report unresolved symbol references (-Wl,--no-undefined)" superClass="sbi.gnu.cpp.linker.option.noundefined.core" valueType="boolean"/>
+ <option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.101541817" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.core" valueType="stringList">
+ <listOptionValue builtIn="false" value="${TC_LINKER_MISC}"/>
+ <listOptionValue builtIn="false" value="${RS_LINKER_MISC}"/>
+ <listOptionValue builtIn="false" value="-pie -lpthread "/>
+ <listOptionValue builtIn="false" value="--sysroot="${SBI_SYSROOT}""/>
+ <listOptionValue builtIn="false" value="-Xlinker --version-script="${PROJ_PATH}/.exportMap""/>
+ <listOptionValue builtIn="false" value="-L"${SBI_SYSROOT}/usr/lib""/>
+ <listOptionValue builtIn="false" value="$(RS_LIBRARIES)"/>
+ </option>
+ <option id="gnu.cpp.link.option.paths.990742510" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/lib}""/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1346094073" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
+ <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
+ <additionalInput kind="additionalinput" paths="$(LIBS)"/>
+ </inputType>
+ </tool>
+ <tool command="i386-linux-gnueabi-as" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.882589156" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">
+ <inputType id="cdt.managedbuild.tool.gnu.assembler.input.246070798" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
+ </tool>
+ <tool id="org.tizen.nativecore.tool.fnmapgen.340009504" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/>
+ <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.449865787" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/>
+ <tool id="org.tizen.nativecore.tool.ast.847974022" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/>
+ <tool id="org.tizen.nativecore.tool.ast.cpp.1657514763" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/>
+ <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.449932283" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/>
+ <tool id="org.tizen.nativecore.tool.sbi.po.compiler.1466520378" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/>
+ <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.775881401" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry excluding="inc|src" flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="common"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="indicator_win.org.tizen.nativecore.target.sbi.gcc45.app.641030719" name="Tizen Native Application" projectType="org.tizen.nativecore.target.sbi.gcc45.app"/>
</natures>
<filteredResources>
<filter>
- <id>1484647869977</id>
+ <id>1487150657315</id>
<name></name>
<type>26</type>
<matcher>
</matcher>
</filter>
<filter>
- <id>1484647869979</id>
+ <id>1487150657317</id>
<name></name>
<type>6</type>
<matcher>
SET(SRCS src/windicator.c
src/windicator_util.c
+ src/windicator_common.c
src/windicator_moment_bar.c
src/windicator_moment_view.c
src/windicator_brightness.c
ADD_CUSTOM_TARGET(${PROJECT_NAME}.edj
COMMAND edje_cc -id
${CMAKE_CURRENT_SOURCE_DIR}/edc/images
- -D_TIZEN_3G_ENABLE=${EDC_3G_ENABLE}
${CMAKE_SOURCE_DIR}/res/edje/${PROJECT_NAME}.edc ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.edj
DEPENDS ${CMAKE_SOURCE_DIR}/res/edje/${PROJECT_NAME}.edc
)
+++ /dev/null
-/*
- * Samsung API
- * Copyright (c) 2013 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Flora License, Version 1.1 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://floralicense.org/license/
- *
- * 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.
- */
-
-color_classes {
- color_class {
- name: "AO0111";
- color: 255 255 255 255;
- }
- color_class {
- name: "AO0112";
- color: 255 255 255 102;
- }
- color_class {
- name: "AO0111D";
- color: 255 255 255 76;
- }
- color_class {
- name: "AO012";
- color: 0 0 0 255;
- }
- color_class {
- name: "AO0121";
- color: 0 0 0 255;
- }
- color_class {
- name: "AO012P";
- color: 0 0 0 255;
- }
- color_class {
- name: "AO012D";
- color: 0 0 0 76;
- }
- color_class {
- name: "AO0122";
- color: 255 255 255 255;
- }
- color_class {
- name: "AO01221";
- color: 255 255 255 255;
- }
- color_class {
- name: "AO0122P";
- color: 255 255 255 127;
- }
- color_class {
- name: "AO0122D";
- color: 255 255 255 51;
- }
- color_class {
- name: "AO013";
- color: 0 0 0 255;
- }
- color_class {
- name: "AO0131";
- color: 0 0 0 255;
- }
- color_class {
- name: "AO014";
- color: 0 0 0 178;
- }
- color_class {
- name: "AO015";
- color: 0 0 0 145;
- }
- color_class {
- name: "AO015P";
- color: 0 0 0 203;
- }
- color_class {
- name: "AO016";
- color: 255 255 255 255;
- }
- color_class {
- name: "AO017";
- color: 255 255 255 255;
- }
- color_class {
- name: "AO018L1";
- color: 255 255 255 255;
- }
- color_class {
- name: "AO018L2";
- color: 255 51 0 255;
- }
- color_class {
- name: "AO018L3";
- color: 255 217 0 255;
- }
- color_class {
- name: "AO019L1";
- color: 0 0 0 255;
- }
- color_class {
- name: "AO019L2";
- color: 255 0 0 255;
- }
- color_class {
- name: "AO0110";
- color: 255 255 255 51;
- }
- color_class {
- name: "AO0110P";
- color: 255 255 255 89;
- }
- color_class {
- name: "AO0110D";
- color: 255 255 255 25;
- }
- color_class {
- name: "AO0110S";
- color: 0 0 0 255;//not updated(-ve value)
- }
- color_class {
- name: "AO0211";
- color: 115 191 15 255;
- }
- color_class {
- name: "AO0212";
- color: 41 41 41 255;
- }
- color_class {
- name: "AT011";
- color: 255 255 255 255;
- }
- color_class {
- name: "AT012";
- color: 255 255 255 255;
- }
- color_class {
- name: "AT0121";
- color: 255 255 255 255;
- }
- color_class {
- name: "AT013";
- color: 0 0 0 255;
- }
- color_class {
- name: "AT014";
- color: 255 255 255 255;
- }
- color_class {
- name: "AT014P";
- color: 255 255 255 255;
- }
- color_class {
- name: "AT0141";
- color: 255 255 255 255;
- }
- color_class {
- name: "AT0141P";
- color: 255 255 255 255;
- }
- color_class {
- name: "AT015";
- color: 255 255 255 255;
- }
- color_class {
- name: "AT016";
- color: 0 0 0 255;
- }
- color_class {
- name: "AT017";
- color: 255 255 255 255;
- }
- color_class {
- name: "AT017P";
- color: 255 255 255 255;
- }
- color_class {
- name: "AT018";
- color: 255 255 255 255;
- }
-}
\ No newline at end of file
}
programs {
program {
- name: "brightness.pressed";
- signal: "brightness.pressed";
- source: "img.brightness.bg";
+ name: "layout.pressed";
+ signal: "layout.pressed";
+ source: "";
action: STATE_SET "selected" 0.0;
target: "img.brightness.icon";
target: "img.brightness.bg";
}
program {
- name: "brightness.released";
- signal: "brightness.released";
- source: "img.brightness.bg";
+ name: "layout.released";
+ signal: "layout.released";
+ source: "";
action: STATE_SET "default" 0.0;
target: "img.brightness.icon";
target: "img.brightness.bg";
/* Press effect */
program {
- name: "callfwd.pressed";
- signal: "callfwd.pressed";
- source: "img.callfwd.bg";
+ name: "layout.pressed";
+ signal: "layout.pressed";
+ source: "";
action: STATE_SET "selected" 0.0;
target: "img.callfwd.bg";
}
program {
- name: "callfwd.released";
- signal: "callfwd.released";
- source: "img.callfwd.bg";
+ name: "layout.released";
+ signal: "layout.released";
+ source: "";
action: STATE_SET "default" 0.0;
target: "img.callfwd.bg";
}
--- /dev/null
+/*
+ * Samsung API
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Flora License, Version 1.1 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * 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.
+ */
+
+color_classes {
+ color_class {
+ name: "AO0111";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AO0112";
+ color: 255 255 255 102;
+ }
+ color_class {
+ name: "AO0111D";
+ color: 255 255 255 76;
+ }
+ color_class {
+ name: "AO012";
+ color: 0 0 0 255;
+ }
+ color_class {
+ name: "AO0121";
+ color: 0 0 0 255;
+ }
+ color_class {
+ name: "AO012P";
+ color: 0 0 0 255;
+ }
+ color_class {
+ name: "AO012D";
+ color: 0 0 0 76;
+ }
+ color_class {
+ name: "AO0122";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AO01221";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AO0122P";
+ color: 255 255 255 127;
+ }
+ color_class {
+ name: "AO0122D";
+ color: 255 255 255 51;
+ }
+ color_class {
+ name: "AO013";
+ color: 0 0 0 255;
+ }
+ color_class {
+ name: "AO0131";
+ color: 0 0 0 255;
+ }
+ color_class {
+ name: "AO014";
+ color: 0 0 0 178;
+ }
+ color_class {
+ name: "AO015";
+ color: 0 0 0 145;
+ }
+ color_class {
+ name: "AO015P";
+ color: 0 0 0 203;
+ }
+ color_class {
+ name: "AO016";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AO017";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AO018L1";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AO018L2";
+ color: 255 51 0 255;
+ }
+ color_class {
+ name: "AO018L3";
+ color: 255 217 0 255;
+ }
+ color_class {
+ name: "AO019L1";
+ color: 0 0 0 255;
+ }
+ color_class {
+ name: "AO019L2";
+ color: 255 0 0 255;
+ }
+ color_class {
+ name: "AO0110";
+ color: 255 255 255 51;
+ }
+ color_class {
+ name: "AO0110P";
+ color: 255 255 255 89;
+ }
+ color_class {
+ name: "AO0110D";
+ color: 255 255 255 25;
+ }
+ color_class {
+ name: "AO0110S";
+ color: 0 0 0 255;//not updated(-ve value)
+ }
+ color_class {
+ name: "AO0211";
+ color: 115 191 15 255;
+ }
+ color_class {
+ name: "AO0212";
+ color: 41 41 41 255;
+ }
+ color_class {
+ name: "AT011";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AT012";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AT0121";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AT013";
+ color: 0 0 0 255;
+ }
+ color_class {
+ name: "AT014";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AT014P";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AT0141";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AT0141P";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AT015";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AT016";
+ color: 0 0 0 255;
+ }
+ color_class {
+ name: "AT017";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AT017P";
+ color: 255 255 255 255;
+ }
+ color_class {
+ name: "AT018";
+ color: 255 255 255 255;
+ }
+}
\ No newline at end of file
/* Press effect */
program {
- name: "dnd.pressed";
- signal: "dnd.pressed";
- source: "img.disturb.bg";
+ name: "layout.pressed";
+ signal: "layout.pressed";
+ source: "";
action: STATE_SET "selected" 0.0;
target: "img.disturb.bg";
}
program {
- name: "dnd.released";
- signal: "dnd.released";
- source: "img.disturb.bg";
+ name: "layout.released";
+ signal: "layout.released";
+ source: "";
action: STATE_SET "default" 0.0;
target: "img.disturb.bg";
}
/* Press effect */
program {
- name: "flight.pressed";
- signal: "flight.pressed";
- source: "img.flight.bg";
+ name: "layout.pressed";
+ signal: "layout.pressed";
+ source: "";
action: STATE_SET "selected" 0.0;
target: "img.flight.bg";
}
program {
- name: "flight.released";
- signal: "flight.released";
- source: "img.flight.bg";
+ name: "layout.released";
+ signal: "layout.released";
+ source: "";
action: STATE_SET "default" 0.0;
target: "img.flight.bg";
}
* limitations under the License.
*/
-#define ROTARY_FOCUS_SET_BT(index)\
- program { \
- name : "rotary.focus.set."index; \
- signal : "rotary.focus.set."index; \
- source : "img.focus"; \
- action : STATE_SET index 0.0; \
- target : "img.focus";\
- } \
-
-#define ROTARY_INDEX_SET_BT(index)\
- program { \
- name : "rotary.index.set."index; \
- signal : "rotary.index.set."index; \
- source : "img.center.wheel.bg"; \
- action : STATE_SET index 0.0; \
- target : "img.center.wheel.bg.shadow";\
- target : "img.center.wheel.bg";\
- target : "img.focus";\
- transition: ACCEL_FAC 0.2 0.33;\
- } \
-
-#define ROTARY_INDEX_SET_BT_FOR_END(index)\
- program { \
- name : "rotary.index.set.end."index; \
- signal : "rotary.index.set.end."index; \
- source : "img.center.wheel.bg"; \
- action : STATE_SET index 0.0; \
- target : "img.center.wheel.bg.shadow";\
- target : "img.center.wheel.bg";\
- target : "img.focus";\
- transition: ACCEL_FAC 0.35 0.33;\
- } \
-
-#define ROTARY_INDEX_SET_BT_NO_ANIMATION(index)\
- program { \
- name : "rotary.index.set.no.anim."index; \
- signal : "rotary.index.set.no.anim."index; \
- source : "img.center.wheel.bg"; \
- action : STATE_SET index 0.0; \
- target : "img.center.wheel.bg.shadow";\
- target : "img.center.wheel.bg";\
- target : "img.focus";\
- } \
-
-// transition: DECEL_FAC 0.4 0.33;\
-// transition: ACCEL_FAC 0.2;\
-// transition: LINEAR 0.2;\
-
-group {
- name : "windicator/moment_bar/first_page/bt";
- images {
- image : "b_moment_bar_detail_bg.png" COMP;
- image : "b_moment_bar_detail_bg_cover.png" COMP;
- image : "Controls/b_moment_more_opt_ic_bg.png" COMP;
- image : "Controls/brightness.png" COMP;
- image : "Controls/donotdisturb.png" COMP;
- /* touch area */
- image : "Touch/moment_bar_touch5_1.png" COMP;
- image : "Touch/moment_bar_touch5_2.png" COMP;
- image : "Touch/moment_bar_touch5_3.png" COMP;
- image : "Touch/moment_bar_touch5_4.png" COMP;
- image : "Touch/moment_bar_touch5_5.png" COMP;
+#define REL_AI_W(value) (value/WIN_WIDTH)
+#define REL_AI_H(value) (value/WIN_HEIGHT)
+
+// 6 BUTTONS LAYOUT
+
+// OFFSETS
+
+#define ACTION_ICON_6_1_COORD_X 11
+#define ACTION_ICON_6_1_COORD_Y 180
+
+#define ACTION_ICON_6_2_COORD_X 45
+#define ACTION_ICON_6_2_COORD_Y 246
+
+#define ACTION_ICON_6_3_COORD_X 110
+#define ACTION_ICON_6_3_COORD_Y 284
+
+#define ACTION_ICON_6_4_COORD_X 186
+#define ACTION_ICON_6_4_COORD_Y 284
+
+#define ACTION_ICON_6_5_COORD_X 251
+#define ACTION_ICON_6_5_COORD_Y 246
+
+#define ACTION_ICON_6_6_COORD_X 285
+#define ACTION_ICON_6_6_COORD_Y 180
+
+// RELATIVE
+
+#define ACTION_ICON_6_1_REL1 REL_AI_W(ACTION_ICON_6_1_COORD_X) REL_AI_H(ACTION_ICON_6_1_COORD_Y)
+#define ACTION_ICON_6_1_REL2 REL_AI_W((ACTION_ICON_6_1_COORD_X+DEFAULT_ICON_WIDTH)) REL_AI_H((ACTION_ICON_6_1_COORD_Y+DEFAULT_ICON_HEIGHT))
+
+#define ACTION_ICON_6_2_REL1 REL_AI_W(ACTION_ICON_6_2_COORD_X) REL_AI_H(ACTION_ICON_6_2_COORD_Y)
+#define ACTION_ICON_6_2_REL2 REL_AI_W((ACTION_ICON_6_2_COORD_X+DEFAULT_ICON_WIDTH)) REL_AI_H((ACTION_ICON_6_2_COORD_Y+DEFAULT_ICON_HEIGHT))
+
+#define ACTION_ICON_6_3_REL1 REL_AI_W(ACTION_ICON_6_3_COORD_X) REL_AI_H(ACTION_ICON_6_3_COORD_Y)
+#define ACTION_ICON_6_3_REL2 REL_AI_W((ACTION_ICON_6_3_COORD_X+DEFAULT_ICON_WIDTH)) REL_AI_H((ACTION_ICON_6_3_COORD_Y+DEFAULT_ICON_HEIGHT))
+
+#define ACTION_ICON_6_4_REL1 REL_AI_W(ACTION_ICON_6_4_COORD_X) REL_AI_H(ACTION_ICON_6_4_COORD_Y)
+#define ACTION_ICON_6_4_REL2 REL_AI_W((ACTION_ICON_6_4_COORD_X+DEFAULT_ICON_WIDTH)) REL_AI_H((ACTION_ICON_6_4_COORD_Y+DEFAULT_ICON_HEIGHT))
+
+#define ACTION_ICON_6_5_REL1 REL_AI_W(ACTION_ICON_6_5_COORD_X) REL_AI_H(ACTION_ICON_6_5_COORD_Y)
+#define ACTION_ICON_6_5_REL2 REL_AI_W((ACTION_ICON_6_5_COORD_X+DEFAULT_ICON_WIDTH)) REL_AI_H((ACTION_ICON_6_5_COORD_Y+DEFAULT_ICON_HEIGHT))
+
+#define ACTION_ICON_6_6_REL1 REL_AI_W(ACTION_ICON_6_6_COORD_X) REL_AI_H(ACTION_ICON_6_6_COORD_Y)
+#define ACTION_ICON_6_6_REL2 REL_AI_W((ACTION_ICON_6_6_COORD_X+DEFAULT_ICON_WIDTH)) REL_AI_H((ACTION_ICON_6_6_COORD_Y+DEFAULT_ICON_HEIGHT))
+
+// 5 BUTTONS LAYOUT
+
+// OFFSETS
+
+#define ACTION_ICON_5_1_COORD_X 22
+#define ACTION_ICON_5_1_COORD_Y 211
+
+#define ACTION_ICON_5_2_COORD_X 73
+#define ACTION_ICON_5_2_COORD_Y 268
+
+#define ACTION_ICON_5_3_COORD_X 148
+#define ACTION_ICON_5_3_COORD_Y 289
+
+#define ACTION_ICON_5_4_COORD_X 223
+#define ACTION_ICON_5_4_COORD_Y 268
+
+#define ACTION_ICON_5_5_COORD_X 274
+#define ACTION_ICON_5_5_COORD_Y 211
+
+// RELATIVE
+
+#define ACTION_ICON_5_1_REL1 REL_AI_W(ACTION_ICON_5_1_COORD_X) REL_AI_H(ACTION_ICON_5_1_COORD_Y)
+#define ACTION_ICON_5_1_REL2 REL_AI_W((ACTION_ICON_5_1_COORD_X+DEFAULT_ICON_WIDTH)) REL_AI_H((ACTION_ICON_5_1_COORD_Y+DEFAULT_ICON_HEIGHT))
+
+#define ACTION_ICON_5_2_REL1 REL_AI_W(ACTION_ICON_5_2_COORD_X) REL_AI_H(ACTION_ICON_5_2_COORD_Y)
+#define ACTION_ICON_5_2_REL2 REL_AI_W((ACTION_ICON_5_2_COORD_X+DEFAULT_ICON_WIDTH)) REL_AI_H((ACTION_ICON_5_2_COORD_Y+DEFAULT_ICON_HEIGHT))
+
+#define ACTION_ICON_5_3_REL1 REL_AI_W(ACTION_ICON_5_3_COORD_X) REL_AI_H(ACTION_ICON_5_3_COORD_Y)
+#define ACTION_ICON_5_3_REL2 REL_AI_W((ACTION_ICON_5_3_COORD_X+DEFAULT_ICON_WIDTH)) REL_AI_H((ACTION_ICON_5_3_COORD_Y+DEFAULT_ICON_HEIGHT))
+
+#define ACTION_ICON_5_4_REL1 REL_AI_W(ACTION_ICON_5_4_COORD_X) REL_AI_H(ACTION_ICON_5_4_COORD_Y)
+#define ACTION_ICON_5_4_REL2 REL_AI_W((ACTION_ICON_5_4_COORD_X+DEFAULT_ICON_WIDTH)) REL_AI_H((ACTION_ICON_5_4_COORD_Y+DEFAULT_ICON_HEIGHT))
+
+#define ACTION_ICON_5_5_REL1 REL_AI_W(ACTION_ICON_5_5_COORD_X) REL_AI_H(ACTION_ICON_5_5_COORD_Y)
+#define ACTION_ICON_5_5_REL2 REL_AI_W((ACTION_ICON_5_5_COORD_X+DEFAULT_ICON_WIDTH)) REL_AI_H((ACTION_ICON_5_5_COORD_Y+DEFAULT_ICON_HEIGHT))
+
+
+group { name : "windicator/moment_bar/first_page/main_ly";
+ images {
image : "Touch/moment_bar_touch6_screen_1.png" COMP;
image : "Touch/moment_bar_touch6_screen_2.png" COMP;
image : "Touch/moment_bar_touch6_screen_3.png" COMP;
image : "Touch/moment_bar_touch6_screen_4.png" COMP;
image : "Touch/moment_bar_touch6_screen_5.png" COMP;
image : "Touch/moment_bar_touch6_screen_6.png" COMP;
+
+ image : "Touch/moment_bar_touch5_1.png" COMP;
+ image : "Touch/moment_bar_touch5_2.png" COMP;
+ image : "Touch/moment_bar_touch5_3.png" COMP;
+ image : "Touch/moment_bar_touch5_4.png" COMP;
+ image : "Touch/moment_bar_touch5_5.png" COMP;
}
parts {
- part {
- name : "rect.bg";
+ part { name : "rect.bg";
type : RECT;
- clip_to: "mask";
scale : 1;
- description {
- state : "default" 0.0;
+ description { state : "default" 0.0;
min : WIN_WIDTH WIN_HEIGHT;
max : WIN_WIDTH WIN_HEIGHT;
fixed : 1 1;
color : 0 0 0 255;
}
}
-
- part {
- name: "mask";
- type: IMAGE;
- description
- {
- state: "default" 0.0;
- rel1 { relative : 0.0 0.0; to : "rect.bg"; }
- rel2 { relative : 1.0 1.0; to : "rect.bg"; }
- image.normal: "b_moment_bar_detail_bg.png";
- }
- }
-#if 0
- /* Icons */
- // Battery
- part {
- name : "sw.icon.battery";
+ part { name : "sw.main.view";
type : SWALLOW;
scale : 1;
- description {
- state : "default" 0.0;
- min : 24 38;
- max : 24 38;
- fixed : 1 1;
- align : 0.0 0.0;
- visible : 1;
- rel1 { relative : 0.0 0.0; to : "img.bg"; offset : 170 0;}
- rel2 { relative : 0.0 0.0; to : "img.bg"; }
- }
- description {
- state : "hide" 0.0;
- inherit : "default" 0.0;
- visible : 0;
- }
- }
- part {
- name : "txt.battery";
- type : TEXT;
- scale : 1;
- description{
- state : "default" 0.0;
- visible : 1;
- min : 360 20;
- max : 360 20;
+ description { state : "default" 0.0;
fixed : 1 1;
- align : 0.5 0.0;
- color_class : "AT015";
- rel1 { relative : 0.5 1.0; to : "sw.icon.battery"; }
- rel2 { relative : 0.5 1.0; to : "sw.icon.battery"; }
- text {
- min : 1 1;
- align : 0.5 0.5;
- text_class : "AT015";
- text : "0%";
- }
}
}
-#endif
- /* index 0 */
-// BRIGHTNESS
- part { /* index 1 */
- name : "brightness.swallow";
+ part { name : "action_btn_0.swallow";
type : SWALLOW;
scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
+ description { state : "default" 0.0;
fixed : 1 1;
- align : 0.0 0.0;
-// image.normal: "Controls/b_moment_more_opt_ic_bg.png";
- color_class : "AO0122";
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 223 268;}
- rel2 { relative : 0.0 0.0; to : "rect.bg"; }
- }
- description {
- state : "LO" 0.0;
+ rel1 { relative : ACTION_ICON_6_1_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_ICON_6_1_REL2; to : "rect.bg"; }
+ }
+ description { state : "6_action_btns" 0.0;
+ inherit : "default" 0.0;
+ }
+ description { state : "5_action_btns" 0.0;
inherit : "default" 0.0;
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 223 268;}
+ rel1 { relative : ACTION_ICON_5_1_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_ICON_5_1_REL2; to : "rect.bg"; }
}
}
- part {
- name : "img.brightness.touch.area";
+ part { name : "action_btn_0.touch.area";
type : IMAGE;
repeat_events: 1;
precise_is_inside: 1;
scale : 1;
- description {
- state : "default" 0.0;
- color : 200 0 0 0;
- image.normal: "Touch/moment_bar_touch5_4.png";
+ description { state : "default" 0.0;
+ color: 0 0 0 0;
+ image.normal: "Touch/moment_bar_touch6_screen_1.png";
rel1.to: "rect.bg";
rel2.to: "rect.bg";
}
- description {
- state : "LO" 0.0;
+ description { state : "6_action_btns" 0.0;
inherit : "default" 0.0;
- image.normal: "Touch/moment_bar_touch5_4.png";
+ }
+ description { state : "5_action_btns" 0.0;
+ inherit : "default" 0.0;
+ image.normal: "Touch/moment_bar_touch5_1.png";
}
}
-// DO_NOT_DISTURB
- part {
- name : "dnd.swallow";
+ part { name : "action_btn_1.swallow";
type : SWALLOW;
scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
+ description { state : "default" 0.0;
fixed : 1 1;
- align : 0.0 0.0;
- color_class : "AO0122";
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 148 289;}
- rel2 { relative : 0.0 0.0; to : "rect.bg"; }
+ rel1 { relative : ACTION_ICON_6_2_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_ICON_6_2_REL2; to : "rect.bg"; }
+ }
+ description { state : "6_action_btns" 0.0;
+ inherit : "default" 0.0;
}
- description {
- state : "LO" 0.0;
+ description { state : "5_action_btns" 0.0;
inherit : "default" 0.0;
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 148 289;}
+ rel1 { relative : ACTION_ICON_5_2_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_ICON_5_2_REL2; to : "rect.bg"; }
}
}
- part {
- name : "img.dnd.touch.area";
+ part { name : "action_btn_1.touch.area";
type : IMAGE;
repeat_events: 1;
precise_is_inside: 1;
scale : 1;
- description {
- state : "default" 0.0;
- color : 0 200 0 0;
- image.normal: "Touch/moment_bar_touch5_3.png";
+ description { state : "default" 0.0;
+ color: 0 0 0 0;
+ image.normal: "Touch/moment_bar_touch6_screen_2.png";
rel1.to: "rect.bg";
rel2.to: "rect.bg";
}
- description {
- state : "LO" 0.0;
+ description { state : "6_action_btns" 0.0;
inherit : "default" 0.0;
- image.normal: "Touch/moment_bar_touch5_3.png";
+ }
+ description { state : "5_action_btns" 0.0;
+ inherit : "default" 0.0;
+ image.normal: "Touch/moment_bar_touch5_2.png";
}
}
-// FLIGHT_MODE
- part {
- name : "flight.swallow";
+ part { name : "action_btn_2.swallow";
type : SWALLOW;
scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
+ description { state : "default" 0.0;
fixed : 1 1;
- align : 0.0 0.0;
- color_class : "AO0122";
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 110 284;}
- rel2 { relative : 0.0 0.0; to : "rect.bg"; }
+ rel1 { relative : ACTION_ICON_6_3_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_ICON_6_3_REL2; to : "rect.bg"; }
+ }
+ description { state : "6_action_btns" 0.0;
+ inherit : "default" 0.0;
}
- description {
- state : "LO" 0.0;
+ description { state : "5_action_btns" 0.0;
inherit : "default" 0.0;
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 73 268;}
+ rel1 { relative : ACTION_ICON_5_3_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_ICON_5_3_REL2; to : "rect.bg"; }
}
-
}
- part {
- name : "img.flight.touch.area";
+ part { name : "action_btn_2.touch.area";
type : IMAGE;
repeat_events: 1;
precise_is_inside: 1;
scale : 1;
- description {
- state : "default" 0.0;
- color : 100 0 10 0;
+ description { state : "default" 0.0;
+ color: 0 0 0 0;
image.normal: "Touch/moment_bar_touch6_screen_3.png";
rel1.to: "rect.bg";
rel2.to: "rect.bg";
}
- description {
- state : "LO" 0.0;
+ description { state : "6_action_btns" 0.0;
+ inherit : "default" 0.0;
+ }
+ description { state : "5_action_btns" 0.0;
inherit : "default" 0.0;
image.normal: "Touch/moment_bar_touch5_3.png";
}
}
-// MUSIC
- part {
- name : "music.swallow";
+ part { name : "action_btn_3.swallow";
type : SWALLOW;
scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
+ description { state : "default" 0.0;
fixed : 1 1;
- align : 0.0 0.0;
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 45 246;}
- rel2 { relative : 0.0 0.0; to : "rect.bg"; }
+ rel1 { relative : ACTION_ICON_6_4_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_ICON_6_4_REL2; to : "rect.bg"; }
}
- description {
- state : "LO" 0.0;
+ description { state : "6_action_btns" 0.0;
inherit : "default" 0.0;
- visible : 0;
+ }
+ description { state : "5_action_btns" 0.0;
+ inherit : "default" 0.0;
+ rel1 { relative : ACTION_ICON_5_4_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_ICON_5_4_REL2; to : "rect.bg"; }
}
}
- part {
- name : "img.music.touch.area";
+ part { name : "action_btn_3.touch.area";
type : IMAGE;
repeat_events: 1;
precise_is_inside: 1;
scale : 1;
- description {
- state : "default" 0.0;
- color : 0 0 200 0;
- image.normal: "Touch/moment_bar_touch6_screen_2.png";
+ description { state : "default" 0.0;
+ color: 0 0 0 0;
+ image.normal: "Touch/moment_bar_touch6_screen_4.png";
rel1.to: "rect.bg";
rel2.to: "rect.bg";
}
- description {
- state : "LO" 0.0;
+ description { state : "6_action_btns" 0.0;
inherit : "default" 0.0;
- visible : 0;
+ }
+ description { state : "5_action_btns" 0.0;
+ inherit : "default" 0.0;
+ image.normal: "Touch/moment_bar_touch5_4.png";
}
}
-// VOLUME
- part {
- name : "volume.swallow";
+ part { name : "action_btn_4.swallow";
type : SWALLOW;
scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
+ description { state : "default" 0.0;
fixed : 1 1;
- align : 0.0 0.0;
- color_class : "AO0122";
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 73 268;}
- rel2 { relative : 0.0 0.0; to : "rect.bg"; }
+ rel1 { relative : ACTION_ICON_6_5_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_ICON_6_5_REL2; to : "rect.bg"; }
+ }
+ description { state : "6_action_btns" 0.0;
+ inherit : "default" 0.0;
}
- description {
- state : "LO" 0.0;
+ description { state : "5_action_btns" 0.0;
inherit : "default" 0.0;
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 73 268;}
+ rel1 { relative : ACTION_ICON_5_5_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_ICON_5_5_REL2; to : "rect.bg"; }
}
}
- part {
- name : "img.volume.touch.area";
+ part { name : "action_btn_4.touch.area";
type : IMAGE;
repeat_events: 1;
precise_is_inside: 1;
scale : 1;
- description {
- state : "default" 0.0;
- color : 200 0 0 0;
- image.normal: "Touch/moment_bar_touch5_2.png";
+ description { state : "default" 0.0;
+ color: 0 0 0 0;
+ image.normal: "Touch/moment_bar_touch6_screen_5.png";
rel1.to: "rect.bg";
rel2.to: "rect.bg";
}
- description {
- state : "LO" 0.0;
+ description { state : "6_action_btns" 0.0;
inherit : "default" 0.0;
- image.normal: "Touch/moment_bar_touch5_2.png";
+ }
+ description { state : "5_action_btns" 0.0;
+ inherit : "default" 0.0;
+ image.normal: "Touch/moment_bar_touch5_5.png";
}
}
- part {
- name : "sw.main.view";
+ part { name : "action_btn_5.swallow";
type : SWALLOW;
scale : 1;
- description {
- state : "default" 0.0;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
+ description { state : "default" 0.0;
fixed : 1 1;
- align : 0.5 0.5;
- rel1 { relative : 0.5 0.5; to : "rect.bg"; }
- rel2 { relative : 0.5 0.5; to : "rect.bg"; }
+ rel1 { relative : ACTION_ICON_6_6_REL1; to : "rect.bg"; }
+ rel2 { relative : ACTION_ICON_6_6_REL2; to : "rect.bg"; }
+ }
+ description { state : "6_action_btns" 0.0;
+ inherit : "default" 0.0;
+ }
+ description { state : "5_action_btns" 0.0;
+ visible : 0;
}
}
-
- /* Slider to set brightness */
- part {
- name : "sw.dynamic";
- type : SWALLOW;
+ part { name : "action_btn_5.touch.area";
+ type : IMAGE;
+ repeat_events: 1;
+ precise_is_inside: 1;
scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- fixed: 1 1;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- align : 0.5 0.5;
- rel1 { relative : 0.5 0.5; to : "rect.bg"; }
- rel2 { relative : 0.5 0.5; to : "rect.bg"; }
+ description { state : "default" 0.0;
+ color: 0 0 0 0;
+ image.normal: "Touch/moment_bar_touch6_screen_6.png";
+ rel1.to: "rect.bg";
+ rel2.to: "rect.bg";
+ }
+ description { state : "6_action_btns" 0.0;
+ inherit : "default" 0.0;
+ }
+ description { state : "5_action_btns" 0.0;
+ visible : 0;
}
}
-/* part {
- name : "sw.brightness.large_icon";
- type : SWALLOW;
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- fixed : 1 1;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- align : 0.5 0.5;
- rel1 { relative : 0.5 0.5; to : "img.bg"; }
- rel2 { relative : 0.5 0.5; to : "img.bg"; }
- }
- }*/
- /* Slider to set brightness */
- /*
- part {
- name : "sw.circle_slider";
+ part { name : "sw.dynamic";
type : SWALLOW;
scale : 1;
repeat_events : 1;
- description {
- state : "default" 0.0;
+ description { state : "default" 0.0;
fixed: 1 1;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- align : 0.5 0.5;
- visible : 0;
- rel1 { relative : 0.5 0.5; to : "img.bg"; }
- rel2 { relative : 0.5 0.5; to : "img.bg"; }
- }
- description {
- state : "show" 0.0;
- inherit : "default" 0.0;
- visible : 1;
}
- }*/
+ }
}
programs {
- /* LO layout */
- program {
- name : "set_lo_layout";
- signal : "set_lo_layout";
+ program { name : "set_6_action_btns";
+ signal : "set_6_action_btns";
source : "sw.all";
- action : STATE_SET "LO" 0.0;
- target : "brightness.swallow";
- target : "dnd.swallow";
- target : "music.swallow";
- target : "img.brightness.touch.area";
- target : "img.dnd.touch.area";
- target : "img.flight.touch.area";
- target : "img.music.touch.area";
+ action : STATE_SET "6_action_btns" 0.0;
+ target : "action_btn_0.swallow";
+ target : "action_btn_1.swallow";
+ target : "action_btn_2.swallow";
+ target : "action_btn_3.swallow";
+ target : "action_btn_4.swallow";
+ target : "action_btn_5.swallow";
+ target : "action_btn_0.touch.area";
+ target : "action_btn_1.touch.area";
+ target : "action_btn_2.touch.area";
+ target : "action_btn_3.touch.area";
+ target : "action_btn_4.touch.area";
+ target : "action_btn_5.touch.area";
}
- program {
- name : "set_default_layout";
- signal : "set_default_layout";
+ program { name : "set_5_action_btns";
+ signal : "set_5_action_btns";
source : "sw.all";
- action : STATE_SET "default" 0.0;
- target : "brightness.swallow";
- target : "dnd.swallow";
- target : "music.swallow";
- target : "img.brightness.touch.area";
- target : "img.dnd.touch.area";
- target : "img.flight.touch.area";
- target : "img.music.touch.area";
- }
-
-// ROTARY_FOCUS_SET_BT("0");
-// ROTARY_FOCUS_SET_BT("1");
-// ROTARY_FOCUS_SET_BT("10");
-// ROTARY_FOCUS_SET_BT("2");
-// ROTARY_FOCUS_SET_BT("3");
-// ROTARY_FOCUS_SET_BT("4");
-// ROTARY_FOCUS_SET_BT("14");
-
-/* ROTARY_INDEX_SET_BT("0");
- ROTARY_INDEX_SET_BT_NO_ANIMATION("0");
- ROTARY_INDEX_SET_BT("1");
- ROTARY_INDEX_SET_BT("10");
- ROTARY_INDEX_SET_BT_FOR_END("10");
- ROTARY_INDEX_SET_BT("2");
- ROTARY_INDEX_SET_BT("3");
- ROTARY_INDEX_SET_BT("4");
- ROTARY_INDEX_SET_BT_NO_ANIMATION("4");
- ROTARY_INDEX_SET_BT("14");
- ROTARY_INDEX_SET_BT_FOR_END("14");
- program {
- name : "sw.circle_slider.hide";
- signal : "sw.circle_slider.hide";
- source : "sw.circle_slider";
- action : STATE_SET "default" 0.0;
- target : "sw.circle_slider";
- }
- program {
- name : "sw.circle_slider.show";
- signal : "sw.circle_slider.show";
- source : "sw.circle_slider";
- action : STATE_SET "show" 0.0;
- target : "sw.circle_slider";
- }*/
-
- /* Scs Events */
- /*
- program {
- name : "img.icon.scs.not_connected";
- signal : "img.icon.scs.not_connected";
- source : "img.icon.scs";
- action : STATE_SET "default" 0.0;
- target : "img.icon.scs";
- // transition: DECEL_FAC 0.4 0.33;
- }
- program {
- name : "img.icon.scs.bt_connected";
- signal : "img.icon.scs.bt_connected";
- source : "img.icon.scs";
- action : STATE_SET "bt_connected" 0.0;
- target : "img.icon.scs";
- // transition: DECEL_FAC 0.4 0.33;
- }
- program {
- name : "img.icon.scs.remotely_connected";
- signal : "img.icon.scs.remotely_connected";
- source : "img.icon.scs";
- action : STATE_SET "remotely_connected" 0.0;
- target : "img.icon.scs";
- // transition: DECEL_FAC 0.4 0.33;
- }
- */
-#if 0
- /* Battery events */
- program {
- name : "BatteryActionStop";
- action : ACTION_STOP;
- target : "hideBattery,blink";
- target : "showBattery,blink";
- }
- program {
- name : "hideBattery,blink";
- signal : "hideBattery,blink";
- source : "sw.icon.battery";
- action : STATE_SET "hide" 0.0;
- target : "sw.icon.battery";
- in : 0.5 0.0;
- after : "showBattery,blink";
- }
- program {
- name : "showBattery,blink";
- signal : "hideBattery,blink";
- source : "sw.icon.battery";
- action : STATE_SET "default" 0.0;
- target : "sw.icon.battery";
- in : 0.5 0.0;
- after : "hideBattery,blink";
- }
- program {
- name : "showBattery";
- signal : "showBattery";
- source : "sw.icon.battery";
- action : STATE_SET "default" 0.0;
- target : "sw.icon.battery";
- after : "BatteryActionStop";
+ action : STATE_SET "5_action_btns" 0.0;
+ target : "action_btn_0.swallow";
+ target : "action_btn_1.swallow";
+ target : "action_btn_2.swallow";
+ target : "action_btn_3.swallow";
+ target : "action_btn_4.swallow";
+ target : "action_btn_5.swallow";
+ target : "action_btn_0.touch.area";
+ target : "action_btn_1.touch.area";
+ target : "action_btn_2.touch.area";
+ target : "action_btn_3.touch.area";
+ target : "action_btn_4.touch.area";
+ target : "action_btn_5.touch.area";
}
-#endif
}
}
+++ /dev/null
-/*
- * Samsung API
- * Copyright (c) 2013 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Flora License, Version 1.1 (the License);
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://floralicense.org/license/
- *
- * 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.
- */
-
-#define ROTARY_FOCUS_SET_3G(index)\
- program { \
- name : "rotary.focus.set."index; \
- signal : "rotary.focus.set."index; \
- source : "img.focus"; \
- action : STATE_SET index 0.0; \
- target : "img.focus";\
- } \
-
-#define ROTARY_INDEX_SET_3G(index)\
- program { \
- name : "rotary.index.set."index; \
- signal : "rotary.index.set."index; \
- source : "img.center.wheel.bg"; \
- action : STATE_SET index 0.0; \
- target : "img.center.wheel.bg.shadow";\
- target : "img.center.wheel.bg";\
- target : "img.focus";\
- transition: ACCEL_FAC 0.2 0.33;\
- } \
-
-#define ROTARY_INDEX_SET_3G_FOR_END(index)\
- program { \
- name : "rotary.index.set.end."index; \
- signal : "rotary.index.set.end."index; \
- source : "img.center.wheel.bg"; \
- action : STATE_SET index 0.0; \
- target : "img.center.wheel.bg.shadow";\
- target : "img.center.wheel.bg";\
- target : "img.focus";\
- transition: ACCEL_FAC 0.35 0.33;\
- } \
-
-#define ROTARY_INDEX_SET_3G_NO_ANIMATION(index)\
- program { \
- name : "rotary.index.set.no.anim."index; \
- signal : "rotary.index.set.no.anim."index; \
- source : "img.center.wheel.bg"; \
- action : STATE_SET index 0.0; \
- target : "img.center.wheel.bg.shadow";\
- target : "img.center.wheel.bg";\
- target : "img.focus";\
- } \
-
-
-
-group {
- name : "windicator/moment_bar/first_page/3g";
- images {
- image : "b_moment_bar_detail_bg.png" COMP;
- image : "b_moment_bar_detail_bg_cover.png" COMP;
- image : "Controls/b_moment_more_opt_ic_bg.png" COMP;
- image : "Controls/brightness.png" COMP;
- image : "Controls/donotdisturb.png" COMP;
- /* touch area */
- image : "Touch/moment_bar_touch5_1.png" COMP;
- image : "Touch/moment_bar_touch5_2.png" COMP;
- image : "Touch/moment_bar_touch5_3.png" COMP;
- image : "Touch/moment_bar_touch5_4.png" COMP;
- image : "Touch/moment_bar_touch5_5.png" COMP;
-
- image : "Touch/moment_bar_touch6_screen_1.png" COMP;
- image : "Touch/moment_bar_touch6_screen_2.png" COMP;
- image : "Touch/moment_bar_touch6_screen_3.png" COMP;
- image : "Touch/moment_bar_touch6_screen_4.png" COMP;
- image : "Touch/moment_bar_touch6_screen_5.png" COMP;
- image : "Touch/moment_bar_touch6_screen_6.png" COMP;
- }
- parts {
- part {
- name : "rect.bg";
- type : RECT;
- scale : 1;
- description {
- state : "default" 0.0;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- fixed : 1 1;
- color : 0 0 0 255;
- }
- }/*
- part {
- name : "img.bg";
- type : IMAGE;
- scale : 1;
- description {
- state : "default" 0.0;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- fixed : 1 1;
- image.normal: "b_moment_bar_detail_bg.png";
- color_class : "AO013";
- }
- }
- part {
- name : "img.bg.cover";
- type : IMAGE;
- scale : 1;
- description {
- state : "default" 0.0;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- fixed : 1 1;
- image.normal: "b_moment_bar_detail_bg_cover.png";
- color_class : "AO0131";
- }
- }*/
-#if 0
- /* Icons */
- // Battery
- part {
- name : "sw.icon.battery";
- type : SWALLOW;
- scale : 1;
- description {
- state : "default" 0.0;
- min : 24 38;
- max : 24 38;
- fixed : 1 1;
- align : 0.0 0.0;
- visible : 1;
- rel1 { relative : 0.0 0.0; to : "img.bg"; offset : 170 0;}
- rel2 { relative : 0.0 0.0; to : "img.bg"; }
- }
- description {
- state : "hide" 0.0;
- inherit : "default" 0.0;
- visible : 0;
- }
- }
- part {
- name : "txt.battery";
- type : TEXT;
- scale : 1;
- description{
- state : "default" 0.0;
- visible : 1;
- min : 360 20;
- max : 360 20;
- fixed : 1 1;
- align : 0.5 0.0;
- color_class : "AT015";
- rel1 { relative : 0.5 1.0; to : "sw.icon.battery"; }
- rel2 { relative : 0.5 1.0; to : "sw.icon.battery"; }
- text {
- min : 1 1;
- align : 0.5 0.5;
- text_class : "AT015";
- text : "0%";
- }
- }
- }
-#endif
- /* index 0 */
-// BRIGHTNESS
- part { /* index 1 */
- name : "brightness.swallow";
- type : SWALLOW;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- color_class : "AO0122";
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 285 180;}
- rel2 { relative : 0.0 0.0; to : "rect.bg"; }
- }
- description {
- state : "LO" 0.0;
- inherit : "default" 0.0;
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 274 211;}
- }
- }
- part {
- name : "img.brightness.touch.area";
- type : IMAGE;
- repeat_events: 1;
- precise_is_inside: 1;
- scale : 1;
- description {
- state : "default" 0.0;
- color : 200 0 0 0;
- image.normal: "Touch/moment_bar_touch6_screen_6.png";
- rel1.to: "rect.bg";
- rel2.to: "rect.bg";
- }
- description {
- state : "LO" 0.0;
- inherit : "default" 0.0;
- image.normal: "Touch/moment_bar_touch5_5.png";
- }
- }
-// VOLUME
- part {
- name : "volume.swallow";
- type : SWALLOW;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- color_class : "AO0122";
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 251 246;}
- rel2 { relative : 0.0 0.0; to : "rect.bg"; }
- }
- description {
- state : "LO" 0.0;
- inherit : "default" 0.0;
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 223 268;}
- }
- }
- part {
- name : "img.volume.touch.area";
- type : IMAGE;
- repeat_events: 1;
- precise_is_inside: 1;
- scale : 1;
- description {
- state : "default" 0.0;
- color : 0 200 0 0;
- image.normal: "Touch/moment_bar_touch6_screen_5.png";
- rel1.to: "rect.bg";
- rel2.to: "rect.bg";
- }
- description {
- state : "LO" 0.0;
- inherit : "default" 0.0;
- image.normal: "Touch/moment_bar_touch5_4.png";
- }
- }
-// DO_NOT_DISTURB
- part {
- name : "dnd.swallow";
- type : SWALLOW;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- color_class : "AO0122";
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 186 284;}
- rel2 { relative : 0.0 0.0; to : "rect.bg"; }
- }
- description {
- state : "LO" 0.0;
- inherit : "default" 0.0;
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 148 289;}
- }
-
- }
- part {
- name : "img.dnd.touch.area";
- type : IMAGE;
- repeat_events: 1;
- precise_is_inside: 1;
- scale : 1;
- description {
- state : "default" 0.0;
- color : 100 0 10 0;
- image.normal: "Touch/moment_bar_touch6_screen_4.png";
- rel1.to: "rect.bg";
- rel2.to: "rect.bg";
- }
- description {
- state : "LO" 0.0;
- inherit : "default" 0.0;
- image.normal: "Touch/moment_bar_touch5_3.png";
- }
- }
-// FLIGHT_MODE
- part {
- name : "flight.swallow";
- type : SWALLOW;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- color_class : "AO0122";
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 110 284;}
- rel2 { relative : 0.0 0.0; to : "rect.bg"; }
- }
- description {
- state : "LO" 0.0;
- inherit : "default" 0.0;
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 73 268;}
- }
-
- }
- part {
- name : "img.flight.touch.area";
- type : IMAGE;
- repeat_events: 1;
- precise_is_inside: 1;
- scale : 1;
- description {
- state : "default" 0.0;
- color : 100 0 10 0;
- image.normal: "Touch/moment_bar_touch6_screen_3.png";
- rel1.to: "rect.bg";
- rel2.to: "rect.bg";
- }
- description {
- state : "LO" 0.0;
- inherit : "default" 0.0;
- image.normal: "Touch/moment_bar_touch5_2.png";
- }
- }
-
-// CALL_FORWARDING
- part {
- name : "callfwd.swallow";
- type : SWALLOW;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 45 246;}
- rel2 { relative : 0.0 0.0; to : "rect.bg"; }
- }
- description {
- state : "LO" 0.0;
- inherit : "default" 0.0;
- visible : 0;
- }
-
- }
- part {
- name : "img.callfwd.touch.area";
- type : IMAGE;
- repeat_events: 1;
- precise_is_inside: 1;
- scale : 1;
- description {
- state : "default" 0.0;
- color : 10 200 10 0;
- image.normal: "Touch/moment_bar_touch6_screen_2.png";
- rel1.to: "rect.bg";
- rel2.to: "rect.bg";
- }
- description {
- state : "LO" 0.0;
- inherit : "default" 0.0;
- visible : 0;
- }
- }
-// MUSIC
- part {
- name : "music.swallow";
- type : SWALLOW;
- scale : 1;
- description {
- state : "default" 0.0;
- min : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- max : DEFAULT_ICON_WIDTH DEFAULT_ICON_HEIGHT;
- fixed : 1 1;
- align : 0.0 0.0;
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 11 180;}
- rel2 { relative : 0.0 0.0; to : "rect.bg"; }
- }
- description {
- state : "LO" 0.0;
- inherit : "default" 0.0;
- rel1 { relative : 0.0 0.0; to : "rect.bg"; offset : 22 211;}
- }
- }
- part {
- name : "img.music.touch.area";
- type : IMAGE;
- repeat_events: 1;
- precise_is_inside: 1;
- scale : 1;
- description {
- state : "default" 0.0;
- color : 10 0 100 0;
- image.normal: "Touch/moment_bar_touch6_screen_1.png";
- rel1.to: "rect.bg";
- rel2.to: "rect.bg";
- }
- description {
- state : "LO" 0.0;
- inherit : "default" 0.0;
- image.normal: "Touch/moment_bar_touch5_1.png";
- }
- }
-
- part {
- name : "sw.main.view";
- type : SWALLOW;
- scale : 1;
- description {
- state : "default" 0.0;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- fixed : 1 1;
- align : 0.5 0.5;
- rel1 { relative : 0.5 0.5; to : "rect.bg"; }
- rel2 { relative : 0.5 0.5; to : "rect.bg"; }
- }
- }
-
- /* Slider to set brightness */
- part {
- name : "sw.dynamic";
- type : SWALLOW;
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- fixed: 1 1;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- align : 0.5 0.5;
- rel1 { relative : 0.5 0.5; to : "rect.bg"; }
- rel2 { relative : 0.5 0.5; to : "rect.bg"; }
- }
- }
-/* part {
- name : "sw.brightness.large_icon";
- type : SWALLOW;
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- fixed : 1 1;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- align : 0.5 0.5;
- rel1 { relative : 0.5 0.5; to : "img.bg"; }
- rel2 { relative : 0.5 0.5; to : "img.bg"; }
- }
- }
- part {
- name : "sw.volume.large_icon";
- type : SWALLOW;
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- fixed : 1 1;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- align : 0.5 0.5;
- rel1 { relative : 0.5 0.5; to : "img.bg"; }
- rel2 { relative : 0.5 0.5; to : "img.bg"; }
- }
- }*/
- /* Slider to set brightness */
- /*
- part {
- name : "sw.circle_slider";
- type : SWALLOW;
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- fixed: 1 1;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- align : 0.5 0.5;
- visible : 0;
- rel1 { relative : 0.5 0.5; to : "img.bg"; }
- rel2 { relative : 0.5 0.5; to : "img.bg"; }
- }
- description {
- state : "show" 0.0;
- inherit : "default" 0.0;
- visible : 1;
- }
- }
- part {
- name : "sw.circle_slider_volume";
- type : SWALLOW;
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- fixed: 1 1;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- align : 0.5 0.5;
- visible : 0;
- rel1 { relative : 0.5 0.5; to : "img.bg"; }
- rel2 { relative : 0.5 0.5; to : "img.bg"; }
- }
- description {
- state : "show" 0.0;
- inherit : "default" 0.0;
- visible : 1;
- }
- }*/
- }
- programs {
- /* LO layout */
- program {
- name : "set_lo_layout";
- signal : "set_lo_layout";
- source : "sw.all";
- action : STATE_SET "LO" 0.0;
- target : "brightness.swallow";
- target : "volume.swallow";
- target : "flight.swallow";
- target : "dnd.swallow";
- target : "callfwd.swallow";
- target : "music.swallow";
- //
- target : "img.brightness.touch.area";
- target : "img.volume.touch.area";
- target : "img.flight.touch.area";
- target : "img.dnd.touch.area";
- target : "img.callfwd.touch.area";
- target : "img.music.touch.area";
- }
- program {
- name : "set_default_layout";
- signal : "set_default_layout";
- source : "sw.all";
- action : STATE_SET "default" 0.0;
- target : "brightness.swallow";
- target : "volume.swallow";
- target : "flight.swallow";
- target : "dnd.swallow";
- target : "callfwd.swallow";
- target : "music.swallow";
- //
- target : "img.brightness.touch.area";
- target : "img.volume.touch.area";
- target : "img.flight.touch.area";
- target : "img.dnd.touch.area";
- target : "img.callfwd.touch.area";
- target : "img.music.touch.area";
- }
-// ROTARY_FOCUS_SET_3G("0");
-// ROTARY_FOCUS_SET_3G("1");
-// ROTARY_FOCUS_SET_3G("10");
-// ROTARY_FOCUS_SET_3G("2");
-// ROTARY_FOCUS_SET_3G("3");
-// ROTARY_FOCUS_SET_3G("4");
-// ROTARY_FOCUS_SET_3G("5");
-// ROTARY_FOCUS_SET_3G("14");
-
-/* ROTARY_INDEX_SET_3G("0");
- ROTARY_INDEX_SET_3G_NO_ANIMATION("0");
- ROTARY_INDEX_SET_3G("1");
- ROTARY_INDEX_SET_3G("10");
- ROTARY_INDEX_SET_3G_FOR_END("10");
- ROTARY_INDEX_SET_3G("2");
- ROTARY_INDEX_SET_3G("3");
- ROTARY_INDEX_SET_3G("4");
- ROTARY_INDEX_SET_3G("5");
- ROTARY_INDEX_SET_3G_NO_ANIMATION("5");
- ROTARY_INDEX_SET_3G("14");
- ROTARY_INDEX_SET_3G_FOR_END("14");
- program {
- name : "sw.circle_slider.hide";
- signal : "sw.circle_slider.hide";
- source : "sw.circle_slider";
- action : STATE_SET "default" 0.0;
- target : "sw.circle_slider";
- }
- program {
- name : "sw.circle_slider.show";
- signal : "sw.circle_slider.show";
- source : "sw.circle_slider";
- action : STATE_SET "show" 0.0;
- target : "sw.circle_slider";
- }
- program {
- name : "sw.circle_slider_volume.hide";
- signal : "sw.circle_slider_volume.hide";
- source : "sw.circle_slider_volume";
- action : STATE_SET "default" 0.0;
- target : "sw.circle_slider_volume";
- }
- program {
- name : "sw.circle_slider_volume.show";
- signal : "sw.circle_slider_volume.show";
- source : "sw.circle_slider_volume";
- action : STATE_SET "show" 0.0;
- target : "sw.circle_slider_volume";
- }
- */
- /* Scs Events */
- /*
- program {
- name : "img.icon.scs.not_connected";
- signal : "img.icon.scs.not_connected";
- source : "img.icon.scs";
- action : STATE_SET "default" 0.0;
- target : "img.icon.scs";
- }
- program {
- name : "img.icon.scs.bt_connected";
- signal : "img.icon.scs.bt_connected";
- source : "img.icon.scs";
- action : STATE_SET "bt_connected" 0.0;
- target : "img.icon.scs";
- }
- program {
- name : "img.icon.scs.remotely_connected";
- signal : "img.icon.scs.remotely_connected";
- source : "img.icon.scs";
- action : STATE_SET "default" 0.0;
- target : "img.icon.scs";
- }
-*/
-#if 0
- /* Battery events */
- program {
- name : "BatteryActionStop";
- action : ACTION_STOP;
- target : "hideBattery,blink";
- target : "showBattery,blink";
- }
- program {
- name : "hideBattery,blink";
- signal : "hideBattery,blink";
- source : "sw.icon.battery";
- action : STATE_SET "hide" 0.0;
- target : "sw.icon.battery";
- in : 0.5 0.0;
- after : "showBattery,blink";
- }
- program {
- name : "showBattery,blink";
- signal : "hideBattery,blink";
- source : "sw.icon.battery";
- action : STATE_SET "default" 0.0;
- target : "sw.icon.battery";
- in : 0.5 0.0;
- after : "hideBattery,blink";
- }
- program {
- name : "showBattery";
- signal : "showBattery";
- source : "sw.icon.battery";
- action : STATE_SET "default" 0.0;
- target : "sw.icon.battery";
- after : "BatteryActionStop";
- }
-#endif
- }
-}
\ No newline at end of file
color_class : "AO012D";
}
}
-#if 0
- part {
- name : "padding.top";
- type : SPACER;
- scale : 1;
- description {
- state : "default";
- min : 360 135;
- max : 360 135;
- fixed: 1 1;
- align : 0.0 0.0;
- // color :200 0 0 200;
- rel1 { relative : 0.0 0.0; to : "bg";}
- rel2 { relative : 0.0 0.0; to : "bg";}
- }
- }
- part {
- name : "img.music.bg";
- type : IMAGE;
- clip_to : "clipper_music";
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : MUSIC_BTN_WIDTH MUSIC_BTN_HEIGHT;
- max : MUSIC_BTN_WIDTH MUSIC_BTN_HEIGHT;
- fixed : 1 1;
- image.normal: "mb_3g_indi_link_bg.png";
- color_class : "AO027";
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.top";}
- rel2 { relative : 0.5 1.0; to : "padding.top";}
- }
- description {
- state: "disable" 0.0;
- inherit: "default";
- color_class : "AO0271";
- }
- }
- part {
- name : "sw.music.btn";
- type : SWALLOW;
- // clip_to : "clipper_music";
- scale : 1;
- // mouse_events : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : 80 80;
- max : 80 80;
- fixed : 1 1;
- align : 0.5 0.5;
- rel1.to: "img.music.bg";
- rel2.to: "img.music.bg";
- }
- }
-/* part {
- name : "img.music.icon";
- type : IMAGE;
- clip_to : "clipper_music";
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : MUSIC_BTN_WIDTH MUSIC_BTN_HEIGHT;
- max : MUSIC_BTN_WIDTH MUSIC_BTN_HEIGHT;
- fixed : 1 1;
- image.normal: "mb_3g_indi_link_icon_music.png";
- color_class : "AO025";
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.top";}
- rel2 { relative : 0.5 1.0; to : "padding.top";}
- }
- description {
- state: "disable" 0.0;
- inherit: "default";
- color_class : "AO025D";
- }
- }*/
- part {
- name : "img.music.icon";
- type : SWALLOW;
- clip_to : "clipper_music";
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : MUSIC_BTN_WIDTH MUSIC_BTN_HEIGHT;
- max : MUSIC_BTN_WIDTH MUSIC_BTN_HEIGHT;
- fixed : 1 1;
-// image.normal: "mb_3g_indi_link_icon_music.png";
- color_class : "AO025";
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.top";}
- rel2 { relative : 0.5 1.0; to : "padding.top";}
- }
- description {
- state: "disable" 0.0;
- inherit: "default";
- color_class : "AO025D";
- }
- }
- /*
- part {
- name : "img.music.bg2";
- type : IMAGE;
- clip_to : "clipper_music";
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : MUSIC_BTN_WIDTH MUSIC_BTN_HEIGHT;
- max : MUSIC_BTN_WIDTH MUSIC_BTN_HEIGHT;
- fixed : 1 1;
- image.normal: "mb_3g_indi_link_stroke.png";
- color_class : "AO028";
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.top";}
- rel2 { relative : 0.5 1.0; to : "padding.top";}
- }
- description {
- state: "disable" 0.0;
- inherit: "default";
- color_class : "AT016D";
- }
- }
- */
- part {
- name : "padding.center.2";
- type : SPACER;
- scale : 1;
- description {
- state : "default";
- min : 360 PADDING_CENTER_2;
- max : 360 PADDING_CENTER_2;
- fixed: 1 1;
- // color :0 0 200 200;
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "img.music.icon";}
- rel2 { relative : 0.5 1.0; to : "img.music.icon";}
- }
- }
- part {
- name : "txt.music";
- type : TEXT;
- clip_to : "clipper_music";
- scale : 1;
- description{
- state : "default" 0.0;
- min : DND_TEXT_WIDTH DND_TEXT_HEIGHT;
- fixed : 1 1;
- align : 0.5 0.0;
- color_class : "AT0114";
- rel1{ relative: 0.5 1.0; to : "padding.center.2";}
- rel2{ relative: 0.5 1.0;to : "padding.center.2";}
- text {
- min : 1 1;
- align: 0.5 0.5;
- text : "Music ongoing";
- ellipsis : 0;
- text_class : "AT0114";
- }
- }
- description {
- state: "disable" 0.0;
- inherit: "default";
- color_class : "AO0271";
- }
- }
- part {
- name: "clipper_music";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- description {
- state: "fade_in" 0.0;
- inherit: "default";
- color: 255 255 255 255;
- }
- }
- part {
- name : "music.touch.area";
- // type : RECT;
- type : IMAGE;
- precise_is_inside: 1;
- repeat_events: 1;
- scale : 1;
- description {
- state : "default" 0.0;
- // min : 232 232;
- // max : 232 232;
- // fixed : 1 1;
- color : 100 0 120 0;
- // align : 0.5 0.5;
- image.normal: "moment_bar_focus_bt_touch_1.png";
-// color_class : "AO0217";
- rel1.to: "bg";
- rel2.to: "bg";
- }
- }
-#endif
}
programs {
program {
signal : "img.music.enable";
source : "img.music.icon";
action : STATE_SET "default" 0.0;
-// target : "txt.music";
target : "img.music.icon";
target : "img.music.bg";
}
signal : "img.music.disable";
source : "img.music.icon";
action : STATE_SET "disable" 0.0;
-// target : "txt.music";
target : "img.music.icon";
target : "img.music.bg";
}
/* Press effect */
program {
- name: "music.pressed";
- signal: "music.pressed";
- source: "img.music.bg";
+ name: "layout.pressed";
+ signal: "layout.pressed";
+ source: "";
action: STATE_SET "selected" 0.0;
target: "img.music.bg";
}
program {
- name: "music.released";
- signal: "music.released";
- source: "img.music.bg";
+ name: "layout.released";
+ signal: "layout.released";
+ source: "";
action: STATE_SET "default" 0.0;
target: "img.music.bg";
}
* limitations under the License.
*/
-#define DESCRIPTION_VOLUME_TEXT(num) \
- description { \
- state : "level_"num 0.0;\
- inherit : "default" 0.0; \
- text {\
- text : num;\
- }\
- } \
-
-#define DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(num) \
- description { \
- state : "level_"num 0.0;\
- inherit : "default" 0.0; \
- text {\
- style : "large_brightness_title_style";\
- text : num;\
- }\
- } \
-
-#define PROGRAM_VOLUME_TEXT(num)\
-program { \
- name : "volume.text."num; \
- signal : "volume.text."num; \
- source : "img.volume.text"; \
- action : STATE_SET "level_"num 0.0; \
- target : "img.volume.text"; \
-} \
-
styles {
style {
name: "style_txt_volume";
source: "img.volume.icon";
action: STATE_SET "default" 0.0;
target: "img.volume.icon";
- //target: "txt.volume";
}
program {
name: "volume.icon.mute";
source: "img.volume.icon";
action: STATE_SET "mute" 0.0;
target: "img.volume.icon";
- //target: "txt.volume";
}
program {
name: "volume.icon.media";
source: "img.volume.icon";
action: STATE_SET "media" 0.0;
target: "img.volume.icon";
- //target: "txt.volume";
}
program {
name: "volume.icon.vibrate";
source: "img.volume.icon";
action: STATE_SET "vibrate" 0.0;
target: "img.volume.icon";
- //target: "txt.volume";
}
/* Press effect */
program {
- name: "volume.pressed";
- signal: "volume.pressed";
- source: "img.volume.bg";
+ name: "layout.pressed";
+ signal: "layout.pressed";
+ source: "";
action: STATE_SET "selected" 0.0;
target: "img.volume.bg";
}
program {
- name: "volume.released";
- signal: "volume.released";
- source: "img.volume.bg";
+ name: "layout.released";
+ signal: "layout.released";
+ source: "";
action: STATE_SET "default" 0.0;
target: "img.volume.bg";
}
}
}
-
-#if 0
-group {
- name : "windicator/volume/small_icon";
- images {
- image : "mb_center_bg.png" COMP;
- image : "momment_bar_btn_bg.png" COMP;
- image : "momment_bar_btn_icon_ringtone.png" COMP;
- image : "momment_bar_btn_icon_ringtone_mute.png" COMP;
- image : "momment_bar_btn_icon_spearker.png" COMP;
- image : "momment_bar_btn_icon_mute.png" COMP;
- }
- parts {
- part {
- name : "bg";
- type : SPACER;
- scale :1;
- description {
- state : "default";
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- }
- }
- part {
- name : "padding.top";
- type : SPACER;
- scale : 1;
- description {
- state : "default";
- min : 360 92;
- max : 360 92;
- fixed: 1 1;
- align : 0.0 0.0;
- // color :200 0 0 200;
- rel1 { relative : 0.0 0.0; to : "bg";}
- rel2 { relative : 0.0 0.0; to : "bg";}
- }
- }
- part {
- name : "img.volume.text";
- type : TEXT;
- clip_to : "clipper_volume";
- scale : 1;
- repeat_events : 1;
- description{
- state : "default" 0.0;
- min : BRIGHTNESS_TEXT_WIDTH BRIGHTNESS_TEXT_HEIGHT;
- visible : 1;
- fixed : 1 1;
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.top"; }
- rel2 { relative : 0.5 1.0; to : "padding.top"; }
- text {
- min : 1 1;
- align: 0.5 0.5;
- text_class : "AT0112";
- text : "00";
- }
- }
- DESCRIPTION_VOLUME_TEXT(0)
- DESCRIPTION_VOLUME_TEXT(1)
- DESCRIPTION_VOLUME_TEXT(2)
- DESCRIPTION_VOLUME_TEXT(3)
- DESCRIPTION_VOLUME_TEXT(4)
- DESCRIPTION_VOLUME_TEXT(5)
- DESCRIPTION_VOLUME_TEXT(6)
- DESCRIPTION_VOLUME_TEXT(7)
- DESCRIPTION_VOLUME_TEXT(8)
- DESCRIPTION_VOLUME_TEXT(9)
- DESCRIPTION_VOLUME_TEXT(10)
- DESCRIPTION_VOLUME_TEXT(11)
- DESCRIPTION_VOLUME_TEXT(12)
- DESCRIPTION_VOLUME_TEXT(13)
- DESCRIPTION_VOLUME_TEXT(14)
- DESCRIPTION_VOLUME_TEXT(15)
- }
-
- part {
- name : "padding.center.1";
- type : SPACER;
- scale : 1;
- description {
- state : "default";
- min : 360 6;
- max : 360 6;
- fixed: 1 1;
- // color :0 0 200 200;
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "img.volume.text";}
- rel2 { relative : 0.5 1.0; to : "img.volume.text";}
- }
- }
-
- part {
- name : "img.volume.bg";
- type : IMAGE;
- clip_to : "clipper_volume";
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : BRIGHTNESS_BG_WIDTH BRIGHTNESS_BG_HEIGHT;
- max : BRIGHTNESS_BG_WIDTH BRIGHTNESS_BG_HEIGHT;
- fixed : 1 1;
- image.normal: "mb_center_bg.png";
- color_class : "AO024";
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.center.1";}
- rel2 { relative : 0.5 1.0; to : "padding.center.1";}
- }
- }
- part {
- name : "sw.volume.btn";
- type : SWALLOW;
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : 80 80;
- max : 80 80;
- fixed : 1 1;
- align : 0.5 0.5;
- rel1.to: "img.volume.bg";
- rel2.to: "img.volume.bg";
- }
- }
- part {
- name : "img.volume.icon";
- type : IMAGE;
- clip_to : "clipper_volume";
- scale : 1;
- repeat_events : 1;
- description {
- state : "default" 0.0;
- min : BRIGHTNESS_ICON_WIDTH BRIGHTNESS_ICON_HEIGHT;
- max : BRIGHTNESS_ICON_WIDTH BRIGHTNESS_ICON_HEIGHT;
- fixed : 1 1;
- image.normal: "momment_bar_btn_icon_ringtone.png";
- color_class : "AO025";
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "padding.center.1";}
- rel2 { relative : 0.5 1.0; to : "padding.center.1";}
- }
- description {
- state: "ringtone_mute" 0.0;
- inherit: "default";
- image.normal: "momment_bar_btn_icon_ringtone_mute.png";
- }
- description {
- state: "media" 0.0;
- inherit: "default";
- image.normal: "momment_bar_btn_icon_spearker.png";
- }
- description {
- state: "media_mute" 0.0;
- inherit: "default";
- image.normal: "momment_bar_btn_icon_mute.png";
- }
- }
- part {
- name : "padding.center.2";
- type : SPACER;
- scale : 1;
- description {
- state : "default";
- min : 360 PADDING_CENTER_2;
- max : 360 PADDING_CENTER_2;
- fixed: 1 1;
- // color :0 0 200 200;
- align : 0.5 0.0;
- rel1 { relative : 0.5 1.0; to : "img.volume.icon";}
- rel2 { relative : 0.5 1.0; to : "img.volume.icon";}
- }
- }
- part {
- name : "txt.volume";
- type : TEXT;
- clip_to : "clipper_volume";
- scale : 1;
- description{
- state : "default" 0.0;
- min : BRIGHTNESS_TEXT_WIDTH BRIGHTNESS_TEXT_HEIGHT;
- fixed : 1 1;
- align : 0.5 0.0;
- color_class : "AT0113";
- rel1{ relative: 0.5 1.0; to : "padding.center.2";}
- rel2{ relative: 0.5 1.0;to : "padding.center.2";}
- text {
- min : 1 1;
- align: 0.5 0.5;
- text : "Volume";
- ellipsis : 0;
- text_class : "AT0113";
- }
- }
- }
- part {
- name: "clipper_volume";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- description {
- state: "fade_in" 0.0;
- inherit: "default";
- color: 255 255 255 255;
- }
- }
- part {
- name : "volume.touch.area";
- // type : RECT;
- type : IMAGE;
- precise_is_inside: 1;
- repeat_events : 1;
- scale : 1;
- description {
- state : "default" 0.0;
- // min : 232 232;
- // max : 232 232;
- // fixed : 1 1;
- color : 100 100 0 0;
- // align : 0.5 0.5;
- image.normal: "moment_bar_focus_bt_touch_1.png";
-// color_class : "AO0217";
- rel1.to: "bg";
- rel2.to: "bg";
- }
- }
- }
- programs {
- PROGRAM_VOLUME_TEXT(0)
- PROGRAM_VOLUME_TEXT(1)
- PROGRAM_VOLUME_TEXT(2)
- PROGRAM_VOLUME_TEXT(3)
- PROGRAM_VOLUME_TEXT(4)
- PROGRAM_VOLUME_TEXT(5)
- PROGRAM_VOLUME_TEXT(6)
- PROGRAM_VOLUME_TEXT(7)
- PROGRAM_VOLUME_TEXT(8)
- PROGRAM_VOLUME_TEXT(9)
- PROGRAM_VOLUME_TEXT(10)
- PROGRAM_VOLUME_TEXT(11)
- PROGRAM_VOLUME_TEXT(12)
- PROGRAM_VOLUME_TEXT(13)
- PROGRAM_VOLUME_TEXT(14)
- PROGRAM_VOLUME_TEXT(15)
-
- // Hide
- program {
- name: "volume_hide";
- signal: "volume_hide";
- source: "clipper_volume";
- action: STATE_SET "default" 0.0;
- target: "clipper_volume";
- after: "volume_fade_out_end";
- }
- // Fade Out effect
- program {
- name: "volume_fade_out";
- signal: "volume_fade_out";
- source: "clipper_volume";
- action: STATE_SET "default" 0.0;
- target: "clipper_volume";
- transition: ACCEL_FAC 0.1 0.33;
- after: "volume_fade_out_end";
- }
- program {
- name : "volume_fade_out_end";
- action : SIGNAL_EMIT "volume_fade_out_end" "signal";
- }
- // Fade In effect
- program {
- name: "volume_fade_in";
- signal: "volume_fade_in";
- source: "clipper_volume";
- action: STATE_SET "default" 0.0;
- target: "clipper_volume";
- transition: ACCEL_FAC 0.1 0.33;
- after: "volume_fade_in_start";
- }
- program {
- name: "volume_fade_in_start";
- signal: "volume_fade_in";
- source: "clipper_volume";
- action: STATE_SET "fade_in" 0.0;
- target: "clipper_volume";
- transition: ACCEL_FAC 0.1 0.33;
- }
-
- // Program to change volume icon
- program {
- name: "volume.icon.ringtone";
- signal: "volume.icon.ringtone";
- source: "img.volume.icon";
- action: STATE_SET "default" 0.0;
- target: "img.volume.icon";
- }
- program {
- name: "volume.icon.ringtone.mute";
- signal: "volume.icon.ringtone.mute";
- source: "img.volume.icon";
- action: STATE_SET "ringtone_mute" 0.0;
- target: "img.volume.icon";
- }
- program {
- name: "volume.icon.media";
- signal: "volume.icon.media";
- source: "img.volume.icon";
- action: STATE_SET "media" 0.0;
- target: "img.volume.icon";
- }
- program {
- name: "volume.icon.media.mute";
- signal: "volume.icon.media.mute";
- source: "img.volume.icon";
- action: STATE_SET "media_mute" 0.0;
- target: "img.volume.icon";
- }
- }
-}
-
-group {
- name : "windicator/volume/large_icon";
- images {
- image : "Control/b_volume_ic.png" COMP;
- image : "b_brightness_slider_bg.png" COMP;
- image : "view_over_back_bg.png" COMP;
- image : "b_setting_multi_media.png" COMP;
- image : "b_setting_multi_media_mute.png" COMP;
- image : "b_setting_multi_ringtone.png" COMP;
- image : "b_setting_multi_ringtone_mute.png" COMP;
- }
- parts {
- part {
- name : "bg";
- type : RECT;
- clip_to: "clipper_large_volume_icon";
- scale : 1;
- description {
- state : "default" 0.0;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- color_class : "AO029L4";
- }
- }
- part {
- name : "over.back.bg";
- type : IMAGE;
- clip_to: "clipper_large_volume_icon";
- scale : 1;
- description {
- state : "default" 0.0;
- min : WIN_WIDTH WIN_HEIGHT;
- max : WIN_WIDTH WIN_HEIGHT;
- fixed :1 1;
- rel1 { relative : 0.5 0.5; to : "bg"; }
- rel2 { relative : 0.5 0.5; to : "bg"; }
- image.normal: "view_over_back_bg.png";
- color_class : "AO029L3";
- }
- }
- part {
- name : "padding.top";
- type : SPACER;
- scale :1;
- description {
- state : "default" 0.0;
- min : WIN_WIDTH 50;
- max : WIN_WIDTH 50;
- // visible : 1;
- fixed : 1 1;
- // color : 200 0 0 200;
- align : 0.0 0.0;
- rel1 { relative : 0.0 0.0; to : "bg"; }
- rel2 { relative : 0.0 0.0; to : "bg"; }
- }
- }
- part {
- name : "img.volume.text";
- type : TEXTBLOCK;
- clip_to: "clipper_large_volume_icon";
- scale : 1;
- description{
- state : "default" 0.0;
- min : BRIGHTNESS_TEXT_WIDTH BRIGHTNESS_TEXT_HEIGHT;
- max : BRIGHTNESS_TEXT_WIDTH BRIGHTNESS_TEXT_HEIGHT;
- visible : 1;
- fixed : 1 1;
- align : 0.5 0.0;
- color_class : "T014";
- // color_class : "AT013";
- rel1 { relative : 0.0 1.0; to : "padding.top"; }
- rel2 { relative : 1.0 1.0; to : "padding.top"; }
- text {
- style : "large_brightness_title_style";
- min : 1 1;
- align: 0.5 0.5;
- text : "0";
- }
- }
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(0)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(1)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(2)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(3)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(4)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(5)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(6)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(7)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(8)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(9)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(10)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(11)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(12)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(13)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(14)
- DESCRIPTION_VOLUME_TEXT_FOR_LARGE_ICON(15)
- }
- part {
- name : "img.volume.bg";
- type : IMAGE;
- clip_to: "clipper_large_volume_icon";
- scale : 1;
- description {
- state : "default" 0.0;
- min : 150 150;
- max : 150 150;
- fixed : 1 1;
- align : 0.5 0.5;
- rel1 { relative : 0.5 0.5; to : "bg"; }
- rel2 { relative : 0.5 0.5; to : "bg"; }
- image.normal: "b_brightness_slider_bg.png";
- // color_class : "AO0141";
- color_class : "B0554";
- }
- }
- part {
- name : "img.volume.icon";
- type : IMAGE;
- clip_to: "clipper_large_volume_icon";
- scale : 1;
- description {
- state : "default" 0.0;
- min : BRIGHTNESS_LARGE_ICON_WIDTH BRIGHTNESS_LARGE_ICON_HEIGHT;
- max : BRIGHTNESS_LARGE_ICON_WIDTH BRIGHTNESS_LARGE_ICON_HEIGHT;
- fixed : 1 1;
- rel1 { relative : 0.5 0.5; to : "img.volume.bg"; }
- rel2 { relative : 0.5 0.5; to : "img.volume.bg"; }
- image.normal: "b_setting_multi_ringtone.png";
- // color_class : "AO0142";
- color_class : "B0556";
- }
- description {
- state: "ringtone_mute" 0.0;
- inherit: "default";
- image.normal: "b_setting_multi_ringtone_mute.png";
- }
- description {
- state: "media" 0.0;
- inherit: "default";
- image.normal: "b_setting_multi_media.png";
- }
- description {
- state: "media_mute" 0.0;
- inherit: "default";
- image.normal: "b_setting_multi_media_mute.png";
- }
- }
- part {
- name : "txt.volume";
- type : TEXTBLOCK;
- clip_to: "clipper_large_volume_icon";
- scale : 1;
- mouse_events: 1;
- description{
- state : "default" 0.0;
- fixed : 1 1;
- align : 0.5 0.0;
- rel1{ relative: 0.0 1.0; to : "img.volume.icon"; offset : 0 10;}
- rel2{ relative: 1.0 1.0; to : "img.volume.icon";}
- text {
- style : "large_brightness_title_style";
- min : 1 1;
- align: 0.5 0.5;
- text : "0";
- }
- }
- }
- part {
- name: "clipper_large_volume_icon";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- description {
- state: "fade_in" 0.0;
- inherit: "default";
- color: 255 255 255 255;
- }
- }
- }
- programs {
- PROGRAM_VOLUME_TEXT(0)
- PROGRAM_VOLUME_TEXT(1)
- PROGRAM_VOLUME_TEXT(2)
- PROGRAM_VOLUME_TEXT(3)
- PROGRAM_VOLUME_TEXT(4)
- PROGRAM_VOLUME_TEXT(5)
- PROGRAM_VOLUME_TEXT(6)
- PROGRAM_VOLUME_TEXT(7)
- PROGRAM_VOLUME_TEXT(8)
- PROGRAM_VOLUME_TEXT(9)
- PROGRAM_VOLUME_TEXT(10)
- PROGRAM_VOLUME_TEXT(11)
- PROGRAM_VOLUME_TEXT(12)
- PROGRAM_VOLUME_TEXT(13)
- PROGRAM_VOLUME_TEXT(14)
- PROGRAM_VOLUME_TEXT(15)
- program {
- name: "large_volume_icon_fade_in";
- signal: "large_volume_icon_fade_in";
- source: "clipper_large_volume_icon";
- action: STATE_SET "fade_in" 0.0;
- target: "clipper_large_volume_icon";
- transition: LINEAR 0.3;
- }
- program {
- name: "large_volume_icon_fade_out";
- signal: "large_volume_icon_fade_out";
- source: "clipper_large_volume_icon";
- action: STATE_SET "default" 0.0;
- target: "clipper_large_volume_icon";
- transition: LINEAR 0.3;
- after: "large_volume_fade_out_end";
- }
- program {
- name : "large_volume_fade_out_end";
- action : SIGNAL_EMIT "large_volume_fade_out_end" "signal";
- }
- // Program to change volume icon
- program {
- name: "volume.icon.ringtone";
- signal: "volume.icon.ringtone";
- source: "img.volume.icon";
- action: STATE_SET "default" 0.0;
- target: "img.volume.icon";
- }
- program {
- name: "volume.icon.ringtone.mute";
- signal: "volume.icon.ringtone.mute";
- source: "img.volume.icon";
- action: STATE_SET "ringtone_mute" 0.0;
- target: "img.volume.icon";
- }
- program {
- name: "volume.icon.media";
- signal: "volume.icon.media";
- source: "img.volume.icon";
- action: STATE_SET "media" 0.0;
- target: "img.volume.icon";
- }
- program {
- name: "volume.icon.media.mute";
- signal: "volume.icon.media.mute";
- source: "img.volume.icon";
- action: STATE_SET "media_mute" 0.0;
- target: "img.volume.icon";
- }
- }
-}
-#endif
#ifndef _TIZEN_3G_ENABLE
#define _TIZEN_3G_DISABLE
#endif
+
#define MAX_PATH_LENGTH 1024
#define DYNAMIC_ICON_WIDTH 24
#define DYNAMIC_ICON_HEIGHT 26
#define PATH_MAX 4096
-#ifdef _TIZEN_3G_DISABLE
-#define ROTARY_INDEX_MAX 5
-#else
-#define ROTARY_INDEX_MAX 7
-#endif
-
typedef enum {
- TYPE_MOMENT_NONE = 0,
- TYPE_MOMENT_BAR,
- TYPE_MOMENT_VIEW,
- TYPE_MAX,
+ TYPE_MOMENT_NONE = 0,
+ TYPE_MOMENT_BAR,
+ TYPE_MOMENT_VIEW,
+ TYPE_MAX,
} windicator_type;
typedef enum {
- WINDICATOR_ERROR_OK = 0,
- WINDICATOR_ERROR_FAIL = -1,
- WINDICATOR_ERROR_INVALID_PARAMETER = -2,
- WINDICATOR_ERROR_NO_DATA = -3
+ WINDICATOR_ERROR_OK = 0,
+ WINDICATOR_ERROR_FAIL = -1,
+ WINDICATOR_ERROR_INVALID_PARAMETER = -2,
+ WINDICATOR_ERROR_NO_DATA = -3
} windicator_error_e;
enum {
- MUSIC_BTN_DISABLED,
- MUSIC_BTN_ENABLED,
+ MUSIC_BTN_DISABLED,
+ MUSIC_BTN_ENABLED,
};
struct appdata {
Evas_Object *flight_mode_layout;
Evas_Object *flight_mode_win;
- /* Moment Bar - POWER SAVING button */
- Evas_Object *powersaving_layout;
- Evas_Object *powersaving_popup;
- Evas_Object *powersaving_win;
-
/* Moment Bar - Music button */
Evas_Object *music_btn_layout;
Evas_Object *music_icon;
*/
struct appdata *windicator_appdata_get(void);
-/*
-* @brief: Sets first layout as default
-* @param[in] data: User data
-*/
-void windicator_lo_update(void* data);
-
/*
* @brief: Locks the given lock state (Dim display here) for a specified time.
*/
*/
windicator_error_e windicator_call_fwd_btn_update(void *data);
-//void _call_fwd_btn_clicked_cb(void *data, Evas_Object *obj, const char *emission, const char *source);
+void _call_fwd_btn_clicked_cb(void *data, Evas_Object *obj, const char *emission, const char *source);
#endif /* __WINDICATOR_CALL_FWD_BTN_H__ */
--- /dev/null
+/*
+ * Samsung API
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Flora License, Version 1.1 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * 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 __WINDICATOR_COMMON_H__
+#define __WINDICATOR_COMMON_H__
+
+#include <stdbool.h>
+
+bool windicator_common_is_call_fwd_enable();
+
+#endif /* __WINDICATOR_COMMON_H__ */
#include "windicator.h"
-/*
-* @brief: Creates moment bar first page
-* @param[in] data: User data
-*/
-Evas_Object *windicator_moment_bar_first_page_layout_create(void *data);
-//Evas_Object *windicator_moment_bar_first_page_layout_create_for_3g(void *data);
-
/*
* @brief: Moment bar initializes
* @param[in] data: User data
windicator_error_e windicator_moment_bar_init(void *data);
/*
-* @brief: Show the moment bar if connection resumes. register back/Down key handlers
-* @param[in] data: User data
-*/
-windicator_error_e windicator_moment_bar_show(void *data);
-//windicator_error_e windicator_moment_bar_hide(void *data);
-//Eina_Bool windicator_moment_bar_timer_cb(void *data);
-//void windicator_moment_bar_refresh_main_view(void *data);
-//void windicator_handle_fade_in_animation(void* data);
-
-/*
-* @brief: Updates moment bar main view
+* @brief: Moment bar deinitializes
* @param[in] data: User data
*/
-windicator_error_e windicator_moment_bar_update_main_view(void *data);
+windicator_error_e windicator_moment_bar_deinit(void *data);
/*
* @brief: Show moment bar directly (Registers back key handler)
* @param[in] data: User data
*/
windicator_error_e windicator_hide_moment_bar_directly(void* data);
-//void windicator_handle_clicked_animation(void* data,int index);
-//void change_theme_callback(void *data);
-/*
-* @brief: Deletes back key handler
-* @param[in] data: User data
-*/
-void windicator_util_back_key_ungrab(void *data);
-
-/*
-* @brief: Deletes down key handler
-* @param[in] data: User data
-*/
-void windicator_util_down_key_ungrab(void *data);
#endif /* __WINDICATOR_MOMENT_BAR_H__ */
*/
void _music_btn_clicked_cb(void *data, Evas_Object *obj, const char *emission, const char *source);
+void on_pressed_music_icon(void *data, Evas_Object *obj, const char *emission, const char *source);
+
+void on_released_music_icon(void *data, Evas_Object *obj, const char *emission, const char *source);
+
+
#endif /* __WINDICATOR_DND_BTN_H__ */
#define DND_TEXT_WIDTH 168
#define DND_TEXT_HEIGHT 37
-#define POWERSAVING_BTN_WIDTH 88
-#define POWERSAVING_BTN_HEIGHT 88
-#define POWERSAVING_TEXT_WIDTH 148
-#define POWERSAVING_TEXT_HEIGHT 37
-
#define MUSIC_BTN_WIDTH 88
#define MUSIC_BTN_HEIGHT 88
} \
collections {
- base_scale: 1.3;
- #include "../../edc/color_classes.edc"
-#if _TIZEN_3G_ENABLE
- #include "../../edc/windicator_moment_bar_for_3g.edc"
-#else
- #include "../../edc/windicator_moment_bar.edc"
-#endif
- #include "../../edc/windicator_moment_view.edc"
- #include "../../edc/windicator_dynamic.edc"
- #include "../../edc/windicator_battery_layout.edc"
- #include "../../edc/windicator_battery_icon.edc"
- #include "../../edc/windicator_brightness.edc"
- #include "../../edc/windicator_volume.edc"
- #include "../../edc/windicator_connect_icons.edc"
- #include "../../edc/windicator_rssi_icons.edc"
- #include "../../edc/windicator_scs.edc"
- #include "../../edc/windicator_dnd_layout.edc"
- #include "../../edc/windicator_flight_mode_layout.edc"
- #include "../../edc/windicator_music_layout.edc"
- #include "../../edc/windicator_callfwd_layout.edc"
- #include "../../edc/windicator_bluetooth_icon.edc"
- #include "../../edc/windicator_dynamic_icon.edc"
+ base_scale: 1.3;
+
+ #include "../../edc/windicator_color_classes.edc"
+ #include "../../edc/windicator_moment_bar.edc"
+ #include "../../edc/windicator_moment_view.edc"
+ #include "../../edc/windicator_dynamic.edc"
+ #include "../../edc/windicator_battery_layout.edc"
+ #include "../../edc/windicator_battery_icon.edc"
+ #include "../../edc/windicator_brightness.edc"
+ #include "../../edc/windicator_volume.edc"
+ #include "../../edc/windicator_connect_icons.edc"
+ #include "../../edc/windicator_rssi_icons.edc"
+ #include "../../edc/windicator_scs.edc"
+ #include "../../edc/windicator_dnd_layout.edc"
+ #include "../../edc/windicator_flight_mode_layout.edc"
+ #include "../../edc/windicator_music_layout.edc"
+ #include "../../edc/windicator_callfwd_layout.edc"
+ #include "../../edc/windicator_bluetooth_icon.edc"
+ #include "../../edc/windicator_dynamic_icon.edc"
}
#include "windicator_util.h"
#include "windicator_volume.h"
-
#define MOMENT_VIEW_HEIGHT 105;
struct appdata *g_ad = NULL;
ad->flight_mode_layout = NULL;
ad->flight_mode_win = NULL;
- /* Moment Bar POWERSAVING Button */
- ad->powersaving_layout = NULL;
- ad->powersaving_popup = NULL;
- ad->powersaving_win = NULL;
-
/* Moment Bar Music Button */
ad->music_btn_layout = NULL;
ad->music_status = 0;
ad->moment_view_battery_icon = NULL;
}
-/*
-* @brief: Sets first layout as default
-* @param[in] data: User data
-*/
-void windicator_lo_update(void* data)
-{
- struct appdata *ad = (struct appdata *)data;
- ret_if(ad == NULL);
-
- //ad->layout_status = 0;
- elm_object_signal_emit(ad->moment_bar_first_page_layout, "set_default_layout", "sw.all");
-}
-
/*
* @brief: Creates moment bar window
* @param[in] user_data: User data
/* Unregister scs's vconfkey events */
windicator_scs_vconfkey_unregister();
- windicator_util_back_key_ungrab(ad);
- windicator_util_down_key_ungrab(ad);
-
/* Destroy popup window */
windicator_dnd_popup_destroy(ad);
+ /* Deinit moment bar */
+ windicator_moment_bar_deinit(ad);
#ifdef __W_HOME_WIDGET__
return WIDGET_ERROR_NONE;
#endif
ad->launch_setting_trigger = 1;
windicator_util_launch_app(ad);
}
-/*
-* @brief: Callback function executes after mouse down event on brightness small layout
-* @param[in] data: User data
-* @param[in] obj: brightness small layout
-* @param[in] emission: emitted signal
-* @param[in] source: Source of the signal
-*/
-void on_pressed_small_brightness_icon(void *data, Evas_Object *obj, const char *emission, const char *source)
-{
- _D("");
- struct appdata *ad = (struct appdata *)data;
- ret_if(ad == NULL);
-
- elm_object_signal_emit(ad->brightness_small_layout, "brightness.pressed", "img.brightness.bg");
-}
-
-/*
-* @brief: Callback function executes after mouse up event on brightness small layout
-* @param[in] data: User data
-* @param[in] obj: brightness small layout
-* @param[in] emission: emitted signal
-* @param[in] source: Source of the signal
-*/
-void on_released_small_brightness_icon(void *data, Evas_Object *obj, const char *emission, const char *source)
-{
- _D("");
- struct appdata *ad = (struct appdata *)data;
- ret_if(ad == NULL);
-
- elm_object_signal_emit(ad->brightness_small_layout, "brightness.released", "img.brightness.bg");
-}
/*
* @brief: Creates brightness small layout
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- elm_object_part_content_set(parent, "brightness.swallow", layout);
- /* for press effect */
- elm_object_signal_callback_add(layout, "mouse,down,1", "img.brightness.icon", on_pressed_small_brightness_icon, ad);
- elm_object_signal_callback_add(layout, "mouse,up,1", "img.brightness.icon", on_released_small_brightness_icon, ad);
evas_object_show(layout);
return layout;
}
-/*
-static int _brightness_level_to_index(int level, int max)
-{
- int index = 1;
-
- if (level <= 1) {
- index = 1;
- } else if (level <= 20) {
- index = 2;
- } else if (level <= 40) {
- index = 3;
- } else if (level <= 50) {
- index = 4;
- } else if (level <= 60) {
- index = 5;
- } else if (level <= 70) {
- index = 6;
- } else if (level <= 80) {
- index = 7;
- } else if (level <= 90) {
- index = 8;
- } else if (level <= 95) {
- index = 9;
- } else if (level <= 100) {
- index = 10;
- } else {
- _E("Failed to change level to index");
- index = 1;
- }
-
- _I("brightness level: %d -> index: %d", level, index);
-
- return index;
-}
-*/
/*
* @brief: utility function to convert into string from int
#include "log.h"
#include "windicator_moment_bar.h"
#include "windicator_util.h"
+#include "windicator_common.h"
-/*
-* @brief: Returns call forward status. detects the sim is present or not
-*/
-static int windicator_call_fwd_state_get(void)
-{
- int ret = 0;
- int status = 0;
-
- ret = vconf_get_int(VCONFKEY_TELEPHONY_CALL_FORWARD_STATE, &status);
- if (ret < 0) {
- _E("vconf_get_int() failed(%d)", ret);
- return 0;
- }
- if (status)
- return 1;
-
- return 0;
-}
-/*
-* @brief: Callback function executes after mouse down event on callforward button layout
-* @param[in] data: User data
-* @param[in] obj: Brightness icon layout
-* @param[in] emission: emitted signal
-* @param[in] source: Source of the signal
-*/
-void on_pressed_call_fwd_icon(void *data, Evas_Object *obj, const char *emission, const char *source)
-{
- _D("");
- struct appdata *ad = (struct appdata *)data;
- ret_if(ad == NULL);
-
- elm_object_signal_emit(ad->callfwd_btn_layout, "callfwd.pressed", "img.callfwd.bg");
-}
-/*
-* @brief: Callback function executes after mouse up event on callforward button layout
-* @param[in] data: User data
-* @param[in] obj: Brightness icon layout
-* @param[in] emission: emitted signal
-* @param[in] source: Source of the signal
-*/
-void on_released_call_fwd_icon(void *data, Evas_Object *obj, const char *emission, const char *source)
-{
- _D("");
- struct appdata *ad = (struct appdata *)data;
- ret_if(ad == NULL);
-
- elm_object_signal_emit(ad->callfwd_btn_layout, "callfwd.released", "img.callfwd.bg");
-}
/*
* @brief:callforward button layout create
* @param[in] parent: Parent of callforward button layout
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_fill_set(layout, EVAS_HINT_FILL, EVAS_HINT_FILL);
- elm_object_part_content_set(parent, "callfwd.swallow", layout);
- //Get call_fwd_button_show from a function which detects the sim is present or not
- int call_fwd_button_show = windicator_call_fwd_state_get();
- if (call_fwd_button_show) {
- /* for press effect */
- elm_object_signal_callback_add(layout, "mouse,down,1", "img.callfwd.icon", on_pressed_call_fwd_icon, ad);
- elm_object_signal_callback_add(layout, "mouse,up,1", "img.callfwd.icon", on_released_call_fwd_icon, ad);
- }
-
ad->callfwd_btn_layout = layout;
evas_object_show(layout);
return layout;
return WINDICATOR_ERROR_FAIL;
}
//Get call_fwd_button_show from a function which detects the sim is present or not
- int call_fwd_button_show = windicator_call_fwd_state_get();
- if (call_fwd_button_show)
+ if (windicator_common_is_call_fwd_enable())
elm_object_signal_emit(ad->callfwd_btn_layout, "img.callfwd.enable", "img.callfwd.icon");
else
elm_object_signal_emit(ad->callfwd_btn_layout, "img.callfwd.disable", "img.callfwd.icon");
ad->callfwd_btn_layout = NULL;
}
}
+
+void _call_fwd_btn_clicked_cb(void *data, Evas_Object *obj, const char *emission, const char *source)
+{
+ return;
+}
--- /dev/null
+/*
+ * Samsung API
+ * Copyright (c) 2013 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Flora License, Version 1.1 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * 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 "windicator_common.h"
+
+#include <vconf.h>
+
+#include "log.h"
+
+bool windicator_common_is_call_fwd_enable()
+{
+ int status = 0;
+ int ret = vconf_get_int(VCONFKEY_TELEPHONY_CALL_FORWARD_STATE, &status);
+ if (ret < 0) {
+ _E("vconf_get_int() failed(%d)", ret);
+ }
+ return status;
+}
_dnd_popup_launch(ad);
}
}
-/*
-* @brief: Callback function on mouse down event on dnd button layout
-* @param[in] data: User data
-* @param[in] obj: dnd button layout
-* @param[in] emission: Emitted signal
-* @param[in] source: Source of the signal emitted
-*/
-void on_pressed_dnd_icon(void *data, Evas_Object *obj, const char *emission, const char *source)
-{
- _D("");
- struct appdata *ad = (struct appdata *)data;
- ret_if(ad == NULL);
-
- elm_object_signal_emit(ad->dnd_btn_layout, "dnd.pressed", "img.disturb.bg");
-}
-/*
-* @brief: Callback function on mouse up event on dnd button layout
-* @param[in] data: User data
-* @param[in] obj: dnd button layout
-* @param[in] emission: Emitted signal
-* @param[in] source: Source of the signal emitted
-*/
-void on_released_dnd_icon(void *data, Evas_Object *obj, const char *emission, const char *source)
-{
- _D("");
- struct appdata *ad = (struct appdata *)data;
- ret_if(ad == NULL);
-
- elm_object_signal_emit(ad->dnd_btn_layout, "dnd.released", "img.disturb.bg");
-}
/*
* @brief: Creates the dnd button layout
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_fill_set(layout, EVAS_HINT_FILL, EVAS_HINT_FILL);
- elm_object_part_content_set(parent, "dnd.swallow", layout);
- /* for press effect */
- elm_object_signal_callback_add(layout, "mouse,down,1", "img.disturb.icon", on_pressed_dnd_icon, ad);
- elm_object_signal_callback_add(layout, "mouse,up,1", "img.disturb.icon", on_released_dnd_icon, ad);
evas_object_show(layout);
return layout;
}
}
-
-/*
-* @brief: Callback function on mouse down event on flight mode icon layout
-* @param[in] data: User data
-* @param[in] obj: flight mode icon layout
-* @param[in] emission: Emitted signal
-* @param[in] source: Source of the signal emitted
-*/
-void on_pressed_flight_mode_icon(void *data, Evas_Object *obj, const char *emission, const char *source)
-{
- _D("");
- struct appdata *ad = (struct appdata *)data;
- ret_if(ad == NULL);
-
- elm_object_signal_emit(ad->flight_mode_layout, "flight.pressed", "img.flight.bg");
-}
-
-/*
-* @brief: Callback function on mouse up event on flight mode icon layout
-* @param[in] data: User data
-* @param[in] obj: flight mode icon layout
-* @param[in] emission: Emitted signal
-* @param[in] source: Source of the signal emitted
-*/
-void on_released_flight_mode_icon(void *data, Evas_Object *obj, const char *emission, const char *source)
-{
- _D("");
- struct appdata *ad = (struct appdata *)data;
- ret_if(ad == NULL);
-
- elm_object_signal_emit(ad->flight_mode_layout, "flight.released", "img.flight.bg");
-}
-
/*
* @brief: Creates the flight mode icon layout
* @param[in] parent: Parent of the flight mode icon layout
evas_object_show(layout);
- elm_object_part_content_set(parent, "flight.swallow", layout);
- /* for press effect */
- elm_object_signal_callback_add(layout, "mouse,down,1", "img.flight.icon", on_pressed_flight_mode_icon, ad);
- elm_object_signal_callback_add(layout, "mouse,up,1", "img.flight.icon", on_released_flight_mode_icon, ad);
-
return layout;
}
/*
#include <efl_extension.h>
#include <tzsh_quickpanel_service.h>
-
#include <widget_app_efl.h>
+#include <vconf.h>
+
#include "log.h"
#include "windicator_battery.h"
#include "windicator_brightness.h"
#include "windicator_scs.h"
#include "windicator_util.h"
#include "windicator_volume.h"
+#include "windicator_common.h"
#define KEY_BACK "XF86Back"
#define KEY_DOWN "XF86PowerOff"
+#define ACTION_BTNS_SLOT_MAX_COUNT 6
+
+#define ACTION_BTNS_SWL_PART_NAME_TXT_SIZE 100
+
+typedef enum {
+ WINDICATOR_AB_MUSIC = 0,
+ WINDICATOR_AB_CALL_FORWARD,
+ WINDICATOR_AB_FLIGHT_MODE,
+ WINDICATOR_AB_DND,
+ WINDICATOR_AB_VOLUME,
+ WINDICATOR_AB_BRIGHTNESS,
+
+ WINDICATOR_AB_COUNT
+} windicator_action_btn_type_e;
+
+static bool _action_btns_available[WINDICATOR_AB_COUNT] = { false, };
+static int _action_btns_slot[ACTION_BTNS_SLOT_MAX_COUNT] = { -1, };
+
+static const char *_action_btns_slot_swl_part[ACTION_BTNS_SLOT_MAX_COUNT] = {
+ "action_btn_0.swallow", "action_btn_1.swallow", "action_btn_2.swallow",
+ "action_btn_3.swallow", "action_btn_4.swallow", "action_btn_5.swallow"
+};
+
+static int _action_btns_visible_count = 0;
+
+static Evas_Object *_create_main_layout(void *data);
+static windicator_error_e _update_main_view_ui_components(void *data);
+
+static Eina_Bool _key_up_event_cb(void *data, int type, void *event);
+static Eina_Bool _key_down_event_cb(void *data, int type, void *event);
+static windicator_error_e _grab_back_key(void *data);
+static windicator_error_e _grab_down_key(void *data);
+static void _ungrab_back_key(void *data);
+static void _ungrab_down_key(void *data);
+static windicator_error_e _show_moment_bar(void *data);
+static void _action_btns_slots_update_cb(keynode_t *node, void *data);
+static void _register_action_btns_slots_update_callback(void *data);
+static void _unregister_action_btns_slots_update_callback(void);
+
+static void _update_action_btns_slots(void *data);
+
+static Evas_Object *_action_btns_get_btn_layout(void *data, windicator_action_btn_type_e type);
+static void _action_btns_reset_visibility_info();
+static void _action_btns_update_visibility_list(void *data);
+static void _action_btns_clear_slots(void *data);
+static void _action_btns_update_slot_count(void *data);
+static void _action_btns_set_slots(void *data);
+static void _action_btns_emit_click(windicator_action_btn_type_e type, void *data, Evas_Object *obj, const char *emission, const char *source);
+static void _update_action_btns_slots_selection(void *data, const char *source, Eina_Bool is_selected);
+
+static void _on_action_btn_click_area_clicked(void *data, Evas_Object *obj, const char *emission, const char *source);
+static void _on_action_btn_click_area_pressed(void *data, Evas_Object *obj, const char *emission, const char *source);
+static void _on_action_btn_click_area_unpressed(void *data, Evas_Object *obj, const char *emission, const char *source);
+
+static void _action_btns_reset_visibility_info()
+{
+ _action_btns_visible_count = WINDICATOR_AB_COUNT;
+
+ int i = 0;
+ for (; i < WINDICATOR_AB_COUNT; i++) {
+ _action_btns_available[i] = true;
+ }
+
+ i = 0;
+ for (; i < ACTION_BTNS_SLOT_MAX_COUNT; i++) {
+ _action_btns_slot[i] = -1;
+ }
+}
+
+static void _action_btns_update_visibility_list(void *data)
+{
+ int isBTOn = 0;
+ if (vconf_get_int(VCONFKEY_BT_STATUS, &isBTOn) != 0) {
+ _E("vconf_get_int() failed");
+ goto done;
+ }
+
+ if (isBTOn) {
+ int sap_connected = 0;
+ if (vconf_get_int("memory/wms/wmanager_connected", &sap_connected) < 0) {
+ _E("Failed to get vconfkey : %s", VCONFKEY_WMS_WMANAGER_CONNECTED);
+ goto done;
+ }
+
+ if (sap_connected) {
+ _I("Connected via bluetooth");
+#ifdef _TIZEN_3G_DISABLE
+ _action_btns_available[WINDICATOR_AB_CALL_FORWARD] = false;
+ --_action_btns_visible_count;
+#endif
+ return;
+ }
+ }
+done:
+ _action_btns_available[WINDICATOR_AB_MUSIC] = false;
+ --_action_btns_visible_count;
+
+ _action_btns_available[WINDICATOR_AB_CALL_FORWARD] = false;
+ --_action_btns_visible_count;
+}
+
+static void _action_btns_clear_slots(void *data)
+{
+ struct appdata *ad = (struct appdata *)data;
+ int i = 0;
+ for (; i < ACTION_BTNS_SLOT_MAX_COUNT; i++) {
+ Evas_Object *eo = elm_object_part_content_unset(ad->moment_bar_first_page_layout, _action_btns_slot_swl_part[i]);
+ evas_object_hide(eo);
+ }
+}
+
+static void _action_btns_update_slot_count(void *data)
+{
+ struct appdata *ad = (struct appdata *)data;
+ if (_action_btns_visible_count % 2) {
+ elm_object_signal_emit(ad->moment_bar_first_page_layout, "set_5_action_btns", "sw.all");
+ } else {
+ elm_object_signal_emit(ad->moment_bar_first_page_layout, "set_6_action_btns", "sw.all");
+ }
+}
+
+static Evas_Object *_action_btns_get_btn_layout(void *data, windicator_action_btn_type_e type)
+{
+ struct appdata *ad = (struct appdata *)data;
+
+ switch (type) {
+ case WINDICATOR_AB_MUSIC:
+ return ad->music_btn_layout;
+ case WINDICATOR_AB_CALL_FORWARD:
+ return ad->callfwd_btn_layout;
+ case WINDICATOR_AB_FLIGHT_MODE:
+ return ad->flight_mode_layout;
+ case WINDICATOR_AB_DND:
+ return ad->dnd_btn_layout;
+ case WINDICATOR_AB_VOLUME:
+ return ad->volume_small_icon;
+ case WINDICATOR_AB_BRIGHTNESS:
+ return ad->brightness_small_layout;
+ default:
+ return NULL;
+ }
+}
+
+static void _action_btns_set_slots(void *data)
+{
+ struct appdata *ad = (struct appdata *)data;
+
+ int action_btns_max_slots_count = ACTION_BTNS_SLOT_MAX_COUNT;
+ if (_action_btns_visible_count % 2) {
+ action_btns_max_slots_count = ACTION_BTNS_SLOT_MAX_COUNT - 1;
+ }
+
+ int slot_index = (action_btns_max_slots_count - _action_btns_visible_count) / 2;
+ if (slot_index < 0) {
+ slot_index = 0;
+ }
+
+ int i = 0;
+ for (; i < WINDICATOR_AB_COUNT; i++) {
+ if (_action_btns_available[i]) {
+ elm_object_part_content_set(ad->moment_bar_first_page_layout,
+ _action_btns_slot_swl_part[slot_index],
+ _action_btns_get_btn_layout(data, i));
+
+ _action_btns_slot[slot_index] = i;
+ ++slot_index;
+ if (slot_index == action_btns_max_slots_count) {
+ return;
+ }
+ }
+ }
+}
+
+static void _action_btns_emit_click(windicator_action_btn_type_e type, void *data, Evas_Object *obj, const char *emission, const char *source)
+{
+ ret_if(type < WINDICATOR_AB_MUSIC || type >= WINDICATOR_AB_COUNT);
+
+ struct appdata *ad = (struct appdata *)data;
+
+ switch (type) {
+ case WINDICATOR_AB_MUSIC:
+ if (ad->music_status == MUSIC_BTN_ENABLED)
+ _music_btn_clicked_cb(data, obj, emission, source);
+ break;
+ case WINDICATOR_AB_CALL_FORWARD:
+ if (windicator_common_is_call_fwd_enable())
+ _call_fwd_btn_clicked_cb(data, obj, emission, source);
+ break;
+ case WINDICATOR_AB_FLIGHT_MODE:
+ _flight_mode_clicked_cb(data, obj, emission, source);
+ break;
+ case WINDICATOR_AB_DND:
+ _dnd_btn_clicked_cb(data, obj, emission, source);
+ break;
+ case WINDICATOR_AB_VOLUME:
+ on_clicked_small_volume_icon(data, obj, emission, source);
+ break;
+ case WINDICATOR_AB_BRIGHTNESS:
+ on_clicked_small_brightness_icon(data, obj, emission, source);
+ break;
+ default:
+ _E("Undefined action button type");
+ break;
+ }
+}
+
+static void _on_action_btn_click_area_clicked(void *data, Evas_Object *obj, const char *emission, const char *source)
+{
+ ret_if(data == NULL);
+
+ int index = -1;
+ sscanf(source, "action_btn_%d.touch.area", &index);
+ ret_if(index < 0);
+
+ _action_btns_emit_click(_action_btns_slot[index], data, obj, emission, source);
+}
+
+static void _update_action_btns_slots_selection(void *data, const char *source, Eina_Bool is_selected)
+{
+ ret_if(data == NULL);
+ struct appdata *ad = (struct appdata *)data;
+
+ int index = -1;
+ sscanf(source, "action_btn_%d.touch.area", &index);
+ ret_if(index < 0);
+
+ char tmp[ACTION_BTNS_SWL_PART_NAME_TXT_SIZE] = { 0, };
+ snprintf(tmp, sizeof(tmp), "action_btn_%d.swallow", index);
+ Evas_Object *eo = elm_object_part_content_get(ad->moment_bar_first_page_layout, tmp);
+ ret_if(eo == NULL);
+
+ if ((_action_btns_slot[index] == WINDICATOR_AB_MUSIC && ad->music_status != MUSIC_BTN_ENABLED)
+ || (_action_btns_slot[index] == WINDICATOR_AB_CALL_FORWARD && !windicator_common_is_call_fwd_enable())) {
+ return;
+ }
+
+ if (is_selected) {
+ elm_object_signal_emit(eo, "layout.pressed", "");
+ } else {
+ elm_object_signal_emit(eo, "layout.released", "");
+ }
+}
+
+static void _on_action_btn_click_area_pressed(void *data, Evas_Object *obj, const char *emission, const char *source)
+{
+ ret_if(data == NULL);
+ _update_action_btns_slots_selection(data, source, EINA_TRUE);
+}
+
+static void _on_action_btn_click_area_unpressed(void *data, Evas_Object *obj, const char *emission, const char *source)
+{
+ ret_if(data == NULL);
+ _update_action_btns_slots_selection(data, source, EINA_FALSE);
+}
+
+static void _update_action_btns_slots(void *data)
+{
+ ret_if(data == NULL);
+
+ /* 1. Reset current slots and button visibility info */
+ _action_btns_reset_visibility_info();
+
+ /* 2. Unset all buttons from slots */
+ _action_btns_clear_slots(data);
+
+ /* 3. Update visible buttons list */
+ _action_btns_update_visibility_list(data);
+
+ /* 4. Update layout slots count */
+ _action_btns_update_slot_count(data);
+
+ /* 5. Set visible buttons to slots */
+ _action_btns_set_slots(data);
+}
/*
* @brief: Creates moment bar first page
* @param[in] data: User data
*/
-Evas_Object *windicator_moment_bar_first_page_layout_create(void *data)
+static Evas_Object *_create_main_layout(void *data)
{
struct appdata *ad = (struct appdata *)data;
retv_if(ad == NULL, NULL);
_get_resource(EDJ_FILE, full_path, sizeof(full_path));
_D("full_path:%s", full_path);
-#ifdef _TIZEN_3G_DISABLE
- if (elm_layout_file_set(layout, full_path, "windicator/moment_bar/first_page/bt") != EINA_TRUE) {
- _E("Failed to create moment bar first page layout");
- evas_object_del(layout);
- return NULL;
- }
-#else
- if (elm_layout_file_set(layout, full_path, "windicator/moment_bar/first_page/3g") != EINA_TRUE) {
+ if (elm_layout_file_set(layout, full_path, "windicator/moment_bar/first_page/main_ly") != EINA_TRUE) {
_E("Failed to create moment bar first page layout");
evas_object_del(layout);
return NULL;
}
- //elm_object_signal_callback_add(layout, "mouse,clicked,1", "img.volume.touch.area", on_clicked_small_volume_icon, ad);
- //elm_object_signal_callback_add(layout, "mouse,clicked,1", "img.callfwd.touch.area", _call_fwd_btn_clicked_cb, ad);
-#endif
- /* 2015-09-01 */
- elm_object_signal_callback_add(layout, "mouse,clicked,1", "img.brightness.touch.area", on_clicked_small_brightness_icon, ad);
- elm_object_signal_callback_add(layout, "mouse,clicked,1", "img.dnd.touch.area", _dnd_btn_clicked_cb, ad);
-
- /* Removed as per UI guide */
- /*elm_object_signal_callback_add(layout, "mouse,clicked,1", "img.flight.touch.area", _flight_mode_clicked_cb, ad);
-
- elm_object_signal_callback_add(layout, "mouse,clicked,1", "img.music.touch.area", _music_btn_clicked_cb, ad);*/
+ elm_object_signal_callback_add(layout, "mouse,clicked,1", "action_btn_0.touch.area", _on_action_btn_click_area_clicked, ad);
+ elm_object_signal_callback_add(layout, "mouse,clicked,1", "action_btn_1.touch.area", _on_action_btn_click_area_clicked, ad);
+ elm_object_signal_callback_add(layout, "mouse,clicked,1", "action_btn_2.touch.area", _on_action_btn_click_area_clicked, ad);
+ elm_object_signal_callback_add(layout, "mouse,clicked,1", "action_btn_3.touch.area", _on_action_btn_click_area_clicked, ad);
+ elm_object_signal_callback_add(layout, "mouse,clicked,1", "action_btn_4.touch.area", _on_action_btn_click_area_clicked, ad);
+ elm_object_signal_callback_add(layout, "mouse,clicked,1", "action_btn_5.touch.area", _on_action_btn_click_area_clicked, ad);
+
+ elm_object_signal_callback_add(layout, "mouse,down,1", "action_btn_0.touch.area", _on_action_btn_click_area_pressed, ad);
+ elm_object_signal_callback_add(layout, "mouse,down,1", "action_btn_1.touch.area", _on_action_btn_click_area_pressed, ad);
+ elm_object_signal_callback_add(layout, "mouse,down,1", "action_btn_2.touch.area", _on_action_btn_click_area_pressed, ad);
+ elm_object_signal_callback_add(layout, "mouse,down,1", "action_btn_3.touch.area", _on_action_btn_click_area_pressed, ad);
+ elm_object_signal_callback_add(layout, "mouse,down,1", "action_btn_4.touch.area", _on_action_btn_click_area_pressed, ad);
+ elm_object_signal_callback_add(layout, "mouse,down,1", "action_btn_5.touch.area", _on_action_btn_click_area_pressed, ad);
+
+ elm_object_signal_callback_add(layout, "mouse,up,1", "action_btn_0.touch.area", _on_action_btn_click_area_unpressed, ad);
+ elm_object_signal_callback_add(layout, "mouse,up,1", "action_btn_1.touch.area", _on_action_btn_click_area_unpressed, ad);
+ elm_object_signal_callback_add(layout, "mouse,up,1", "action_btn_2.touch.area", _on_action_btn_click_area_unpressed, ad);
+ elm_object_signal_callback_add(layout, "mouse,up,1", "action_btn_3.touch.area", _on_action_btn_click_area_unpressed, ad);
+ elm_object_signal_callback_add(layout, "mouse,up,1", "action_btn_4.touch.area", _on_action_btn_click_area_unpressed, ad);
+ elm_object_signal_callback_add(layout, "mouse,up,1", "action_btn_5.touch.area", _on_action_btn_click_area_unpressed, ad);
- elm_object_signal_callback_add(layout, "mouse,clicked,1", "img.volume.touch.area", on_clicked_small_volume_icon, ad);
-
-// ecore_event_handler_add(ECORE_EVENT_MOUSE_BUTTON_DOWN, windicator_moment_bar_rotary_icon_clicked_cb, ad);
evas_object_resize(layout, ad->win_w, ad->win_h);
ad->scs_layout = windicator_scs_layout_create(layout, ad);
if (ad->scs_layout == NULL)
- _E("Failed to create scs icon");
+ _E("Failed to create scs icon");
/* create dynamic layout */
ad->moment_bar_dynamic_layout = windicator_dynamic_layout_create(layout, ad);
if (ad->moment_bar_dynamic_layout == NULL)
- _E("Failed to create dynamic layout");
+ _E("Failed to create dynamic layout");
/* create battery icon */
ad->moment_bar_battery_icon = windicator_battery_icon_create(ad->moment_bar_dynamic_layout, ad);
if (ad->moment_bar_battery_icon == NULL)
- _E("Failed to create battery icon");
+ _E("Failed to create battery icon");
+ /* Action buttons */
+ /* Call forwarding layout */
+ ad->callfwd_btn_layout = windicator_callfwd_btn_layout_create(layout, ad);
+ if (ad->callfwd_btn_layout == NULL)
+ _E("Failed to create callfwd layout");
+
+ /* Music layout */
+ ad->music_btn_layout = windicator_music_btn_layout_create(layout, ad);
+ if (ad->music_btn_layout == NULL)
+ _E("Failed to create music layout");
+
+ /* DND layout */
ad->dnd_btn_layout = windicator_dnd_btn_layout_create(layout, ad);
- if (ad->dnd_btn_layout == NULL)
- _E("Failed to create dnd layout");
+ if (!ad->dnd_btn_layout)
+ _E("Failed to create dnd layout");
-/* Removed as per UI guide
+ /* Flight Mode layout */
ad->flight_mode_layout = windicator_flight_mode_layout_create(layout, ad);
- if (ad->flight_mode_layout == NULL) {
- _E("Failed to create flight_mode layout");
- }
-
- ad->music_btn_layout = windicator_music_btn_layout_create(layout, ad);
- if (ad->music_btn_layout == NULL) {
- _E("Failed to create music layout");
- }
-*/
- ad->brightness_small_layout = windicator_brightness_small_layout_create(layout, ad);
- if (ad->brightness_small_layout == NULL)
- _E("Failed to create brightness layout");
+ if (!ad->flight_mode_layout)
+ _E("Failed to create flight_mode layout");
+ /* Volume layout */
ad->volume_small_icon = windicator_volume_small_icon_create(layout, ad);
- if (ad->volume_small_icon == NULL)
+ if (!ad->volume_small_icon)
_E("Failed to create volume layout");
-#ifndef _TIZEN_3G_DISABLE
- ad->volume_small_icon = windicator_volume_small_icon_create(layout, ad);
- if (ad->volume_small_icon == NULL)
- _E("Failed to create volume layout");
-
- ad->callfwd_btn_layout = windicator_callfwd_btn_layout_create(layout, ad);
- if (ad->callfwd_btn_layout == NULL)
- _E("Failed to create callfwd layout");
-
-#endif
+ /* Brightness layout */
+ ad->brightness_small_layout = windicator_brightness_small_layout_create(layout, ad);
+ if (!ad->brightness_small_layout)
+ _E("Failed to create brightness layout");
nf_it = elm_naviframe_item_push(ad->nf, NULL, NULL, NULL, layout, NULL);
elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
* @brief: Updates moment bar main view
* @param[in] data: User data
*/
-windicator_error_e windicator_moment_bar_update_main_view(void *data)
+static windicator_error_e _update_main_view_ui_components(void *data)
{
struct appdata *ad = (struct appdata *)data;
retv_if(ad == NULL, WINDICATOR_ERROR_INVALID_PARAMETER);
_I("moment bar update main view start");
+
windicator_brightness_update(ad);
windicator_dnd_btn_update(ad);
-
-/* Removed as per UI guide
windicator_music_btn_update(ad);
windicator_flight_mode_update(ad);
-*/
- _battery_update(ad);
- windicator_volume_update(ad);
-#ifndef _TIZEN_3G_DISABLE
windicator_volume_update(ad);
windicator_call_fwd_btn_update(ad);
-#endif
+
+ _battery_update(ad);
+
if (WINDICATOR_ERROR_OK != windicator_scs_update(ad))
- _E("Failed to update scs status");
+ _E("Failed to update scs status");
_I("moment bar update main view end");
return WINDICATOR_ERROR_OK;
* @param[in] type: type of key event
* @param[in] event: Back key press event
*/
-static Eina_Bool _key_release_event_cb(void *data, int type, void *event)
+static Eina_Bool _key_up_event_cb(void *data, int type, void *event)
{
struct appdata *ad = (struct appdata *)data;
retv_if(ad == NULL, EINA_FALSE);
* @param[in] type: type of key event
* @param[in] event: Back key press event
*/
-static Eina_Bool _down_release_event_cb(void *data, int type, void *event)
+static Eina_Bool _key_down_event_cb(void *data, int type, void *event)
{
struct appdata *ad = (struct appdata *)data;
retv_if(ad == NULL, EINA_FALSE);
* @brief: Register back key handler
* @param[in] data: User data
*/
-windicator_error_e windicator_util_back_key_grab(void *data)
+static windicator_error_e _grab_back_key(void *data)
{
_D("");
retv_if(ad == NULL, WINDICATOR_ERROR_INVALID_PARAMETER);
if (ad->back_key_handler == NULL) {
- ad->back_key_handler = ecore_event_handler_add(ECORE_EVENT_KEY_UP, _key_release_event_cb, ad);
+ ad->back_key_handler = ecore_event_handler_add(ECORE_EVENT_KEY_UP, _key_up_event_cb, ad);
if (ad->back_key_handler == NULL) {
_E("Failed to add back key handler");
return WINDICATOR_ERROR_FAIL;
* @brief: Register down key handler
* @param[in] data: User data
*/
-windicator_error_e windicator_util_down_key_grab(void *data)
+static windicator_error_e _grab_down_key(void *data)
{
_D("");
retv_if(ad == NULL, WINDICATOR_ERROR_INVALID_PARAMETER);
if (ad->down_key_handler == NULL) {
- ad->down_key_handler = ecore_event_handler_add(ECORE_EVENT_KEY_DOWN, _down_release_event_cb, ad);
+ ad->down_key_handler = ecore_event_handler_add(ECORE_EVENT_KEY_DOWN, _key_down_event_cb, ad);
if (ad->down_key_handler == NULL) {
_E("Failed to add down key handler");
return WINDICATOR_ERROR_FAIL;
* @brief: Deletes back key handler
* @param[in] data: User data
*/
-void windicator_util_back_key_ungrab(void *data)
+static void _ungrab_back_key(void *data)
{
_D("");
struct appdata *ad = (struct appdata *)data;
* @brief: Deletes down key handler
* @param[in] data: User data
*/
-void windicator_util_down_key_ungrab(void *data)
+static void _ungrab_down_key(void *data)
{
_D("");
struct appdata *ad = (struct appdata *)data;
* @brief: Show the moment bar if connection resumes. register back/Down key handlers
* @param[in] data: User data
*/
-windicator_error_e windicator_moment_bar_show(void *data)
+static windicator_error_e _show_moment_bar(void *data)
{
struct appdata *ad = (struct appdata *)data;
retv_if(ad == NULL, WINDICATOR_ERROR_INVALID_PARAMETER);
_I("Show Moment Bar : dynamic_layout(%p)", ad->moment_bar_dynamic_layout);
/* update LO layout */
- windicator_lo_update(ad);
+ _update_action_btns_slots(ad);
/* check connection, rssi, packet status */
windi_connection_resume(ad->moment_bar_rssi_icon, ad->moment_bar_connection_icon);
/* register back key event */
- if (WINDICATOR_ERROR_OK != windicator_util_back_key_grab(ad))
+ if (WINDICATOR_ERROR_OK != _grab_back_key(ad))
_E("Failed to register back key handler");
/* register down key event */
- if (WINDICATOR_ERROR_OK != windicator_util_down_key_grab(ad))
+ if (WINDICATOR_ERROR_OK != _grab_down_key(ad))
_E("Failed to register back key handler");
evas_object_show(ad->moment_bar_win);
*/
windicator_error_e windicator_show_moment_bar_directly(void* data)
{
-
-
_D("windicator_show_moment_bar_directly");
struct appdata *ad = (struct appdata *)data;
retv_if(ad == NULL, WINDICATOR_ERROR_INVALID_PARAMETER);
- windicator_util_back_key_grab(ad);
+ _grab_back_key(ad);
//Show the indicator window
return WINDICATOR_ERROR_OK;
retv_if(ad == NULL, WINDICATOR_ERROR_INVALID_PARAMETER);
- windicator_util_back_key_ungrab(ad);
+ _ungrab_back_key(ad);
//Hide the indicator window
return WINDICATOR_ERROR_OK;
elm_win_role_set(ad->moment_bar_win, "no-dim");
if (ret != WIDGET_ERROR_NONE) {
_E("failed to get window. err = %d", ret);
- return WIDGET_ERROR_INVALID_PARAMETER;
+ return WINDICATOR_ERROR_INVALID_PARAMETER;
}
- evas_object_resize(ad->moment_bar_win, ad->win_w, ad->win_h);
- evas_object_show(ad->moment_bar_win);
-
#else
ad->moment_bar_win = windicator_util_win_create("__MOMENT_BAR__", EINA_TRUE, TYPE_MOMENT_BAR);
-
retv_if(ad->moment_bar_win == NULL, WINDICATOR_ERROR_FAIL);
-
elm_win_screen_size_get(ad->moment_bar_win, NULL, NULL, &ad->win_w, &ad->win_h);
#endif
+ elm_win_indicator_mode_set(ad->moment_bar_win, ELM_WIN_INDICATOR_HIDE);
+ evas_object_resize(ad->moment_bar_win, ad->win_w, ad->win_h);
+ evas_object_show(ad->moment_bar_win);
+
ad->moment_bar_evas = evas_object_evas_get(ad->moment_bar_win);
ad->moment_bar_ee = ecore_evas_ecore_evas_get(ad->moment_bar_evas);
ad->moment_bar_conformant = windicator_util_conformant_create(ad->moment_bar_win);
retv_if(ad->moment_bar_conformant == NULL, WINDICATOR_ERROR_FAIL);
- evas_object_resize(ad->moment_bar_win, ad->win_w, ad->win_h);
-
- // Eext Circle Surface Creation
+ /* Eext Circle Surface Creation */
ad->moment_bar_circle_surface = eext_circle_surface_conformant_add(ad->moment_bar_conformant);
retv_if(ad->moment_bar_circle_surface == NULL, WINDICATOR_ERROR_FAIL);
- ad->moment_bar_first_page_layout = windicator_util_layout_create(ad->moment_bar_win);
- retv_if(ad->moment_bar_first_page_layout == NULL, WINDICATOR_ERROR_FAIL);
-
- // Indicator
- elm_win_indicator_mode_set(ad->moment_bar_win, ELM_WIN_INDICATOR_HIDE);
+ /* Main window layout */
+ Evas_Object *layout = windicator_util_layout_create(ad->moment_bar_win);
+ retv_if(layout == NULL, WINDICATOR_ERROR_FAIL);
- //Naviframe
- ad->nf = windicator_util_naviframe_create(ad->moment_bar_first_page_layout);
+ /* Naviframe */
+ ad->nf = windicator_util_naviframe_create(layout);
/* create moment bar's layout to main layout's scroller */
- ad->moment_bar_first_page_layout = windicator_moment_bar_first_page_layout_create(ad);
+ ad->moment_bar_first_page_layout = _create_main_layout(ad);
- windicator_moment_bar_update_main_view(ad);
+ _update_main_view_ui_components(ad);
if (WINDICATOR_ERROR_OK != windicator_dynamic_update(ad))
_E("Failed to update dynamic layout");
windi_connection_update(ad->moment_bar_rssi_icon, ad->moment_bar_connection_icon);
- windicator_moment_bar_show(data);
+ _register_action_btns_slots_update_callback(data);
+
+ _show_moment_bar(data);
_I("initialize moment bar END");
return WINDICATOR_ERROR_OK;
}
+
+windicator_error_e windicator_moment_bar_deinit(void *data)
+{
+ retv_if(data == NULL, WINDICATOR_ERROR_INVALID_PARAMETER);
+
+ _unregister_action_btns_slots_update_callback();
+ _ungrab_back_key(data);
+ _ungrab_down_key(data);
+
+ return WINDICATOR_ERROR_OK;
+}
+
+static void _action_btns_slots_update_cb(keynode_t *node, void *data)
+{
+ _D("scs event changed : update");
+ _update_action_btns_slots(data);
+}
+
+static void _register_action_btns_slots_update_callback(void *data)
+{
+ struct appdata *ad = (struct appdata *)data;
+ ret_if(ad == NULL);
+
+ vconf_notify_key_changed(VCONFKEY_BT_STATUS, (vconf_callback_fn)_action_btns_slots_update_cb, ad);
+ vconf_notify_key_changed(VCONFKEY_WMS_WMANAGER_CONNECTED, (vconf_callback_fn)_action_btns_slots_update_cb, ad);
+ vconf_notify_key_changed(VCONFKEY_BT_DEVICE, (vconf_callback_fn)_action_btns_slots_update_cb, ad);
+}
+
+static void _unregister_action_btns_slots_update_callback(void)
+{
+ vconf_ignore_key_changed(VCONFKEY_BT_STATUS, (vconf_callback_fn)_action_btns_slots_update_cb);
+ vconf_ignore_key_changed(VCONFKEY_WMS_WMANAGER_CONNECTED, (vconf_callback_fn)_action_btns_slots_update_cb);
+ vconf_ignore_key_changed(VCONFKEY_BT_DEVICE, (vconf_callback_fn)_action_btns_slots_update_cb);
+}
}
}
-/*
-* @brief: Callback function on mouse down event on music button layout
-* @param[in] data: User data
-* @param[in] obj: music button layout
-* @param[in] emission: Emitted signal
-* @param[in] source: Source of the signal emitted
-*/
-void on_pressed_music_icon(void *data, Evas_Object *obj, const char *emission, const char *source)
-{
- _D("");
- struct appdata *ad = (struct appdata *)data;
- ret_if(ad == NULL);
-
- if (ad->music_status == MUSIC_BTN_ENABLED)
- elm_object_signal_emit(ad->music_btn_layout, "music.pressed", "img.music.bg");
-}
-
-/*
-* @brief: Callback function on mouse up event on music button layout
-* @param[in] data: User data
-* @param[in] obj: music button layout
-* @param[in] emission: Emitted signal
-* @param[in] source: Source of the signal emitted
-*/
-void on_released_music_icon(void *data, Evas_Object *obj, const char *emission, const char *source)
-{
- _D("");
- struct appdata *ad = (struct appdata *)data;
- ret_if(ad == NULL);
-
- if (ad->music_status == MUSIC_BTN_ENABLED)
- elm_object_signal_emit(ad->music_btn_layout, "music.released", "img.music.bg");
-}
-
/*
* @brief: Creates music button layout
* @param[in] parent: Parent of music button layout
}
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_fill_set(layout, EVAS_HINT_FILL, EVAS_HINT_FILL);
- elm_object_part_content_set(parent, "music.swallow", layout);
- /* for press effect */
- elm_object_signal_callback_add(layout, "mouse,down,1", "img.music.icon", on_pressed_music_icon, ad);
- elm_object_signal_callback_add(layout, "mouse,up,1", "img.music.icon", on_released_music_icon, ad);
ad->music_btn_layout = layout;
#include "windicator_music_btn.h"
#include "windicator_util.h"
-/*
-* @brief: Callback function on mouse down event on volume small icon layout
-* @param[in] data: User data
-* @param[in] obj: volume small icon layout
-* @param[in] emission: Emitted signal
-* @param[in] source: Source of the signal emitted
-*/
-void on_pressed_volume_small_icon(void *data, Evas_Object *obj, const char *emission, const char *source)
-{
- _D("");
- struct appdata *ad = (struct appdata *)data;
- ret_if(ad == NULL);
-
- elm_object_signal_emit(ad->volume_small_icon, "volume.pressed", "img.volume.bg");
-}
-
-/*
-* @brief: Callback function on mouse up event on volume small icon layout
-* @param[in] data: User data
-* @param[in] obj: volume small icon layout
-* @param[in] emission: Emitted signal
-* @param[in] source: Source of the signal emitted
-*/
-void on_released_volume_small_icon(void *data, Evas_Object *obj, const char *emission, const char *source)
-{
- _D("");
- struct appdata *ad = (struct appdata *)data;
- ret_if(ad == NULL);
-
- elm_object_signal_emit(ad->volume_small_icon, "volume.released", "img.volume.bg");
-}
-
/*
* @brief: Callback function on mouse click event on moment bar first page layout
* @param[in] data: User data
evas_object_del(layout);
return NULL;
}
-
evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(layout, EVAS_HINT_FILL, EVAS_HINT_FILL);
- elm_object_part_content_set(parent, "volume.swallow", layout);
- /* for press effect */
- elm_object_signal_callback_add(layout, "mouse,down,1", "img.volume.icon", on_pressed_volume_small_icon, ad);
- elm_object_signal_callback_add(layout, "mouse,up,1", "img.volume.icon", on_released_volume_small_icon, ad);
evas_object_show(layout);
return layout;