rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvScrollBarWLFHandler Class Reference

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

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

Inheritance diagram for IlvScrollBarWLFHandler:
IlvDefaultScrollBarLFHandler IlvScrollBarLFHandler IlvObjectLFHandler IlvScrollBarVXLFHandler IlvScrollBarW95LFHandler

List of all members.

Public Member Functions

 IlvScrollBarWLFHandler (IlvLookFeelHandler *lfh)
 Constructor.
virtual void computeBBox (const IlvScrollBar *, IlvRect &, IlvRect &, IlvRect &, IlvRect &, const IlvTransformer *) const
 Is called to compute the bounding boxes of the scroll bar parts.
virtual void drawArrow (const IlvScrollBar *, IlvPosition, IlvPort *, const IlvRect &, const IlvRegion *) const
 Is called to draw the arrows of a scroll bar.
virtual void drawBackground (const IlvScrollBar *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a scroll bar.
virtual void drawContents (const IlvScrollBar *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the contents of a scroll bar.
virtual void drawFrame (const IlvScrollBar *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a scroll bar.
virtual void drawInternal (const IlvScrollBar *, IlvPort *, const IlvRect &, const IlvRect &, const IlvRegion *) const
 Is called to draw the internal part of a scroll bar.
virtual IlBoolean isValidPosition (const IlvScrollBar *, const IlvPoint &, const IlvTransformer *) const
 Indicates whether a given position is valid for the scroll bar.

Detailed Description

Object Look-and-Feel class.

Library: ilvwlook

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


Constructor & Destructor Documentation

IlvScrollBarWLFHandler::IlvScrollBarWLFHandler ( IlvLookFeelHandler lfh  ) 

Constructor.

Creates a new IlvScrollBarWLFHandler instance and initializes it with lfh.

Parameters:
lfh The look-and-feel handler which this handler will be associated to.

Member Function Documentation

virtual void IlvScrollBarWLFHandler::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:
sb The scroll bar.
arrow1 The rectangle of the left/top arrow.
internal The rectangle of the internal part.
arrow2 The rectangle of the right/bottom arrow.
thumb The rectangle of the thumb.
t The transformer.

Implements IlvScrollBarLFHandler.

Reimplemented in IlvScrollBarVXLFHandler, and IlvScrollBarW95LFHandler.

virtual void IlvScrollBarWLFHandler::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:
sb The scroll bar.
position The orientation of the arrow.
dst The destination port.
arrow The bounding rectangle of the arrow.
clip The clipping region.

Implements IlvScrollBarLFHandler.

Reimplemented in IlvScrollBarVXLFHandler, and IlvScrollBarW95LFHandler.

virtual void IlvScrollBarWLFHandler::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:
sb The scroll bar.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvScrollBarLFHandler.

Reimplemented in IlvScrollBarVXLFHandler, and IlvScrollBarW95LFHandler.

virtual void IlvScrollBarWLFHandler::drawContents ( const IlvScrollBar sb,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [virtual]

Is called to draw the contents of a scroll bar.

Parameters:
sb The scroll bar.
dst The destination port.
t The transformer.
clip The clipping region.

Reimplemented from IlvDefaultScrollBarLFHandler.

virtual void IlvScrollBarWLFHandler::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:
sb The scroll bar.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvScrollBarLFHandler.

Reimplemented in IlvScrollBarVXLFHandler, and IlvScrollBarW95LFHandler.

virtual void IlvScrollBarWLFHandler::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:
sb The scroll bar.
dst The destination port.
internal The bounding rectangle of the internal part.
thumb The bounding rectangle of the thumb. This rectangle must be included into internal.
clip The clipping region.

Implements IlvScrollBarLFHandler.

Reimplemented in IlvScrollBarVXLFHandler, and IlvScrollBarW95LFHandler.

virtual IlBoolean IlvScrollBarWLFHandler::isValidPosition ( const IlvScrollBar sb,
const IlvPoint point,
const IlvTransformer t 
) const [virtual]

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

Parameters:
sb The scroll bar.
point The position.
t The transformer.

Implements IlvScrollBarLFHandler.

Reimplemented in IlvScrollBarVXLFHandler, and IlvScrollBarW95LFHandler.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, 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.