Rogue Wave Views Gadgets Package API Reference Guide |
Rogue Wave Views Documentation Home |
Object look-and-feel class. More...
#include <ilviews/gadgets/scgadget.h>
Public Member Functions | |
virtual void | drawContents (const IlvScrolledGadget *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the contents of a scrolled gadget. More... | |
virtual void | drawScrollBar (const IlvScrolledGadget *, IlvPort *dst, IlvDirection dir, const IlvTransformer *t, const IlvRegion *clip) const |
Is called to draw an internal scroll bar of a scrolled gadget. More... | |
virtual IlBoolean | handleEvent (IlvScrolledGadget *sc, IlvEvent &e) const |
Is called to handle the events of a scrolled gadget. More... | |
virtual IlBoolean | handleScrollBarsEvent (IlvScrolledGadget *sc, IlvEvent &event) const |
Is called to handle the events of the scroll bars of a scrolled gadget. More... | |
virtual void | visibleBBox (const IlvScrolledGadget *obj, IlvRect &bbox, const IlvTransformer *t) const |
Is called to compute the visible area of the scrolled gadget. More... | |
Public Member Functions inherited from IlvScrolledGadgetLFHandler | |
IlvScrolledGadgetLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
virtual void | drawBackground (const IlvScrolledGadget *gadget, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the background of a scrolled gadget. More... | |
virtual void | drawFrame (const IlvScrolledGadget *gadget, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0 |
Is called to draw the frame of a scrolled gadget. More... | |
virtual IlvPalette * | getWindowBackground (const IlvScrolledGadget *gadget) const =0 |
Returns the palette that will be used to draw the background of the scrolled gadget. More... | |
virtual void | internalBBox (const IlvScrolledGadget *gadget, IlvRect &rect, const IlvTransformer *t) const =0 |
Is called to compute the internal area of a scrolled gadget. More... | |
virtual void | scrollBarBBox (const IlvScrolledGadget *gadget, IlvOrientation dir, IlvRect &rect, const IlvTransformer *t) const =0 |
Is called to compute the size and position of the internal scroll bars. More... | |
Object look-and-feel class.
Library: ilvadvgdt
The predefined object look-and-feel handlers of the scrolled gadget 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 scrolled gadget.
gadget | The scrolled gadget. |
dst | The destination port. |
t | The transformer. |
clip | The clipping region. |
Implements IlvScrolledGadgetLFHandler.
|
virtual |
Is called to draw an internal scroll bar of a scrolled gadget.
gadget | The scrolled gadget. |
dst | The destination port. |
dir | The orientation of the scroll bar. |
t | The transformer. |
clip | The clipping region. |
Implements IlvScrolledGadgetLFHandler.
|
virtual |
Is called to handle the events of a scrolled gadget.
gadget | The scrolled gadget. |
event | The event to handle. |
IlTrue
if the event has been consumed. Implements IlvScrolledGadgetLFHandler.
|
virtual |
Is called to handle the events of the scroll bars of a scrolled gadget.
gadget | The scrolled gadget. |
event | The event to handle. |
IlTrue
if the event has been consumed. Implements IlvScrolledGadgetLFHandler.
|
virtual |
Is called to compute the visible area of the scrolled gadget.
gadget | The scrolled gadget. |
rect | The returned rectangle of the visible area. |
t | The transformer. |
Implements IlvScrolledGadgetLFHandler.
© 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.