]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSurfaceRenderingPanel.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxMaracasSurfaceRenderingPanel.h
index 8725b371e44560c7af8cd1417b59efa690e6e075..b1759bb311cde486abf3497ca25949da9d6c6958 100644 (file)
@@ -5,9 +5,11 @@
 
 class wxMaracasSurfaceRenderingPanel : public wxPanel{
 public:
-       wxMaracasSurfaceRenderingPanel(wxWindow* parent, int propid)
+       wxMaracasSurfaceRenderingPanel(wxWindow* parent, int propid, bool _isComplexBox, int _panID)
                : wxPanel(parent, -1, wxDefaultPosition, wxDefaultSize){
                        createPanel();
+                       isComplexBox = _isComplexBox;
+                       panID = _panID;
                        _propid = propid;
        }       
        //virtual ~wxMaracasSurfaceRenderingPanel();
@@ -85,12 +87,29 @@ public:
                return _propid;
        }
 
+       /**
+       ** Returns the papnel id
+       **/
+       int getPanId(){
+               return panID;
+       }
+
+       /**
+       ** Tells if the panel is used for a complex box
+       **/
+       bool isComplex(){
+               return isComplexBox;
+       }
+
 private:
        wxBoxSizer* sizercontrols;
        bool show;
 protected:
        int _propid;
-
+       
+       //-- Atributes added for complex box --//
+       bool isComplexBox;
+       int panID;
 };
 
 #endif /*WXMARACASSURFACERENDERINGPANEL_H_*/