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

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

#include <ilviews/gadgets/splitgad.h>

Inheritance diagram for IlvSplitterGadgetLFHandler:
IlvObjectLFHandler IlvDefaultSplitterGadgetLFHandler IlvSplitterGadgetCSSLFHandler

Public Member Functions

 IlvSplitterGadgetLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void draw (const IlvSplitterGadget *splitgad, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw a splitter gadget. More...
 
virtual IlBoolean handleEvent (IlvSplitterGadget *splitgad, IlvEvent &event) const =0
 Is called to handle the events of a splitter gadget. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvadvgdt

The base class for the object look-and-feel handlers of the splitter gadget.

Constructor & Destructor Documentation

◆ IlvSplitterGadgetLFHandler()

IlvSplitterGadgetLFHandler::IlvSplitterGadgetLFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvSplitterGadgetLFHandler instance and initializes it with lfh.

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

Member Function Documentation

◆ draw()

virtual void IlvSplitterGadgetLFHandler::draw ( const IlvSplitterGadget splitgad,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure virtual

Is called to draw a splitter gadget.

Parameters
splitgadThe splitter gadget.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implemented in IlvSplitterGadgetCSSLFHandler, and IlvDefaultSplitterGadgetLFHandler.

◆ handleEvent()

virtual IlBoolean IlvSplitterGadgetLFHandler::handleEvent ( IlvSplitterGadget splitgad,
IlvEvent event 
) const
pure virtual

Is called to handle the events of a splitter gadget.

Parameters
splitgadThe splitter gadget.
eventThe event to handle.
Returns
IlTrue if the event has been consumed.

Implemented in IlvDefaultSplitterGadgetLFHandler.