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

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

#include <ilviews/gadgets/vframe.h>

Inheritance diagram for IlvDefaultViewFrameLFHandler:
IlvViewFrameLFHandler IlvObjectLFHandler

Public Member Functions

virtual void drawCaption (const IlvViewFrame *, const IlvMessageLabel *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the caption of a view frame. More...
 
virtual void drawCloseButton (const IlvViewFrame *, const IlvButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the close button of a view frame. More...
 
virtual void drawFrame (const IlvViewFrame *, const IlvGadget *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the border of a view frame. More...
 
virtual void drawIcon (const IlvViewFrame *, const IlvMessageLabel *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the icon of a view frame. More...
 
virtual void drawMaximizeButton (const IlvViewFrame *, const IlvButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the maximize button of a view frame. More...
 
virtual void drawMinimizeButton (const IlvViewFrame *, const IlvButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the minimize button of a view frame. More...
 
virtual void drawRestoreButton (const IlvViewFrame *, const IlvButton *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the restore button of a view frame. More...
 
virtual void drawTitle (const IlvViewFrame *, const IlvMessageLabel *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the title of a view frame. More...
 
virtual IlvDim getBorderSize (IlBoolean) const
 Returns the size of the border of a view frame. More...
 
virtual IlvDim getTitleBarHeight (const IlvViewFrame *vframe, const IlvViewFrameButtons *vfButtons, IlBoolean isMinimized) const override
 Returns the height of the title bar of a view frame. More...
 
- Public Member Functions inherited from IlvViewFrameLFHandler
 IlvViewFrameLFHandler (IlvLookFeelHandler *lfh)
 Creates a new IlvViewFrameLFHandler instance. More...
 

Detailed Description

Object look-and-feel class.

Library: ilvadvgdt

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

Member Function Documentation

◆ drawCaption()

virtual void IlvDefaultViewFrameLFHandler::drawCaption ( const IlvViewFrame vframe,
const IlvMessageLabel gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the caption of a view frame.

Parameters
vframeThe view frame.
gadgetThe gadget being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

◆ drawCloseButton()

virtual void IlvDefaultViewFrameLFHandler::drawCloseButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the close button of a view frame.

Parameters
vframeThe view frame.
buttonThe button being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

◆ drawFrame()

virtual void IlvDefaultViewFrameLFHandler::drawFrame ( const IlvViewFrame vframe,
const IlvGadget gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the border of a view frame.

Parameters
vframeThe view frame.
gadgetThe gadget being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

◆ drawIcon()

virtual void IlvDefaultViewFrameLFHandler::drawIcon ( const IlvViewFrame vframe,
const IlvMessageLabel gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the icon of a view frame.

Parameters
vframeThe view frame.
gadgetThe gadget being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

◆ drawMaximizeButton()

virtual void IlvDefaultViewFrameLFHandler::drawMaximizeButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the maximize button of a view frame.

Parameters
vframeThe view frame.
buttonThe button being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

◆ drawMinimizeButton()

virtual void IlvDefaultViewFrameLFHandler::drawMinimizeButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the minimize button of a view frame.

Parameters
vframeThe view frame.
buttonThe button being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

◆ drawRestoreButton()

virtual void IlvDefaultViewFrameLFHandler::drawRestoreButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the restore button of a view frame.

Parameters
vframeThe view frame.
buttonThe button being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

◆ drawTitle()

virtual void IlvDefaultViewFrameLFHandler::drawTitle ( const IlvViewFrame vframe,
const IlvMessageLabel gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the title of a view frame.

Parameters
vframeThe view frame.
gadgetThe gadget being drawn.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Implements IlvViewFrameLFHandler.

◆ getBorderSize()

virtual IlvDim IlvDefaultViewFrameLFHandler::getBorderSize ( IlBoolean  minimized) const
virtual

Returns the size of the border of a view frame.

Parameters
minimizedIndicates whether the requested size concerns minimized view frames or not.
Returns
The size of the border of a view frame.

Implements IlvViewFrameLFHandler.

◆ getTitleBarHeight()

virtual IlvDim IlvDefaultViewFrameLFHandler::getTitleBarHeight ( const IlvViewFrame vframe,
const IlvViewFrameButtons *  vfButtons,
IlBoolean  minimized 
) const
overridevirtual

Returns the height of the title bar of a view frame.

Parameters
vframeThe view frame.
vfButtonsButtons toolbar of the view frame.
minimizedIndicates whether the requested size concerns minimized view frames or not.
Returns
The height of a title bar of a view frame.

Implements IlvViewFrameLFHandler.