X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxMaracasSurfaceRenderingPanel.h;h=b1759bb311cde486abf3497ca25949da9d6c6958;hb=d2fc2645728a4aea4f0aa0febfa1d7a894ab3ff1;hp=8725b371e44560c7af8cd1417b59efa690e6e075;hpb=52134c6f15827d0ae9ea8cf0ffaa15867ab87dcc;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSurfaceRenderingPanel.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSurfaceRenderingPanel.h index 8725b37..b1759bb 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSurfaceRenderingPanel.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSurfaceRenderingPanel.h @@ -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_*/