GUI::PaletteWindow Class Reference

Palette window. More...

#include <PaletteWindow.h>

List of all members.

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

ToolListtoolList
 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.


Detailed Description

Palette window.

Object of this class creates a window for toollist.


Constructor & Destructor Documentation

GUI::PaletteWindow::PaletteWindow ( wxWindow *  parent,
string  pdp 
)

Constructor.

Parameters:
parent Parent window
pdp Palette configs directory

GUI::PaletteWindow::~PaletteWindow (  ) 

Destructor.


Member Function Documentation

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]

Push canvas pointer into toollist.

Parameters:
c Canvas pointer

void GUI::PaletteWindow::SetToolListCanvasNULL (  )  [inline]

NULL canvas pointer in toollist (when there is no canvas).


Member Data Documentation

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).


The documentation for this class was generated from the following files:
Generated on Sun Apr 29 11:46:11 2007 for IPP/ICP2007 by  doxygen 1.4.7