Files
GDevelop/IDE/ChoiceFile.h
T
Florian 96adebedc1 Corrected freeze occurring with debugger, when deleting an object from the tree, which could cause a freeze.
Adapted Objects editor for global object groups.

git-svn-id: svn://localhost@94 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-21 21:04:09 +00:00

70 lines
1.5 KiB
C++

#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;
class ChoiceFile: public wxDialog
{
public:
ChoiceFile(wxWindow* parent, string file_, Game & game_, Scene & scene_, bool canSelectGroup_, const vector < string > & mainObjectsName_);
virtual ~ChoiceFile();
//(*Declarations(ChoiceFile)
wxStaticText* StaticText2;
wxButton* advancedBt;
wxStaticText* StaticText1;
wxButton* cancelBt;
wxTextCtrl* fileEdit;
wxStaticLine* StaticLine1;
wxButton* okBt;
//*)
string file;
protected:
//(*Identifiers(ChoiceFile)
static const long ID_STATICTEXT1;
static const long ID_TEXTCTRL1;
static const long ID_STATICTEXT2;
static const long ID_STATICLINE1;
static const long ID_BUTTON4;
static const long ID_BUTTON3;
static const long ID_BUTTON2;
//*)
private:
//(*Handlers(ChoiceFile)
void OnadvancedBtClick(wxCommandEvent& event);
void OnokBtClick(wxCommandEvent& event);
void OncancelBtClick(wxCommandEvent& event);
void OnfileEditText(wxCommandEvent& event);
//*)
//Données pour éditer une expression textuelle
Game & game;
Scene & scene;
bool canSelectGroup;
const vector < string > & mainObjectsName;
DECLARE_EVENT_TABLE()
};
#endif