From 867f7665e56f30075474f7f602e95f1197bb348b Mon Sep 17 00:00:00 2001 From: t-moe Date: Fri, 3 Apr 2015 22:36:09 +0200 Subject: [PATCH] Some gui changes. --- emulator/qt/mainwindow.cpp | 4 ++-- emulator/qt/mainwindow.ui | 24 +++++------------------- 2 files changed, 7 insertions(+), 21 deletions(-) diff --git a/emulator/qt/mainwindow.cpp b/emulator/qt/mainwindow.cpp index 5157251..4ff8e85 100644 --- a/emulator/qt/mainwindow.cpp +++ b/emulator/qt/mainwindow.cpp @@ -7,8 +7,8 @@ #define DISPLAY_WIDTH 320 #define DISPLAY_HEIGHT 240 -#define DISPLAY_X 100 -#define DISPLAY_Y 100 +#define DISPLAY_X 10 +#define DISPLAY_Y 10 QColor colorFromRGB565(uint16_t color) { diff --git a/emulator/qt/mainwindow.ui b/emulator/qt/mainwindow.ui index 1316486..560c879 100644 --- a/emulator/qt/mainwindow.ui +++ b/emulator/qt/mainwindow.ui @@ -6,34 +6,20 @@ 0 0 - 800 - 600 + 339 + 263 - MainWindow + DiscoverPixy Emulator - - - - - 10 - 10 - 81 - 22 - - - - PushButton - - - + 0 0 - 800 + 339 19