mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-27 00:00:07 -06:00
start work on multiple window support
This commit is contained in:
@ -103,11 +103,13 @@ public:
|
||||
explicit MainWindow(QWidget* parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
bool hasOGL;
|
||||
bool hasOpenGL() { return hasOGL; }
|
||||
GL::Context* getOGLContext();
|
||||
/*void initOpenGL();
|
||||
void initOpenGL();
|
||||
void deinitOpenGL();
|
||||
void drawScreenGL();*/
|
||||
void setGLSwapInterval(int intv);
|
||||
void makeCurrentGL();
|
||||
void drawScreenGL();
|
||||
|
||||
bool preloadROMs(QStringList file, QStringList gbafile, bool boot);
|
||||
QStringList splitArchivePath(const QString& filename, bool useMemberSyntax);
|
||||
@ -223,11 +225,15 @@ private:
|
||||
|
||||
void createScreenPanel();
|
||||
|
||||
bool hasOGL;
|
||||
|
||||
bool pausedManually = false;
|
||||
|
||||
int oldW, oldH;
|
||||
bool oldMax;
|
||||
|
||||
int test_num;
|
||||
|
||||
public:
|
||||
ScreenPanel* panel;
|
||||
|
||||
|
Reference in New Issue
Block a user