#include <PaletteWindow.h>
Public Member Functions | |
PaletteWindow (wxWindow *parent, string pdp) | |
Constructor. | |
~PaletteWindow () | |
Destructor. | |
void | CreateMenu () |
Creates palette menu. | |
void | SetToolListCanvas (Canvas *c) |
Push canvas pointer into toollist. | |
void | SetToolListCanvasNULL () |
NULL canvas pointer in toollist (when there is no canvas). | |
Private Member Functions | |
void | OnWindowClose (wxCloseEvent &event) |
void | OnOpenSingleObjectConfig (wxCommandEvent &event) |
void | OnOpenDirectoryConfig (wxCommandEvent &event) |
void | OnSaveDirectoryConfig (wxCommandEvent &event) |
void | OnAddObjectAgent (wxCommandEvent &event) |
void | OnAddObjectTransferable (wxCommandEvent &event) |
void | OnAddObjectFixed (wxCommandEvent &event) |
Private Attributes | |
ToolList * | toolList |
List of objects (configs). | |
string | paletteDirectoryPath |
Palette configs directory. | |
Static Private Attributes | |
static const wxSize | DEFAULT_PALETTE_WINDOW_SIZE = wxSize(150, 150) |
Default palette window size. |
Object of this class creates a window for toollist.
GUI::PaletteWindow::PaletteWindow | ( | wxWindow * | parent, | |
string | pdp | |||
) |
Constructor.
parent | Parent window | |
pdp | Palette configs directory |
GUI::PaletteWindow::~PaletteWindow | ( | ) |
Destructor.
void GUI::PaletteWindow::CreateMenu | ( | ) |
Creates palette menu.
void GUI::PaletteWindow::OnAddObjectAgent | ( | wxCommandEvent & | event | ) | [private] |
void GUI::PaletteWindow::OnAddObjectFixed | ( | wxCommandEvent & | event | ) | [private] |
void GUI::PaletteWindow::OnAddObjectTransferable | ( | wxCommandEvent & | event | ) | [private] |
void GUI::PaletteWindow::OnOpenDirectoryConfig | ( | wxCommandEvent & | event | ) | [private] |
void GUI::PaletteWindow::OnOpenSingleObjectConfig | ( | wxCommandEvent & | event | ) | [private] |
void GUI::PaletteWindow::OnSaveDirectoryConfig | ( | wxCommandEvent & | event | ) | [private] |
void GUI::PaletteWindow::OnWindowClose | ( | wxCloseEvent & | event | ) | [private] |
void GUI::PaletteWindow::SetToolListCanvas | ( | Canvas * | c | ) | [inline] |
void GUI::PaletteWindow::SetToolListCanvasNULL | ( | ) | [inline] |
NULL canvas pointer in toollist (when there is no canvas).
const wxSize GUI::PaletteWindow::DEFAULT_PALETTE_WINDOW_SIZE = wxSize(150, 150) [static, private] |
Default palette window size.
string GUI::PaletteWindow::paletteDirectoryPath [private] |
Palette configs directory.
ToolList* GUI::PaletteWindow::toolList [private] |
List of objects (configs).