mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-23 02:25:52 -04:00
5d6a500196
Object names are started to be edited as soon as objects are created in EditorObjectList. git-svn-id: svn://localhost@653 8062f311-0dae-4547-b526-b8ab9ac864a5
110 lines
2.8 KiB
C++
110 lines
2.8 KiB
C++
#ifndef EDITOPTIONSPOSITION_H
|
|
#define EDITOPTIONSPOSITION_H
|
|
|
|
//(*Headers(EditOptionsPosition)
|
|
#include <wx/sizer.h>
|
|
#include <wx/stattext.h>
|
|
#include <wx/textctrl.h>
|
|
#include <wx/checkbox.h>
|
|
#include <wx/statline.h>
|
|
#include <wx/panel.h>
|
|
#include <wx/choice.h>
|
|
#include <wx/button.h>
|
|
#include <wx/dialog.h>
|
|
//*)
|
|
#include "GDL/Position.h"
|
|
#include "GDL/Position.h"
|
|
#include "GDL/VariableList.h"
|
|
class Game;
|
|
class Scene;
|
|
|
|
class EditOptionsPosition: public wxDialog
|
|
{
|
|
public:
|
|
|
|
EditOptionsPosition(wxWindow* parent, const Game & game_, const Scene & scene_, const InitialPosition & position_);
|
|
virtual ~EditOptionsPosition();
|
|
|
|
InitialPosition position;
|
|
|
|
//(*Declarations(EditOptionsPosition)
|
|
wxButton* OkBt;
|
|
wxTextCtrl* widthEdit;
|
|
wxTextCtrl* YEdit;
|
|
wxStaticText* variablesStatusTxt;
|
|
wxStaticText* StaticText2;
|
|
wxCheckBox* sizeCheck;
|
|
wxChoice* layerChoice;
|
|
wxStaticText* StaticText6;
|
|
wxTextCtrl* heightEdit;
|
|
wxStaticText* StaticText8;
|
|
wxPanel* Panel1;
|
|
wxPanel* customPanel;
|
|
wxStaticText* StaticText1;
|
|
wxStaticText* StaticText3;
|
|
wxTextCtrl* XEdit;
|
|
wxStaticLine* StaticLine2;
|
|
wxStaticText* StaticText5;
|
|
wxStaticText* StaticText7;
|
|
wxStaticLine* StaticLine1;
|
|
wxButton* AnnulerBt;
|
|
wxButton* editInitialVariables;
|
|
wxTextCtrl* zOrderEdit;
|
|
wxStaticText* StaticText4;
|
|
wxStaticText* objectNameTxt;
|
|
wxButton* AideBt;
|
|
//*)
|
|
|
|
protected:
|
|
|
|
//(*Identifiers(EditOptionsPosition)
|
|
static const long ID_STATICTEXT1;
|
|
static const long ID_STATICTEXT2;
|
|
static const long ID_PANEL1;
|
|
static const long ID_STATICLINE1;
|
|
static const long ID_STATICTEXT3;
|
|
static const long ID_TEXTCTRL1;
|
|
static const long ID_STATICTEXT4;
|
|
static const long ID_TEXTCTRL2;
|
|
static const long ID_CHECKBOX1;
|
|
static const long ID_STATICTEXT5;
|
|
static const long ID_TEXTCTRL3;
|
|
static const long ID_STATICTEXT6;
|
|
static const long ID_TEXTCTRL5;
|
|
static const long ID_STATICTEXT11;
|
|
static const long ID_CHOICE1;
|
|
static const long ID_STATICTEXT7;
|
|
static const long ID_TEXTCTRL4;
|
|
static const long ID_STATICTEXT8;
|
|
static const long ID_BUTTON4;
|
|
static const long ID_STATICTEXT9;
|
|
static const long ID_PANEL2;
|
|
static const long ID_STATICLINE2;
|
|
static const long ID_BUTTON1;
|
|
static const long ID_BUTTON2;
|
|
static const long ID_BUTTON3;
|
|
//*)
|
|
|
|
private:
|
|
|
|
//(*Handlers(EditOptionsPosition)
|
|
void OnOkBtClick(wxCommandEvent& event);
|
|
void OnAnnulerBtClick(wxCommandEvent& event);
|
|
void OnAideBtClick(wxCommandEvent& event);
|
|
void OnAnimationComboText(wxCommandEvent& event);
|
|
void OnsizeCheckClick(wxCommandEvent& event);
|
|
void OneditInitialVariablesClick(wxCommandEvent& event);
|
|
//*)
|
|
void RefreshDirecType(int anim);
|
|
void UpdateInitialVariablesStatus();
|
|
|
|
ListVariable initialVariables;
|
|
|
|
const Game & game;
|
|
const Scene & scene;
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
|
|
#endif
|