X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fsrc%2Ftoucharea.cpp;h=aad4b1bf2df8f274a8b610a5df39d3f458ab0b52;hb=387c167e310124227b2d137eafa7cca992a8eb4a;hp=1cf43848c2f36ff1f1b13f7f128cba279732dce7;hpb=7d29d877baafe52cc0e0bbdf7d86deff61073651;p=apps%2Fhomescreen.git diff --git a/homescreen/src/toucharea.cpp b/homescreen/src/toucharea.cpp index 1cf4384..aad4b1b 100644 --- a/homescreen/src/toucharea.cpp +++ b/homescreen/src/toucharea.cpp @@ -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)); } }