Skip to content

Commit 6f3c28f

Browse files
Re-organized header to separate member variables from function definitions
1 parent fdac488 commit 6f3c28f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

GameBeak/src/Screen.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,20 @@ class Screen : public QWidget
3131
Gpu& gpu;
3232
QTime screenUpdateTimer;
3333

34-
void setIcon(int width, int height, QString path);
3534
QColor bgPixels[256 * 256];
3635
QColor windowPixels[256 * 256];
3736
QColor spritePixels[256 * 256];
3837
QColor tileDebugPixels[256 * 256];
3938
unsigned char scrollXValues[256];
40-
int gpuMode = 1; //BGB defaults this to 1, V-Blank. This should be true.
41-
int getGPUMode();
39+
4240
QImage screen = QImage(160, 144, QImage::Format_RGB32);
4341
QImage debugTileScreen;
42+
43+
int gpuMode = 1; //BGB defaults this to 1, V-Blank. This should be true.
4444
bool poweringOn = true;
45+
46+
void setIcon(int width, int height, QString path);
47+
int getGPUMode();
4548
};
4649

4750
#endif // SCREEN_H

0 commit comments

Comments
 (0)