TizenRefApp-6272 refactor mechanism of window creating 38/69238/2
authorDenis Dolzhenko <d.dolzhenko@samsung.com>
Thu, 12 May 2016 08:30:34 +0000 (11:30 +0300)
committerDenis Dolzhenko <d.dolzhenko@samsung.com>
Thu, 12 May 2016 08:49:00 +0000 (11:49 +0300)
Change-Id: Ic1274dac64333c70682cf3c173620b2e152ccd5b
Signed-off-by: Denis Dolzhenko <d.dolzhenko@samsung.com>
src/Common/View/src/StandardWindow.cpp
src/MainApp/MainApp.cpp
tizen-manifest-private.xml
tizen-manifest.xml

index 9095e51..851f6a8 100644 (file)
@@ -28,7 +28,7 @@ StandardWindow::StandardWindow()
     , m_pBg(nullptr)
 {
     // Window:
-    setEo(elm_win_util_standard_add(PACKAGE_NAME, PACKAGE_NAME));
+    setEo(elm_win_add(nullptr, PACKAGE_NAME, ELM_WIN_BASIC));
     elm_win_conformant_set(getEo(), EINA_TRUE);
     elm_win_autodel_set(getEo(), EINA_TRUE);
 
index dda1369..07896d2 100644 (file)
@@ -96,10 +96,12 @@ const Window &MainApp::getWindow() const
 
 void MainApp::terminate()
 {
-   /* if(m_pWindow)
-        m_pWindow->lower();*/
+    // Minimize window:
+    if(m_pWindow)
+        m_pWindow->lower();
 
-    ui_app_exit();
+   // Exit from application:
+   // ui_app_exit();
 }
 
 bool MainApp::onAppCreate()
index a8b3ff1..16401fc 100644 (file)
@@ -2,7 +2,7 @@
 <manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" package="org.tizen.message" version="0.1.0">
     <label>Message</label>
     <description>Message Application</description>
-    <ui-application appid="org.tizen.message" exec="/usr/apps/org.tizen.message/bin/message" launch_mode="caller" nodisplay="false" multiple="false" type="capp" taskmanage="true" hw-acceleration="use-GL">
+    <ui-application appid="org.tizen.message" exec="/usr/apps/org.tizen.message/bin/message" launch_mode="caller" nodisplay="false" multiple="false" type="capp" taskmanage="true" hw-acceleration="on" process-pool="true">
         <metadata key="http://developer.samsung.com/tizen/metadata/multiwindow"/>
         <metadata key="http://developer.samsung.com/tizen/metadata/multiwindow/nodisplay"/>
         <icon>/usr/share/icons/default/small/message.png</icon>
index 475a3dd..0742792 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" package="org.tizen.message" version="1.0.0">
     <profile name="mobile"/>
-    <ui-application appid="org.tizen.message" exec="message" hw-acceleration="on" launch_mode="single" multiple="false" nodisplay="false" taskmanage="true" type="c++app">
+    <ui-application appid="org.tizen.message" exec="message" hw-acceleration="on" launch_mode="single" multiple="false" nodisplay="false" taskmanage="true" process-pool="true" type="c++app">
         <label>Message</label>
         <label xml:lang="ar-ae">الرسائل</label>
         <label xml:lang="as-in">মেছেজসমূহ</label>