mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-08-25 12:23:58 -04:00
9203fab207
git-svn-id: svn://localhost@6 8062f311-0dae-4547-b526-b8ab9ac864a5
84 lines
2.0 KiB
C++
84 lines
2.0 KiB
C++
#ifndef INITIALVARIABLESDIALOG_H
|
|
#define INITIALVARIABLESDIALOG_H
|
|
|
|
//(*Headers(InitialVariablesDialog)
|
|
#include <wx/listctrl.h>
|
|
#include <wx/sizer.h>
|
|
#include <wx/stattext.h>
|
|
#include <wx/statline.h>
|
|
#include <wx/panel.h>
|
|
#include <wx/statbmp.h>
|
|
#include <wx/button.h>
|
|
#include <wx/dialog.h>
|
|
//*)
|
|
#include <wx/toolbar.h>
|
|
#include <string>
|
|
#include "GDL/ListVariable.h"
|
|
#ifdef __WXMSW__
|
|
#include <wx/msw/winundef.h>
|
|
#endif
|
|
|
|
class InitialVariablesDialog: public wxDialog
|
|
{
|
|
public:
|
|
|
|
InitialVariablesDialog(wxWindow* parent, ListVariable variables_);
|
|
virtual ~InitialVariablesDialog();
|
|
|
|
ListVariable variables;
|
|
|
|
//(*Declarations(InitialVariablesDialog)
|
|
wxButton* helpBt;
|
|
wxPanel* toolbarPanel;
|
|
wxStaticBitmap* StaticBitmap1;
|
|
wxListCtrl* variablesList;
|
|
wxButton* cancelBt;
|
|
wxStaticLine* StaticLine2;
|
|
wxStaticLine* StaticLine1;
|
|
wxPanel* Panel2;
|
|
wxStaticText* StaticText4;
|
|
wxButton* okBt;
|
|
//*)
|
|
|
|
protected:
|
|
|
|
//(*Identifiers(InitialVariablesDialog)
|
|
static const long ID_STATICBITMAP1;
|
|
static const long ID_STATICTEXT6;
|
|
static const long ID_PANEL2;
|
|
static const long ID_STATICLINE1;
|
|
static const long ID_PANEL1;
|
|
static const long ID_LISTCTRL1;
|
|
static const long ID_STATICLINE2;
|
|
static const long ID_BUTTON1;
|
|
static const long ID_BUTTON3;
|
|
static const long ID_BUTTON2;
|
|
//*)
|
|
static const long idAddVar;
|
|
static const long idEditVar;
|
|
static const long idDelVar;
|
|
static const long ID_Help;
|
|
|
|
private:
|
|
|
|
//(*Handlers(InitialVariablesDialog)
|
|
void OnokBtClick(wxCommandEvent& event);
|
|
void OncancelBtClick(wxCommandEvent& event);
|
|
void OntoolbarPanelResize(wxSizeEvent& event);
|
|
void OnhelpBtClick(wxCommandEvent& event);
|
|
void OnvariablesListItemActivated(wxListEvent& event);
|
|
void OnvariablesListItemSelect(wxListEvent& event);
|
|
//*)
|
|
void OnAddVarSelected(wxCommandEvent& event);
|
|
void OnDelVarSelected(wxCommandEvent& event);
|
|
void OnEditVarSelected(wxCommandEvent& event);
|
|
void Refresh();
|
|
|
|
wxToolBar * toolbar;
|
|
std::string selectedVariable;
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
|
|
#endif
|