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

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

#include <ilviews/gadgets/vframe.h>

Inheritance diagram for IlvViewFrameLFHandler:
IlvObjectLFHandler IlvDefaultViewFrameLFHandler

Public Member Functions

 IlvViewFrameLFHandler (IlvLookFeelHandler *lfh)
 Creates a new IlvViewFrameLFHandler instance. More...
 
virtual void drawCaption (const IlvViewFrame *vframe, const IlvMessageLabel *gadget, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the caption of a view frame. More...
 
virtual void drawCloseButton (const IlvViewFrame *vframe, const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the close button of a view frame. More...
 
virtual void drawFrame (const IlvViewFrame *vframe, const IlvGadget *gadget, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the border of a view frame. More...
 
virtual void drawIcon (const IlvViewFrame *vframe, const IlvMessageLabel *gadget, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the icon of a view frame. More...
 
virtual void drawMaximizeButton (const IlvViewFrame *vframe, const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the maximize button of a view frame. More...
 
virtual void drawMinimizeButton (const IlvViewFrame *vframe, const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the minimize button of a view frame. More...
 
virtual void drawRestoreButton (const IlvViewFrame *vframe, const IlvButton *button, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the restore button of a view frame. More...
 
virtual void drawTitle (const IlvViewFrame *vframe, const IlvMessageLabel *gadget, IlvPort *dst, const IlvTransformer *t, const IlvRegion *clip) const =0
 Is called to draw the title of a view frame. More...
 
virtual IlvDim getBorderSize (IlBoolean minimized) const =0
 Returns the size of the border of a view frame. More...
 
virtual IlvDim getTitleBarHeight (const IlvViewFrame *vframe, const IlvViewFrameButtons *vfButtons, IlBoolean minimized) const =0
 Returns the height of the title bar of a view frame. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvadvgdt

The base class for the object look-and-feel handlers of the view frame objects.

Constructor & Destructor Documentation

◆ IlvViewFrameLFHandler()

IlvViewFrameLFHandler::IlvViewFrameLFHandler ( IlvLookFeelHandler lfh)

Creates a new IlvViewFrameLFHandler instance.

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

Member Function Documentation

◆ drawCaption()

virtual void IlvViewFrameLFHandler::drawCaption ( const IlvViewFrame vframe,
const IlvMessageLabel gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

◆ drawCloseButton()

virtual void IlvViewFrameLFHandler::drawCloseButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

◆ drawFrame()

virtual void IlvViewFrameLFHandler::drawFrame ( const IlvViewFrame vframe,
const IlvGadget gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

◆ drawIcon()

virtual void IlvViewFrameLFHandler::drawIcon ( const IlvViewFrame vframe,
const IlvMessageLabel gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

◆ drawMaximizeButton()

virtual void IlvViewFrameLFHandler::drawMaximizeButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

◆ drawMinimizeButton()

virtual void IlvViewFrameLFHandler::drawMinimizeButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

◆ drawRestoreButton()

virtual void IlvViewFrameLFHandler::drawRestoreButton ( const IlvViewFrame vframe,
const IlvButton button,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

◆ drawTitle()

virtual void IlvViewFrameLFHandler::drawTitle ( const IlvViewFrame vframe,
const IlvMessageLabel gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

◆ getBorderSize()

virtual IlvDim IlvViewFrameLFHandler::getBorderSize ( IlBoolean  minimized) const
pure 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.

Implemented in IlvDefaultViewFrameLFHandler.

◆ getTitleBarHeight()

virtual IlvDim IlvViewFrameLFHandler::getTitleBarHeight ( const IlvViewFrame vframe,
const IlvViewFrameButtons *  vfButtons,
IlBoolean  minimized 
) const
pure virtual

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.

Implemented in IlvDefaultViewFrameLFHandler.