Rogue Wave Views Gadgets Package API Reference Guide |
Rogue Wave Views Documentation Home |
Object Look-and-Feel class. More...
#include <ilviews/gadgets/scrollb.h>
Public Member Functions | |
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 | drawContents (const IlvScrollBar *sb, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the contents 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 | handleEvent (IlvScrollBar *sb, IlvEvent &event) const =0 |
Is called to handle the events 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 base class for the object look-and-feel handlers of the scroll bar.
IlvScrollBarLFHandler::IlvScrollBarLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvScrollBarLFHandler
instance and initializes it with lfh.
lfh | The look-and-feel handler which this handler will be associated to. |
|
pure virtual |
Is called to compute the bounding boxes of the scroll bar parts.
sb | The scroll bar. |
arrow1 | The rectangle of the left/top arrow. |
internal | The rectangle of the internal part. |
arrow2 | The rectangle of the right/bottom arrow. |
thumb | The rectangle of the thumb. |
t | The transformer. |
Implemented in IlvScrollBarWLFHandler, IlvScrollBarMLFHandler, IlvScrollBarW95LFHandler, and IlvScrollBarVXLFHandler.
|
pure virtual |
Is called to draw the arrows of a scroll bar.
sb | The scroll bar. |
position | The orientation of the arrow. |
dst | The destination port. |
arrow | The bounding rectangle of the arrow. |
clip | The clipping region. |
Implemented in IlvScrollBarWLFHandler, IlvScrollBarMLFHandler, IlvScrollBarW95LFHandler, and IlvScrollBarVXLFHandler.
|
pure virtual |
Is called to draw the background of a scroll bar.
sb | The scroll bar. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvScrollBarWLFHandler, IlvScrollBarW95LFHandler, IlvScrollBarVXLFHandler, and IlvScrollBarMLFHandler.
|
pure 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. |
Implemented in IlvDefaultScrollBarLFHandler, IlvScrollBarWLFHandler, and IlvScrollBarMLFHandler.
|
pure virtual |
Is called to draw the frame of a scroll bar.
sb | The scroll bar. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implemented in IlvScrollBarWLFHandler, IlvScrollBarW95LFHandler, IlvScrollBarVXLFHandler, and IlvScrollBarMLFHandler.
|
pure virtual |
Is called to draw the internal part of a scroll bar.
sb | The scroll bar. |
dst | The destination port. |
internal | The bounding rectangle of the internal part. |
thumb | The bounding rectangle of the thumb. This rectangle must be included into internal. |
clip | The clipping region. |
Implemented in IlvScrollBarWLFHandler, IlvScrollBarMLFHandler, IlvScrollBarW95LFHandler, and IlvScrollBarVXLFHandler.
|
pure 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. Implemented in IlvDefaultScrollBarLFHandler.
|
pure virtual |
Indicates whether a given position is valid for the scroll bar.
sb | The scroll bar. |
point | The position. |
t | The transformer. |
Implemented in IlvScrollBarWLFHandler, IlvScrollBarW95LFHandler, IlvScrollBarVXLFHandler, and IlvScrollBarMLFHandler.
© Copyright 2017, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.