Rogue Wave Views
Gadgets Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvScrollBarW95LFHandler Class Reference

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

#include <ilviews/gadgets/win95/scrollb.h>

Inheritance diagram for IlvScrollBarW95LFHandler:
IlvScrollBarWLFHandler IlvDefaultScrollBarLFHandler IlvScrollBarLFHandler IlvObjectLFHandler

Public Member Functions

 IlvScrollBarW95LFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void computeBBox (const IlvScrollBar *, IlvRect &, IlvRect &, IlvRect &, IlvRect &, const IlvTransformer *) const
 Is called to compute the bounding boxes of the scroll bar parts. More...
 
virtual void drawArrow (const IlvScrollBar *, IlvPosition, IlvPort *, const IlvRect &, const IlvRegion *) const
 Is called to draw the arrows of a scroll bar. More...
 
virtual void drawBackground (const IlvScrollBar *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a scroll bar. More...
 
virtual void drawFrame (const IlvScrollBar *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a scroll bar. More...
 
virtual void drawInternal (const IlvScrollBar *, IlvPort *, const IlvRect &, const IlvRect &, const IlvRegion *) const
 Is called to draw the internal part of a scroll bar. More...
 
virtual IlBoolean isValidPosition (const IlvScrollBar *, const IlvPoint &, const IlvTransformer *) const
 Indicates whether a given position is valid for the scroll bar. More...
 
- Public Member Functions inherited from IlvScrollBarWLFHandler
 IlvScrollBarWLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 
virtual void drawContents (const IlvScrollBar *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a scroll bar. More...
 
- Public Member Functions inherited from IlvDefaultScrollBarLFHandler
virtual IlBoolean handleEvent (IlvScrollBar *, IlvEvent &e) const
 Is called to handle the events of a scroll bar. More...
 
- Public Member Functions inherited from IlvScrollBarLFHandler
 IlvScrollBarLFHandler (IlvLookFeelHandler *lfh)
 Constructor. More...
 

Detailed Description

Object Look-and-Feel class.

Library: ilvw95look

The class for the Microsoft Windows 95 object look-and-feel handler of the scroll bar.

Constructor & Destructor Documentation

§ IlvScrollBarW95LFHandler()

IlvScrollBarW95LFHandler::IlvScrollBarW95LFHandler ( IlvLookFeelHandler lfh)

Constructor.

Creates a new IlvScrollBarW95LFHandler instance and initializes it with lfh.

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

Member Function Documentation

§ computeBBox()

virtual void IlvScrollBarW95LFHandler::computeBBox ( const IlvScrollBar sb,
IlvRect arrow1,
IlvRect internal,
IlvRect arrow2,
IlvRect thumb,
const IlvTransformer t 
) const
virtual

Is called to compute the bounding boxes of the scroll bar parts.

Parameters
sbThe scroll bar.
arrow1The rectangle of the left/top arrow.
internalThe rectangle of the internal part.
arrow2The rectangle of the right/bottom arrow.
thumbThe rectangle of the thumb.
tThe transformer.

Reimplemented from IlvScrollBarWLFHandler.

§ drawArrow()

virtual void IlvScrollBarW95LFHandler::drawArrow ( const IlvScrollBar sb,
IlvPosition  position,
IlvPort dst,
const IlvRect arrow,
const IlvRegion clip 
) const
virtual

Is called to draw the arrows of a scroll bar.

Parameters
sbThe scroll bar.
positionThe orientation of the arrow.
dstThe destination port.
arrowThe bounding rectangle of the arrow.
clipThe clipping region.

Reimplemented from IlvScrollBarWLFHandler.

§ drawBackground()

virtual void IlvScrollBarW95LFHandler::drawBackground ( const IlvScrollBar sb,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the background of a scroll bar.

Parameters
sbThe scroll bar.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Reimplemented from IlvScrollBarWLFHandler.

§ drawFrame()

virtual void IlvScrollBarW95LFHandler::drawFrame ( const IlvScrollBar sb,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const
virtual

Is called to draw the frame of a scroll bar.

Parameters
sbThe scroll bar.
dstThe destination port.
tThe transformer.
clipThe clipping region.

Reimplemented from IlvScrollBarWLFHandler.

§ drawInternal()

virtual void IlvScrollBarW95LFHandler::drawInternal ( const IlvScrollBar sb,
IlvPort dst,
const IlvRect internal,
const IlvRect thumb,
const IlvRegion clip 
) const
virtual

Is called to draw the internal part of a scroll bar.

Parameters
sbThe scroll bar.
dstThe destination port.
internalThe bounding rectangle of the internal part.
thumbThe bounding rectangle of the thumb. This rectangle must be included into internal.
clipThe clipping region.

Reimplemented from IlvScrollBarWLFHandler.

§ isValidPosition()

virtual IlBoolean IlvScrollBarW95LFHandler::isValidPosition ( const IlvScrollBar sb,
const IlvPoint point,
const IlvTransformer t 
) const
virtual

Indicates whether a given position is valid for the scroll bar.

Parameters
sbThe scroll bar.
pointThe position.
tThe transformer.

Reimplemented from IlvScrollBarWLFHandler.


© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.