Views
Gadgets Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvScrolledGadgetCSSLFHandler Class Reference

Object Look-and-Feel class. More...

#include <ilviews/gadgets/css/scgadget.h>

Inheritance diagram for IlvScrolledGadgetCSSLFHandler:
IlvDefaultScrolledGadgetLFHandler IlvScrolledGadgetLFHandler IlvObjectLFHandler

Public Member Functions

 IlvScrolledGadgetCSSLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void drawBackground (const IlvScrolledGadget *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a scrolled gadget. More...
 
virtual void drawFrame (const IlvScrolledGadget *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a scrolled gadget. More...
 
virtual const IlvPalettegetWindowBackground (const IlvScrolledGadget *) const
 Returns the palette that will be used to draw the background of the scrolled gadget. More...
 
virtual void internalBBox (const IlvScrolledGadget *, IlvRect &rect, const IlvTransformer *t) const
 Is called to compute the internal area of a scrolled gadget. More...
 
virtual void scrollBarBBox (const IlvScrolledGadget *obj, IlvOrientation dir, IlvRect &bbox, const IlvTransformer *t) const
 Is called to compute the size and position of the internal scroll bars. More...
 
virtual void visibleBBox (const IlvScrolledGadget *gadget, IlvRect &rect, const IlvTransformer *t) const
 Is called to compute the visible area of the scrolled gadget. More...
 
- Public Member Functions inherited from IlvDefaultScrolledGadgetLFHandler
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...
 
- Public Member Functions inherited from IlvScrolledGadgetLFHandler
 IlvScrolledGadgetLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvacsslook

The class for the motif object look-and-feel handler of the scrolled gadgets.

Constructor & Destructor Documentation

◆ IlvScrolledGadgetCSSLFHandler()

IlvScrolledGadgetCSSLFHandler::IlvScrolledGadgetCSSLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvScrolledGadgetCSSLFHandler instance and initializes it with lfh.

Parameters
lfhThe look-and-feel handler which this handler will be associated to.

Member Function Documentation

◆ drawBackground()

virtual void IlvScrolledGadgetCSSLFHandler::drawBackground ( const IlvScrolledGadget gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the background of a scrolled gadget.

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

Implements IlvScrolledGadgetLFHandler.

◆ drawFrame()

virtual void IlvScrolledGadgetCSSLFHandler::drawFrame ( const IlvScrolledGadget gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the frame of a scrolled gadget.

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

Implements IlvScrolledGadgetLFHandler.

◆ getWindowBackground()

virtual const IlvPalette* IlvScrolledGadgetCSSLFHandler::getWindowBackground ( const IlvScrolledGadget gadget) const
virtual

Returns the palette that will be used to draw the background of the scrolled gadget.

Parameters
gadgetThe scrolled gadget.

Implements IlvScrolledGadgetLFHandler.

◆ internalBBox()

virtual void IlvScrolledGadgetCSSLFHandler::internalBBox ( const IlvScrolledGadget gadget,
IlvRect rect,
const IlvTransformer t 
) const
virtual

Is called to compute the internal area of a scrolled gadget.

Parameters
gadgetThe scrolled gadget.
rectThe returned rectangle of the internal area.
tThe transformer.

Implements IlvScrolledGadgetLFHandler.

◆ scrollBarBBox()

virtual void IlvScrolledGadgetCSSLFHandler::scrollBarBBox ( const IlvScrolledGadget gadget,
IlvOrientation  dir,
IlvRect rect,
const IlvTransformer t 
) const
virtual

Is called to compute the size and position of the internal scroll bars.

Parameters
gadgetThe scrolled gadget.
dirThe orientation of the scroll bar.
rectThe returned bounding box of the specified scroll bar.
tThe transformer.

Implements IlvScrolledGadgetLFHandler.

◆ visibleBBox()

virtual void IlvScrolledGadgetCSSLFHandler::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.

Reimplemented from IlvDefaultScrolledGadgetLFHandler.