Vaca::Separator Class Reference

#include <Separator.h>

Inheritance diagram for Vaca::Separator:

Vaca::Widget Vaca::Component Vaca::Referenceable Vaca::NonCopyable

List of all members.

Public Member Functions

 Separator (Widget *parent, Style style=SeparatorStyle)
virtual ~Separator ()

Protected Member Functions

virtual void onPreferredSize (Size &sz)
 The preferred size of a separator is a 2x2 box.


Constructor & Destructor Documentation

Separator::Separator ( Widget parent,
Style  style = SeparatorStyle 
)

Separator::~Separator (  )  [virtual]


Member Function Documentation

void Separator::onPreferredSize ( Size sz  )  [protected, virtual]

The preferred size of a separator is a 2x2 box.

It is your responsability to make the Separator widget a horizontal or vertical line (through the Layout of the parent Widget).

Reimplemented from Vaca::Widget.