mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-24 11:55:28 -04:00
2b30f4ad4d
Changed all toolbars to wxAuiToolbar for linux. git-svn-id: svn://localhost@516 8062f311-0dae-4547-b526-b8ab9ac864a5
94 lines
2.4 KiB
C++
94 lines
2.4 KiB
C++
#ifndef INITIALVARIABLESDIALOG_H
|
|
#define INITIALVARIABLESDIALOG_H
|
|
|
|
//(*Headers(InitialVariablesDialog)
|
|
#include <wx/listctrl.h>
|
|
#include <wx/sizer.h>
|
|
#include <wx/stattext.h>
|
|
#include <wx/aui/aui.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)
|
|
wxAuiManager* AuiManager1;
|
|
wxButton* helpBt;
|
|
wxPanel* toolbarPanel;
|
|
wxAuiToolBar* toolbar;
|
|
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_AUITOOLBAR1;
|
|
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 idMoveUpVar;
|
|
static const long idRenameVar;
|
|
static const long idMoveDownVar;
|
|
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 OnvariablesListKeyDown(wxListEvent& event);
|
|
//*)
|
|
void OnAddVarSelected(wxCommandEvent& event);
|
|
void OnDelVarSelected(wxCommandEvent& event);
|
|
void OnEditVarSelected(wxCommandEvent& event);
|
|
void OnRenameVarSelected(wxCommandEvent& event);
|
|
void OnMoveUpVarSelected(wxCommandEvent& event);
|
|
void OnMoveDownVarSelected(wxCommandEvent& event);
|
|
void Refresh();
|
|
|
|
std::string selectedVariable;
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
|
|
#endif
|