From 33d81dfd1f8005314ce0a656c1d9819121af310d Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Wed, 27 Apr 2016 10:09:58 +0200 Subject: [PATCH] ImageSwitcherBox default values --- PackRecalage/src/bbPackRecalageImageSwitcherBox.cxx | 5 +++-- PackRecalage/src/bbPackRecalageImageSwitcherBox.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/PackRecalage/src/bbPackRecalageImageSwitcherBox.cxx b/PackRecalage/src/bbPackRecalageImageSwitcherBox.cxx index 0279f47..dda210b 100644 --- a/PackRecalage/src/bbPackRecalageImageSwitcherBox.cxx +++ b/PackRecalage/src/bbPackRecalageImageSwitcherBox.cxx @@ -112,8 +112,9 @@ void ImageSwitcherBox::bbUserSetDefaultValues() { myTimer = NULL; change = false; - time = 500; - oldTime = 500; + time = 150; + oldTime = 150; + bbSetInputTime(time); firstTime = true; _on = false; } diff --git a/PackRecalage/src/bbPackRecalageImageSwitcherBox.h b/PackRecalage/src/bbPackRecalageImageSwitcherBox.h index 2c58b5d..dbbf1ea 100644 --- a/PackRecalage/src/bbPackRecalageImageSwitcherBox.h +++ b/PackRecalage/src/bbPackRecalageImageSwitcherBox.h @@ -85,7 +85,7 @@ BBTK_CATEGORY("__CategoryBlackBox__"); BBTK_INPUT(ImageSwitcherBox,Title,"Title prepended to the Widget",std::string,""); BBTK_INPUT(ImageSwitcherBox,In1,"First Image",vtkImageData*,""); BBTK_INPUT(ImageSwitcherBox,In2,"Second Image",vtkImageData*,""); -BBTK_INPUT(ImageSwitcherBox,Time,"Time between image change",int,""); +BBTK_INPUT(ImageSwitcherBox,Time,"Time between image change (default 50)",int,""); BBTK_INPUT(ImageSwitcherBox,On,"Defines if the switcher is turned on. ON = True.",bool,""); BBTK_OUTPUT(ImageSwitcherBox,Out,"Image to be placed",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(ImageSwitcherBox); -- 2.47.1