mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-23 02:25:52 -04:00
1c45dfc95d
Adapted to changes made to MainEditorCommand in GDL. Using InfoBar to display some messages in SceneCanvas. git-svn-id: svn://localhost@620 8062f311-0dae-4547-b526-b8ab9ac864a5
34 lines
919 B
C++
34 lines
919 B
C++
/** \file
|
|
* Game Develop
|
|
* 2008-2012 Florian Rival (Florian.Rival@gmail.com)
|
|
*/
|
|
|
|
#ifndef GAME_DEVELOP_EDITORAPP_H
|
|
#define GAME_DEVELOP_EDITORAPP_H
|
|
|
|
#include <wx/app.h>
|
|
#include <wx/log.h>
|
|
#include <wx/snglinst.h>
|
|
#include "GDL/Game.h"
|
|
#include "Game_Develop_EditorMain.h"
|
|
|
|
/**
|
|
* Class managing the application, e.g. its initialization, creation of the main window...
|
|
*/
|
|
class Game_Develop_EditorApp : public wxApp
|
|
{
|
|
public:
|
|
virtual bool OnInit();
|
|
virtual int OnExit();
|
|
#ifndef DEBUG
|
|
virtual void OnUnhandledException();
|
|
#endif
|
|
virtual bool OnExceptionInMainLoop();
|
|
virtual void OnKeyPressed(wxKeyEvent& event) { if (mainEditor) mainEditor->OnKeyDown(event);};
|
|
|
|
Game_Develop_EditorFrame * mainEditor;
|
|
wxSingleInstanceChecker * singleInstanceChecker;
|
|
};
|
|
|
|
#endif // GAME_DEVELOP_EDITORAPP_H
|