Label.h File Reference

#include "Vaca/base.h"
#include "Vaca/Widget.h"

Namespaces

namespace  Vaca

Classes

class  Vaca::Label
 A static label of text. More...

Defines

#define LabelStyle   (ChildStyle + Style(SS_NOTIFY, 0))
 Default style for Label.
#define SimpleLabelStyle   (Style(SS_SIMPLE, 0))
 A simple label has left-alignment and is not wrapped in multiple lines.
#define WordEllipsisLabelStyle   (Style(SS_WORDELLIPSIS, 0))
 If the label is too long, ellipsis ("...") is used at the end of each word instead of wrap them.
#define EndEllipsisLabelStyle   (Style(SS_ENDELLIPSIS, 0))
 If the label is too long, ellipsis ("...") is used at the end of the text.
#define PathEllipsisLabelStyle   (Style(SS_PATHELLIPSIS, 0))
 If the label is too long, ellipsis ("...") is used in the middle of the text.


Define Documentation

#define EndEllipsisLabelStyle   (Style(SS_ENDELLIPSIS, 0))

If the label is too long, ellipsis ("...") is used at the end of the text.

The text is not wrapped.

#define LabelStyle   (ChildStyle + Style(SS_NOTIFY, 0))

Default style for Label.

It is ChildStyle with Win32's SS_NOTIFY (to receive mouse notifications).

#define PathEllipsisLabelStyle   (Style(SS_PATHELLIPSIS, 0))

If the label is too long, ellipsis ("...") is used in the middle of the text.

It is useful to show file name paths, because the ellipsis is used trying to show the file name part (String::getFileName). The text is not wrapped.

#define SimpleLabelStyle   (Style(SS_SIMPLE, 0))

A simple label has left-alignment and is not wrapped in multiple lines.

#define WordEllipsisLabelStyle   (Style(SS_WORDELLIPSIS, 0))

If the label is too long, ellipsis ("...") is used at the end of each word instead of wrap them.