#ifdef _USE_WXWIDGETS_
-#ifndef __bbmaracasvisuSliderMinMax_h_INCLUDED__
-#define __bbmaracasvisuSliderMinMax_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuSliderMinMax_h_INCLUDED__
+#define __bbcreaMaracasVisuSliderMinMax_h_INCLUDED__
#include "bbtkWxBlackBox.h"
#include "mBarRange.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
//--------------------------------------------------------------------------------------------------------------------------------
// Attributes
//--------------------------------------------------------------------------------------------------------------------------------
- SliderMinMax * mbbtkSliderMinMax;
- mBarRange * modBarRange;
+ SliderMinMax *mbbtkSliderMinMax;
+ mBarRange *modBarRange;
};
public bbtk::WxBlackBox
{
BBTK_BLACK_BOX_INTERFACE(SliderMinMax,bbtk::WxBlackBox);
-//==================================================================
-/// User callback called in the box contructor
-virtual void bbUserConstructor();
-/// User callback called in the box copy constructor
-virtual void bbUserCopyConstructor();
-/// User callback called in the box destructor
-virtual void bbUserDestructor();
-//==================================================================
BBTK_DECLARE_INPUT(Orientation, int);
BBTK_DECLARE_INPUT(InW, int);
BBTK_DECLARE_INPUT(InH, int);
BBTK_PROCESS(Process);
void Process();
BBTK_CREATE_WIDGET(CreateWidget);
- void CreateWidget();
+ void CreateWidget(wxWindow*);
private:
- mBarRange* mwxwidget;
+ bool firsttime;
+ mBarRange *mwxwidget;
};
BBTK_BEGIN_DESCRIBE_BLACK_BOX(SliderMinMax,bbtk::WxBlackBox);
BBTK_OUTPUT(SliderMinMax,OutActual,"Actual value output",int,"");
BBTK_END_DESCRIBE_BLACK_BOX(SliderMinMax);
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#endif // __bbmaracasvisuSliderMinMax_h_INCLUDED__
+#endif // __bbcreaMaracasVisuSliderMinMax_h_INCLUDED__
#endif // _USE_WXWIDGETS_