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

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

#include <ilviews/base/view/IlvAbstractView.h>

Inheritance diagram for IlvDefaultAbstractViewLFHandler:
IlvAbstractViewLFHandler IlvObjectLFHandler

Public Member Functions

virtual bool drawBackground (const IlvAbstractView *obj, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip, IlvPoint bgOriginOffset) const override
 Draws the background of a IlvAbstractView. More...
 
virtual IlvColorgetBackgroundColor (const IlvAbstractView *) const override
 Returns the color used to draw the background of a IlvAbstractView. More...
 
virtual IlBoolean resizingInvalidatesBackground (const IlvAbstractView *) const override
 Indicates whether the entire background should be redrawn after the view is resized. More...
 
- Public Member Functions inherited from IlvAbstractViewLFHandler
 IlvAbstractViewLFHandler (IlvLookFeelHandler *lfh)
 Creates a new IlvAbstractViewLFHandler instance. More...
 
- Public Member Functions inherited from IlvObjectLFHandler
 IlvObjectLFHandler (IlvClassInfo *classInfo, IlvLookFeelHandler *lf)
 Initializes a new instance of the IlvObjectLFHandler class. More...
 
IlvDisplaygetDisplay () const
 Retrieves the IlvDisplay instance associated with this handler. More...
 
IlvLookFeelHandlergetLookFeelHandler () const
 Retrieves the IlvLookFeelHandler instance associated with this handler. More...
 

Detailed Description

Object look-and-feel class.

Library: <display>views

The predefined object look-and-feel handlers of IlvAbstractView objects are subclasses of this class. It defines several methods of the base class that are common to all predefined looks.

Member Function Documentation

◆ drawBackground()

virtual bool IlvDefaultAbstractViewLFHandler::drawBackground ( const IlvAbstractView view,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip,
IlvPoint  bgOriginOffset 
) const
overridevirtual

Draws the background of a IlvAbstractView.

Parameters
viewThe IlvAbstractView.
dstThe destination port.
tThe transformer.
clipThe clipping region.
Returns
true if something was drawn in the destination buffer, false otherwise.

Implements IlvAbstractViewLFHandler.

◆ getBackgroundColor()

virtual IlvColor* IlvDefaultAbstractViewLFHandler::getBackgroundColor ( const IlvAbstractView ) const
overridevirtual

Returns the color used to draw the background of a IlvAbstractView.

Returns
The color used to draw the background of a IlvAbstractView.

Implements IlvAbstractViewLFHandler.

◆ resizingInvalidatesBackground()

virtual IlBoolean IlvDefaultAbstractViewLFHandler::resizingInvalidatesBackground ( const IlvAbstractView ) const
overridevirtual

Indicates whether the entire background should be redrawn after the view is resized.

Returns
Returns IlTrue if whole background should be redrawn after the view is resized.

Implements IlvAbstractViewLFHandler.