Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvDefaultScrolledGadgetLFHandler Class Reference

Object look-and-feel class. More...

#include <ilviews/gadgets/scgadget.h>

Inheritance diagram for IlvDefaultScrolledGadgetLFHandler:
IlvScrolledGadgetLFHandler IlvObjectLFHandler IlvScrolledGadgetMLFHandler IlvScrolledGadgetWLFHandler IlvScrolledGadgetVXLFHandler IlvScrolledGadgetW95LFHandler

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 IlvPalettegetWindowBackground (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...
 

Detailed Description

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.

Member Function Documentation

§ drawContents()

virtual void IlvDefaultScrolledGadgetLFHandler::drawContents ( const IlvScrolledGadget gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the contents of a scrolled gadget.

Parameters
gadgetThe scrolled gadget.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvScrolledGadgetLFHandler.

§ drawScrollBar()

virtual void IlvDefaultScrolledGadgetLFHandler::drawScrollBar ( const IlvScrolledGadget gadget,
IlvPort dst,
IlvDirection  dir,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw an internal scroll bar of a scrolled gadget.

Parameters
gadgetThe scrolled gadget.
dstThe destination port.
dirThe orientation of the scroll bar.
tThe transformer.
clipThe clipping region.

Implements IlvScrolledGadgetLFHandler.

§ handleEvent()

virtual IlBoolean IlvDefaultScrolledGadgetLFHandler::handleEvent ( IlvScrolledGadget gadget,
IlvEvent event 
) const
virtual

Is called to handle the events of a scrolled gadget.

Parameters
gadgetThe scrolled gadget.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implements IlvScrolledGadgetLFHandler.

§ handleScrollBarsEvent()

virtual IlBoolean IlvDefaultScrolledGadgetLFHandler::handleScrollBarsEvent ( IlvScrolledGadget gadget,
IlvEvent event 
) const
virtual

Is called to handle the events of the scroll bars of a scrolled gadget.

Parameters
gadgetThe scrolled gadget.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implements IlvScrolledGadgetLFHandler.

§ visibleBBox()

virtual void IlvDefaultScrolledGadgetLFHandler::visibleBBox ( const IlvScrolledGadget gadget,
IlvRect rect,
const IlvTransformer t 
) const
virtual

Is called to compute the visible area of the scrolled gadget.

Parameters
gadgetThe scrolled gadget.
rectThe returned rectangle of the visible area.
tThe 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.