mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-05-29 10:41:22 +00:00
38 lines
704 B
C++
38 lines
704 B
C++
#ifndef CCHARACTEREDITOR_H
|
|
#define CCHARACTEREDITOR_H
|
|
|
|
#include "CCharacterEditorViewport.h"
|
|
#include <Core/Scene/CScene.h>
|
|
#include <Core/Scene/CCharacterNode.h>
|
|
|
|
#include <QComboBox>
|
|
#include <QMainWindow>
|
|
#include <QTimer>
|
|
|
|
namespace Ui {
|
|
class CCharacterEditor;
|
|
}
|
|
|
|
class CCharacterEditor : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
Ui::CCharacterEditor *ui;
|
|
CScene *mpScene;
|
|
CCharacterNode *mpCharNode;
|
|
|
|
QComboBox *mpCharComboBox;
|
|
QTimer mRefreshTimer;
|
|
|
|
public:
|
|
explicit CCharacterEditor(QWidget *parent = 0);
|
|
~CCharacterEditor();
|
|
|
|
public slots:
|
|
void Open();
|
|
void RefreshViewport();
|
|
void SetActiveCharacterIndex(int CharIndex);
|
|
};
|
|
|
|
#endif // CCHARACTEREDITORWINDOW_H
|