Program: wxMaracas
Module: $RCSfile: wxMaracasIRMView.h,v $
Language: C++
- Date: $Date: 2009/05/14 13:54:35 $
- Version: $Revision: 1.4 $
+ Date: $Date: 2009/06/16 13:25:58 $
+ Version: $Revision: 1.6 $
Copyright: (c) 2002, 2003
License:
-
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+
+ This software is distributed WITHOUT ANY WARRANTY; without even
+ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
class creaMaracasVisu_EXPORT wxMaracasIRMView : public wxPanel
-{
+{
public:
wxMaracasIRMView( wxWindow* parent, std::string path);
~wxMaracasIRMView( );
-
+
static wxMaracasIRMView* getInstance(wxWindow* parent,std::string path="");
static wxMaracasIRMView* getInstance();
std::string _path;
+ wxToolBar* _toolb;
+
};
+class ToolBarEventHandler : public wxEvtHandler{
+ public:
+ ToolBarEventHandler();
+ ~ToolBarEventHandler();
+
+ void onLoadImageFile(wxCommandEvent& event);
+
+ private:
+
+ DECLARE_EVENT_TABLE()
+ };
class ToolBar : public wxToolBar{
-public:
+public:
ToolBar(wxWindow * parent,std::string iconsdir);
~ToolBar(void);
-
-
- void onLoadImageFile(wxCommandEvent& event);
-
+
+
private:
-
+ ToolBarEventHandler* _evthand;
-
-DECLARE_EVENT_TABLE()
};
#endif