virtual UString getTooltipText() const
{ return UString( getIntf(), "" ); }
- /// Overload this method if you want to do something special when
- /// the layout is resized
+ /**
+ * Overload this method if you want to do something special when
+ * the layout is resized
+ */
virtual void onResize() {}
/// Get the help text
CtrlGeneric( intf_thread_t *pIntf, const UString &rHelp,
VarBool *pVisible = NULL );
- /// Tell the layout when the image has changed, with the size of the
- /// rectangle to repaint and its offset.
- /// Use the default values to repaint the whole window
+ /**
+ * Tell the layout when the image has changed, with the size of the
+ * rectangle to repaint and its offset.
+ * Use the default values to repaint the whole window
+ */
virtual void notifyLayout( int witdh = -1, int height = -1,
int xOffSet = 0, int yOffSet = 0 ) const;
- /// Same as notifyLayout(), but takes optional images as parameters.
- /// The maximum size(s) of the images will be used for repainting.
+ /**
+ * Same as notifyLayout(), but takes optional images as parameters.
+ * The maximum size(s) of the images will be used for repainting.
+ */
void notifyLayoutMaxSize( const Box *pImg1 = NULL,
const Box *pImg2 = NULL );
/// Get the associated window, if any
virtual TopWindow *getWindow() const;
- /// Overload this method if you want to do something special when
- /// the Position object is set
+ /**
+ * Overload this method if you want to do something special when
+ * the Position object is set
+ */
virtual void onPositionChange() {}
/// Overload this method to get notified of bool variable changes
/// Resize the layout
virtual void resize( int width, int height );
- /// Add a control in the layout at the given position, and
- /// the optional given layer
+ /**
+ * Add a control in the layout at the given position, and
+ * the optional given layer
+ */
virtual void addControl( CtrlGeneric *pControl,
const Position &rPosition,
int layer );
virtual const list<LayeredControl> &getControlList() const;
/// Called by a control when its image has changed
- /// The arguments indicate the size of the rectangle to refresh,
- /// and the offset (from the control position) of this rectangle.
- /// Use a negative width or height to refresh the layout completely
+ /**
+ * The arguments indicate the size of the rectangle to refresh,
+ * and the offset (from the control position) of this rectangle.
+ * Use a negative width or height to refresh the layout completely
+ */
virtual void onControlUpdate( const CtrlGeneric &rCtrl,
int width, int height,
int xOffSet, int yOffSet );