Some gui changes.

This commit is contained in:
t-moe
2015-04-03 22:36:09 +02:00
parent 9a1d12ae2e
commit 867f7665e5
2 changed files with 7 additions and 21 deletions

View File

@@ -7,8 +7,8 @@
#define DISPLAY_WIDTH 320 #define DISPLAY_WIDTH 320
#define DISPLAY_HEIGHT 240 #define DISPLAY_HEIGHT 240
#define DISPLAY_X 100 #define DISPLAY_X 10
#define DISPLAY_Y 100 #define DISPLAY_Y 10
QColor colorFromRGB565(uint16_t color) { QColor colorFromRGB565(uint16_t color) {

View File

@@ -6,34 +6,20 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>800</width> <width>339</width>
<height>600</height> <height>263</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>MainWindow</string> <string>DiscoverPixy Emulator</string>
</property> </property>
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget"/>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>81</width>
<height>22</height>
</rect>
</property>
<property name="text">
<string>PushButton</string>
</property>
</widget>
</widget>
<widget class="QMenuBar" name="menubar"> <widget class="QMenuBar" name="menubar">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>800</width> <width>339</width>
<height>19</height> <height>19</height>
</rect> </rect>
</property> </property>