update
[apps/homescreen.git] / homescreen / src / toucharea.cpp
index 1cf4384..aad4b1b 100644 (file)
@@ -1,5 +1,4 @@
 #include "toucharea.h"
-#include "hmi-debug.h"
 
 TouchArea::TouchArea()
 {
@@ -17,8 +16,8 @@ void TouchArea::setWindow(QQuickWindow *window)
 
 void TouchArea::init()
 {
-    bitmapNormal = QPixmap(":/images/AGL_HMI_Normal_Background.png").createHeuristicMask();
-    bitmapFullscreen = QPixmap(":/images/AGL_HMI_Full_Background.png").createHeuristicMask();
+    bitmapNormal = QPixmap(":/images/menubar_normal_background.png").createHeuristicMask();
+    bitmapFullscreen = QPixmap(":/images/menubar_full_background.png").createHeuristicMask();
     myWindow->setMask(QRegion(bitmapNormal));
 }
 
@@ -26,9 +25,7 @@ void TouchArea::switchArea(int areaType)
 {
     if(areaType == NORMAL) {
         myWindow->setMask(QRegion(bitmapNormal));
-        HMI_DEBUG("HomeScreen","TouchArea switchArea: %d.", areaType);
     } else if (areaType == FULLSCREEN) {
-        HMI_DEBUG("HomeScreen","TouchArea switchArea: %d.", areaType);
         myWindow->setMask(QRegion(bitmapFullscreen));
     }
 }