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

ufo::UScrollPane Class Reference

A scroll pane may be used to display a smaller detail of a large widget on a relative. More...

#include <uscrollpane.hpp>

Inheritance diagram for ufo::UScrollPane:

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

Public Member Functions

 UScrollPane (UScrollableWidget *viewA=NULL)
void setScrollable (UScrollableWidget *viewA)
UScrollableWidgetgetScrollable () const
void setAutoAddingScrollBars (bool b)
bool isAutoAddingScrollBars () const

Protected Member Functions

virtual void processMouseWheelEvent (UMouseWheelEvent *e)
virtual void processWidgetEvent (UWidgetEvent *e)
void on_scroll (UAbstractSlider *slider)
void installScrollable ()

Detailed Description

A scroll pane may be used to display a smaller detail of a large widget on a relative.

Author:
Johannes Schmidt


Member Function Documentation

void ufo::UScrollPane::installScrollable  )  [protected]
 

Does all initalizing for the previously set scrollable.

virtual void ufo::UScrollPane::processMouseWheelEvent UMouseWheelEvent e  )  [protected, virtual]
 

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

Reimplemented from ufo::UWidget.

virtual void ufo::UScrollPane::processWidgetEvent UWidgetEvent e  )  [protected, virtual]
 

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

Reimplemented from ufo::UWidget.

void ufo::UScrollPane::setAutoAddingScrollBars bool  b  ) 
 

If b is true the scroll pane checks whether scroll bars are needed.


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