Files
GDevelop/IDE/ChoiceFile.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

81 lines
1.7 KiB
C++

/** \file
* Game Develop
* 2008-2012 Florian Rival (Florian.Rival@gmail.com)
*/
#ifndef CHOICEFILE_H
#define CHOICEFILE_H
//(*Headers(ChoiceFile)
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/statline.h>
#include <wx/button.h>
#include <wx/dialog.h>
//*)
class Game;
class Scene;
#include "GDL/Scene.h"
#include <string>
#include <vector>
using namespace std;
/**
* \brief Dialog to let the user choose a file, for parameters of actions/conditions/expressions.
*/
class ChoiceFile: public wxDialog
{
public:
ChoiceFile(wxWindow* parent, string file_, Game & game_, Scene & scene_);
virtual ~ChoiceFile();
//(*Declarations(ChoiceFile)
wxStaticText* StaticText2;
wxButton* advancedBt;
wxStaticText* StaticText1;
wxButton* cancelBt;
wxTextCtrl* fileEdit;
wxStaticLine* StaticLine1;
wxButton* browseBt;
wxButton* okBt;
//*)
string file;
protected:
//(*Identifiers(ChoiceFile)
static const long ID_STATICTEXT1;
static const long ID_TEXTCTRL1;
static const long ID_BUTTON1;
static const long ID_STATICTEXT2;
static const long ID_STATICLINE1;
static const long ID_BUTTON2;
static const long ID_BUTTON4;
static const long ID_BUTTON3;
//*)
private:
//(*Handlers(ChoiceFile)
void OnadvancedBtClick(wxCommandEvent& event);
void OnokBtClick(wxCommandEvent& event);
void OncancelBtClick(wxCommandEvent& event);
void OnfileEditText(wxCommandEvent& event);
void OnbrowseBtClick(wxCommandEvent& event);
//*)
//Données pour éditer une expression textuelle
Game & game;
Scene & scene;
bool canSelectGroup;
DECLARE_EVENT_TABLE()
};
#endif