mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-10 22:17:43 +00:00
Created new resource selector widget class
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
#include <QVector>
|
||||
|
||||
class CBasicViewport;
|
||||
class CProjectOverviewDialog;
|
||||
class CResourceBrowser;
|
||||
class CWorldEditor;
|
||||
class IEditor;
|
||||
|
||||
class CEditorApplication : public QApplication
|
||||
@@ -13,11 +16,21 @@ class CEditorApplication : public QApplication
|
||||
Q_OBJECT
|
||||
|
||||
QTimer mRefreshTimer;
|
||||
CWorldEditor *mpWorldEditor;
|
||||
CResourceBrowser *mpResourceBrowser;
|
||||
CProjectOverviewDialog *mpProjectDialog;
|
||||
QVector<IEditor*> mEditorWindows;
|
||||
double mLastUpdate;
|
||||
|
||||
public:
|
||||
CEditorApplication(int& rArgc, char **ppArgv);
|
||||
~CEditorApplication();
|
||||
void InitEditor();
|
||||
|
||||
// Accessors
|
||||
inline CWorldEditor* WorldEditor() const { return mpWorldEditor; }
|
||||
inline CResourceBrowser* ResourceBrowser() const { return mpResourceBrowser; }
|
||||
inline CProjectOverviewDialog* ProjectDialog() const { return mpProjectDialog; }
|
||||
|
||||
public slots:
|
||||
void AddEditor(IEditor *pEditor);
|
||||
|
||||
Reference in New Issue
Block a user