diff options
Diffstat (limited to 'homescreen/src')
-rw-r--r-- | homescreen/src/homescreenhandler.cpp | 8 | ||||
-rw-r--r-- | homescreen/src/toucharea.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/homescreen/src/homescreenhandler.cpp b/homescreen/src/homescreenhandler.cpp index 7621cf6..c671a1c 100644 --- a/homescreen/src/homescreenhandler.cpp +++ b/homescreen/src/homescreenhandler.cpp @@ -110,12 +110,12 @@ void HomescreenHandler::changeLayout(int pattern) std::unordered_map<std::string, Rect> map_list; switch(pattern) { case P_LEFT_METER_RIGHT_MAP: - map_list["split.main"] = Rect(0, 0, 1280, 720); - map_list["split.sub"] = Rect(1280, 0, 640, 720); + map_list["split.main"] = Rect(0, 180, 1280, 720); + map_list["split.sub"] = Rect(1280, 180, 640, 720); break; case P_LEFT_MAP_RIGHT_METER: - map_list["split.main"] = Rect(640, 0, 1280, 720); - map_list["split.sub"] = Rect(0, 0, 640, 720); + map_list["split.main"] = Rect(640, 180, 1280, 720); + map_list["split.sub"] = Rect(0, 180, 640, 720); break; default: break; diff --git a/homescreen/src/toucharea.cpp b/homescreen/src/toucharea.cpp index aad4b1b..a66775f 100644 --- a/homescreen/src/toucharea.cpp +++ b/homescreen/src/toucharea.cpp @@ -16,8 +16,8 @@ void TouchArea::setWindow(QQuickWindow *window) void TouchArea::init() { - bitmapNormal = QPixmap(":/images/menubar_normal_background.png").createHeuristicMask(); - bitmapFullscreen = QPixmap(":/images/menubar_full_background.png").createHeuristicMask(); + bitmapNormal = QPixmap(":/images/menubar_normal_mask.png").createHeuristicMask(); + bitmapFullscreen = QPixmap(":/images/menubar_fullscreen_mask.png").createHeuristicMask(); myWindow->setMask(QRegion(bitmapNormal)); } |