libsuit  0.1.1
SFML User Interface Toolkit
Public Member Functions | List of all members
ui::DebugVisitor Class Reference

A visitor to draw a debug view of the widgets. More...

#include <ui/DebugVisitor.h>

Inheritance diagram for ui::DebugVisitor:
Inheritance graph
[legend]

Public Member Functions

 DebugVisitor (sf::RenderTarget &target)
 Construct a debug visitor. More...
 
virtual void visitArea (Area &widget) override
 Visit an area widget. More...
 
virtual void visitBin (Bin &widget) override
 Visit a bin widget. More...
 
virtual void visitButton (Button &widget) override
 Visit a button widget. More...
 
virtual void visitForm (Form &widget) override
 Visit a form widget. More...
 
virtual void visitHBox (HBox &widget) override
 Visit a horizontal box widget. More...
 
virtual void visitLabel (Label &widget) override
 Visit a label widget. More...
 
virtual void visitSelect (Select &widget) override
 Visit a select widget. More...
 
virtual void visitStack (Stack &widget) override
 Visit a stack widget. More...
 
virtual void visitTable (Table &widget) override
 Visit a table widget. More...
 
virtual void visitToggle (Toggle &widget) override
 Visit a toggle widget. More...
 
virtual void visitVBox (VBox &widget) override
 Visit a vertical box widget. More...
 
- Public Member Functions inherited from ui::WidgetVisitor
virtual ~WidgetVisitor ()
 Destroy the visitor. More...
 

Detailed Description

A visitor to draw a debug view of the widgets.

Constructor & Destructor Documentation

ui::DebugVisitor::DebugVisitor ( sf::RenderTarget &  target)
inline

Construct a debug visitor.

Parameters
targetthe render target (generally a window).

Member Function Documentation

virtual void ui::DebugVisitor::visitArea ( Area widget)
overridevirtual

Visit an area widget.

Parameters
widgetthe area widget.

Reimplemented from ui::WidgetVisitor.

virtual void ui::DebugVisitor::visitBin ( Bin widget)
overridevirtual

Visit a bin widget.

Parameters
widgetthe bin widget.

Reimplemented from ui::WidgetVisitor.

virtual void ui::DebugVisitor::visitButton ( Button widget)
overridevirtual

Visit a button widget.

Parameters
widgetthe button widget.

Reimplemented from ui::WidgetVisitor.

virtual void ui::DebugVisitor::visitForm ( Form widget)
overridevirtual

Visit a form widget.

Parameters
widgetthe form widget.

Reimplemented from ui::WidgetVisitor.

virtual void ui::DebugVisitor::visitHBox ( HBox widget)
overridevirtual

Visit a horizontal box widget.

Parameters
widgetthe horizontal box widget.

Reimplemented from ui::WidgetVisitor.

virtual void ui::DebugVisitor::visitLabel ( Label widget)
overridevirtual

Visit a label widget.

Parameters
widgetthe label widget.

Reimplemented from ui::WidgetVisitor.

virtual void ui::DebugVisitor::visitSelect ( Select widget)
overridevirtual

Visit a select widget.

Parameters
widgetthe select widget.

Reimplemented from ui::WidgetVisitor.

virtual void ui::DebugVisitor::visitStack ( Stack widget)
overridevirtual

Visit a stack widget.

Parameters
widgetthe stack widget.

Reimplemented from ui::WidgetVisitor.

virtual void ui::DebugVisitor::visitTable ( Table widget)
overridevirtual

Visit a table widget.

Parameters
widgetthe table widget.

Reimplemented from ui::WidgetVisitor.

virtual void ui::DebugVisitor::visitToggle ( Toggle widget)
overridevirtual

Visit a toggle widget.

Parameters
widgetthe toggle widget.

Reimplemented from ui::WidgetVisitor.

virtual void ui::DebugVisitor::visitVBox ( VBox widget)
overridevirtual

Visit a vertical box widget.

Parameters
widgetthe vertical box widget.

Reimplemented from ui::WidgetVisitor.