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

ufo::UScrollBar Class Reference

A scroll bar may be used to scroll the contents of a scroll pane. More...

#include <uscrollbar.hpp>

Inheritance diagram for ufo::UScrollBar:

ufo::UAbstractSlider ufo::UWidget ufo::UObject ufo::UCollectable List of all members.

Public Member Functions

 UScrollBar (Orientation orientationA=Horizontal, int valueA=0, int visAmountA=10, int minA=0, int maxA=100)
int getVisibleAmount () const
void setVisibleAmount (int amountA)

Protected Member Functions

virtual UDimension getContentsSize (const UDimension &maxSize) const
virtual void processMouseEvent (UMouseEvent *e)

Detailed Description

A scroll bar may be used to scroll the contents of a scroll pane.

Author:
Johannes Schmidt


Member Function Documentation

int ufo::UScrollBar::getVisibleAmount  )  const
 

The visible amount is the size of knob

virtual void ufo::UScrollBar::processMouseEvent UMouseEvent e  )  [protected, virtual]
 

Processes focus events. Primarily, it is used to notify listeners.

Reimplemented from ufo::UWidget.


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