Object look-and-feel class. More...
#include <ilviews/gadgets/scrollb.h>
Public Member Functions | |
virtual void | drawContents (const IlvScrollBar *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the contents of a scroll bar. More... | |
virtual IlBoolean | handleEvent (IlvScrollBar *, IlvEvent &e) const |
Is called to handle the events of a scroll bar. More... | |
Public Member Functions inherited from IlvScrollBarLFHandler | |
IlvScrollBarLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
virtual void | computeBBox (const IlvScrollBar *sb, IlvRect &arrow1, IlvRect &internal, IlvRect &arrow2, IlvRect &thumb, const IlvTransformer *t) const =0 |
Is called to compute the bounding boxes of the scroll bar parts. More... | |
virtual void | drawArrow (const IlvScrollBar *sb, IlvPosition position, IlvPort *dst, const IlvRect &arrow, const IlvRegion *clip) const =0 |
Is called to draw the arrows of a scroll bar. More... | |
virtual void | drawBackground (const IlvScrollBar *sb, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the background of a scroll bar. More... | |
virtual void | drawFrame (const IlvScrollBar *sb, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the frame of a scroll bar. More... | |
virtual void | drawInternal (const IlvScrollBar *sb, IlvPort *dst, const IlvRect &internal, const IlvRect &thumb, const IlvRegion *clip) const =0 |
Is called to draw the internal part of a scroll bar. More... | |
virtual IlBoolean | isValidPosition (const IlvScrollBar *sb, const IlvPoint &point, const IlvTransformer *t) const =0 |
Indicates whether a given position is valid for the scroll bar. More... | |
Object look-and-feel class.
Library: ilvgadgt
The predefined object look-and-feel handlers of the scroll bar are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.
|
virtual |
Is called to draw the contents of a scroll bar.
sb | The scroll bar. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implements IlvScrollBarLFHandler.
Reimplemented in IlvScrollBarMLFHandler, IlvScrollBarCSSLFHandler, and IlvScrollBarWLFHandler.
|
virtual |
Is called to handle the events of a scroll bar.
sb | The scroll bar. |
event | The event to handle. |
IlTrue
if the event has been consumed. Implements IlvScrollBarLFHandler.