]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasIRMView.h
no message
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxMaracasIRMView.h
index 5e90935ca22a291f570b4c2e5e901c6adc42ff41..0512c7ecb6590f2cabf5bcd6e69342588bfe37b8 100644 (file)
@@ -3,14 +3,14 @@
   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();
@@ -77,26 +77,35 @@ private:
 
        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