- Your Widget Set For OpenGL
Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

ufo::UScrollableWidget Class Reference

A scrollable widget. More...

#include <uscrollablewidget.hpp>

Inheritance diagram for ufo::UScrollableWidget:

ufo::UWidget ufo::UObject ufo::UCollectable ufo::UListBox ufo::UTextWidget ufo::UTextEdit ufo::ULineEdit List of all members.

Public Member Functions

virtual int getUnitIncrement (Orientation orientation=Horizontal) const
virtual void setUnitIncrement (int increment)
virtual int getBlockIncrement (Orientation orientation=Horizontal) const
virtual void setBlockIncrement (int increment)
virtual UDimension getPreferredViewportSize () const
virtual void setPreferredViewportSize (const UDimension &viewSize)

Protected Attributes

int m_unitIncrement
int m_blockIncrement
UDimension m_viewSize

Detailed Description

A scrollable widget.

Author:
Johannes Schmidt


Member Function Documentation

virtual int ufo::UScrollableWidget::getBlockIncrement Orientation  orientation = Horizontal  )  const [virtual]
 

Returns the positive increment for scrolling one block (page up/down)

Reimplemented in ufo::UListBox.

virtual UDimension ufo::UScrollableWidget::getPreferredViewportSize  )  const [virtual]
 

The size of the visible viewport for this scrollable widget.

Reimplemented in ufo::UListBox.

virtual int ufo::UScrollableWidget::getUnitIncrement Orientation  orientation = Horizontal  )  const [virtual]
 

Returns the positive increment for scrolling one "unit"

Reimplemented in ufo::UListBox.

virtual void ufo::UScrollableWidget::setBlockIncrement int  increment  )  [virtual]
 

A default value for all directions.

virtual void ufo::UScrollableWidget::setUnitIncrement int  increment  )  [virtual]
 

A default value for all directions.


The documentation for this class was generated from the following file:
The libUFO Project - written by Johannes Schmidt