Files
GDevelop/IDE/RenderDialog.h
T
Florian 8672f179e9 Exchanged all french messages with their English counterparts.
Gui elements in SceneCanvas are now independant from the zoom factor.
Work in progress: NewProjectDialog.

git-svn-id: svn://localhost@837 8062f311-0dae-4547-b526-b8ab9ac864a5
2012-09-20 19:53:26 +00:00

49 lines
963 B
C++

/** \file
* Game Develop
* 2008-2012 Florian Rival (Florian.Rival@gmail.com)
*/
#ifndef RENDERDIALOG_H
#define RENDERDIALOG_H
//(*Headers(RenderDialog)
#include "wxSFMLCanvas.hpp"
#include <wx/dialog.h>
//*)
class SceneCanvas;
/**
* \brief Window used to mimic a sf::RenderWindow.
*/
class RenderDialog: public wxDialog
{
public:
RenderDialog(wxWindow* parent, SceneCanvas * sceneCanvasNotifiedOnClose = NULL);
virtual ~RenderDialog();
void SetSizeOfRenderingZone(unsigned int width, unsigned int height);
//(*Declarations(RenderDialog)
wxSFMLCanvas* renderCanvas;
//*)
protected:
//(*Identifiers(RenderDialog)
static const long ID_CUSTOM1;
//*)
private:
//(*Handlers(RenderDialog)
void OnClose(wxCloseEvent& event);
//*)
SceneCanvas * toBeNotifiedOnClose; ///< Optional scene canvas that can be notified when the window is closed.
DECLARE_EVENT_TABLE()
};
#endif