mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-22 01:55:25 -04:00
9203fab207
git-svn-id: svn://localhost@6 8062f311-0dae-4547-b526-b8ab9ac864a5
76 lines
1.7 KiB
C++
76 lines
1.7 KiB
C++
#ifndef OBJECTTYPECHOICE_H
|
|
#define OBJECTTYPECHOICE_H
|
|
|
|
//(*Headers(ObjectTypeChoice)
|
|
#include <wx/listctrl.h>
|
|
#include <wx/sizer.h>
|
|
#include <wx/stattext.h>
|
|
#include <wx/textctrl.h>
|
|
#include <wx/statline.h>
|
|
#include <wx/panel.h>
|
|
#include <wx/statbmp.h>
|
|
#include <wx/button.h>
|
|
#include <wx/dialog.h>
|
|
//*)
|
|
#include <string>
|
|
class Game;
|
|
|
|
class ObjectTypeChoice: public wxDialog
|
|
{
|
|
public:
|
|
|
|
ObjectTypeChoice(wxWindow* parent, Game & game_);
|
|
virtual ~ObjectTypeChoice();
|
|
|
|
//(*Declarations(ObjectTypeChoice)
|
|
wxStaticBitmap* StaticBitmap2;
|
|
wxStaticBitmap* iconBmp;
|
|
wxTextCtrl* infoEdit;
|
|
wxButton* moreObjectsBt;
|
|
wxPanel* Panel1;
|
|
wxStaticText* StaticText1;
|
|
wxButton* cancelBt;
|
|
wxStaticLine* StaticLine2;
|
|
wxStaticLine* StaticLine1;
|
|
wxButton* okBt;
|
|
wxListCtrl* objectsList;
|
|
//*)
|
|
|
|
std::string selectedObjectType;
|
|
|
|
protected:
|
|
|
|
//(*Identifiers(ObjectTypeChoice)
|
|
static const long ID_STATICBITMAP2;
|
|
static const long ID_STATICTEXT1;
|
|
static const long ID_PANEL1;
|
|
static const long ID_STATICLINE1;
|
|
static const long ID_LISTCTRL1;
|
|
static const long ID_STATICBITMAP1;
|
|
static const long ID_TEXTCTRL1;
|
|
static const long ID_STATICLINE2;
|
|
static const long ID_BUTTON3;
|
|
static const long ID_BUTTON1;
|
|
static const long ID_BUTTON2;
|
|
//*)
|
|
|
|
private:
|
|
|
|
//(*Handlers(ObjectTypeChoice)
|
|
void OnobjectsListItemSelect(wxListEvent& event);
|
|
void OnobjectsListItemActivated(wxListEvent& event);
|
|
void OncancelBtClick(wxCommandEvent& event);
|
|
void OnokBtClick(wxCommandEvent& event);
|
|
void OnClose(wxCloseEvent& event);
|
|
void OnmoreObjectsBtClick(wxCommandEvent& event);
|
|
//*)
|
|
|
|
void RefreshList();
|
|
|
|
Game & game;
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
|
|
#endif
|