Files
GDevelop/IDE/Game_Develop_EditorApp.h
T
Florian 1c45dfc95d Updated copyright.
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
2011-12-31 12:33:32 +00:00

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