#include <bbwxSlider.h>
Protected Member Functions | |
virtual void | bbUserConstructor () |
Private Member Functions | |
BBTK_BLACK_BOX_INTERFACE (Slider, bbtk::WxBlackBox) | |
BBTK_DECLARE_INPUT (In, int) | |
BBTK_DECLARE_INPUT (Min, int) | |
BBTK_DECLARE_INPUT (Max, int) | |
BBTK_DECLARE_INPUT (Label, bool) | |
BBTK_DECLARE_INPUT (Title, std::string) | |
BBTK_DECLARE_INPUT (Orientation, std::string) | |
BBTK_DECLARE_INPUT (ChangeResolution, bool) | |
BBTK_DECLARE_INPUT (ReactiveOnTrack, int) | |
BBTK_DECLARE_OUTPUT (Out, int) | |
BBTK_PROCESS (Process) | |
BBTK_CREATE_WIDGET (CreateWidget) | |
void | Process () |
void | CreateWidget () |
Definition at line 124 of file bbwxSlider.h.
bbwx::Slider::BBTK_BLACK_BOX_INTERFACE | ( | Slider | , | |
bbtk::WxBlackBox | ||||
) | [private] |
bbwx::Slider::BBTK_DECLARE_INPUT | ( | In | , | |
int | ||||
) | [private] |
bbwx::Slider::BBTK_DECLARE_INPUT | ( | Min | , | |
int | ||||
) | [private] |
bbwx::Slider::BBTK_DECLARE_INPUT | ( | Max | , | |
int | ||||
) | [private] |
bbwx::Slider::BBTK_DECLARE_INPUT | ( | Label | , | |
bool | ||||
) | [private] |
bbwx::Slider::BBTK_DECLARE_INPUT | ( | Title | , | |
std::string | ||||
) | [private] |
bbwx::Slider::BBTK_DECLARE_INPUT | ( | Orientation | , | |
std::string | ||||
) | [private] |
bbwx::Slider::BBTK_DECLARE_INPUT | ( | ChangeResolution | , | |
bool | ||||
) | [private] |
bbwx::Slider::BBTK_DECLARE_INPUT | ( | ReactiveOnTrack | , | |
int | ||||
) | [private] |
bbwx::Slider::BBTK_DECLARE_OUTPUT | ( | Out | , | |
int | ||||
) | [private] |
bbwx::Slider::BBTK_PROCESS | ( | Process | ) | [private] |
bbwx::Slider::BBTK_CREATE_WIDGET | ( | CreateWidget | ) | [private] |
void bbwx::Slider::Process | ( | ) | [private] |
void bbwx::Slider::CreateWidget | ( | ) | [private] |
Definition at line 371 of file bbwxSlider.cxx.
00372 { 00373 00374 int orientation=0; 00375 if (bbtk::Utilities::loosematch(bbGetInputOrientation(),"0|H|HORIZONTAL")==true) { orientation=0; } 00376 if (bbtk::Utilities::loosematch(bbGetInputOrientation(),"1|V|VERTICAL")==true) { orientation=1; } 00377 00378 00379 // std::cout << "bbGetWxParent = "<<bbGetWxParent()<<std::endl; 00380 SliderWidget *w = new SliderWidget(this, 00381 bbGetWxParent(), 00382 orientation , 00383 bbGetInputChangeResolution(), 00384 bbGetInputLabel(), 00385 bbtk::std2wx( bbGetInputTitle() ), 00386 bbGetInputMin(), 00387 bbGetInputMax(), 00388 bbGetInputIn(), 00389 bbGetInputReactiveOnTrack() 00390 ); 00391 // std::cout << "w = "<<w<<std::endl; 00392 // w->SetName( bbtk::std2wx( bbGetInputWinTitle() ) ); 00393 00394 bbSetOutputWidget( w ); 00395 }
void bbwx::Slider::bbUserConstructor | ( | ) | [protected, virtual] |
Definition at line 353 of file bbwxSlider.cxx.
00354 { 00355 bbSetInputIn(0); 00356 bbSetInputMin(0); 00357 bbSetInputMax(500); 00358 bbSetOutputOut(0); 00359 bbSetInputOrientation("HORIZONTAL"); 00360 bbSetInputChangeResolution(false); 00361 bbSetInputLabel(true); 00362 bbSetInputReactiveOnTrack(0); 00363 }