Program: bbtk
Module: $RCSfile: bbtkKWBlackBox.h,v $
Language: C++
- Date: $Date: 2008/12/02 08:38:08 $
- Version: $Revision: 1.2 $
+ Date: $Date: 2008/12/02 13:37:54 $
+ Version: $Revision: 1.3 $
========================================================================*/
#include "bbtkKW.h"
- //==================================================================
- // Forward declaration of the class of window associated to a KWBlackBox
- class vtkKWBlackBoxWindow;
- class vtkKWBlackBoxDialog;
- //==================================================================
+//==================================================================
+// Forward declaration of the class of window associated to a KWBlackBox
+class vtkKWBlackBoxWindow;
+class vtkKWBlackBoxDialog;
+class vtkKWFrame;
+//==================================================================
namespace bbtk
/// User callback for creating the widget associated to the box
/// ** Must be defined **
// LG 24/11/08 : New widget pipeline
- virtual void bbUserCreateWidget(vtkKWWidget* parent)
+ virtual void bbUserCreateWidget(vtkKWFrame* parent)
{
bbtkError(bbGetTypeName()<<" is a KWBlackBox whose bbUserCreateWidget methods is not overloaded : is it a feature or a bug ?!?");
}
vtkKWWidget* bbCreateWidgetOfInput(const std::string& in,
- vtkKWWidget* parent);
+ vtkKWFrame* parent);
//==================================================================
/// Defines the bbUserCreateWidget method
#define BBTK_CREATE_KWWIDGET(CALLBACK) \
public: \
- inline void bbUserCreateWidget(vtkKWWidget* parent) \
+ inline void bbUserCreateWidget(vtkKWFrame* parent) \
{ \
bbtkDebugMessageInc("kw",1,"**> Creating widget for [" \
<<bbGetFullName()<<"]"<<std::endl); \