rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvScrolledGadgetWLFHandler Class Reference

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

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

Inheritance diagram for IlvScrolledGadgetWLFHandler:
IlvDefaultScrolledGadgetLFHandler IlvScrolledGadgetLFHandler IlvObjectLFHandler IlvScrolledGadgetVXLFHandler IlvScrolledGadgetW95LFHandler

List of all members.

Public Member Functions

 IlvScrolledGadgetWLFHandler (IlvLookFeelHandler *lfh)
 Constructor.
virtual void drawBackground (const IlvScrolledGadget *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the background of a scrolled gadget.
virtual void drawFrame (const IlvScrolledGadget *, IlvPort *, const IlvTransformer *, const IlvRegion *) const
 Is called to draw the frame of a scrolled gadget.
virtual IlvPalettegetWindowBackground (const IlvScrolledGadget *) const
 Returns the palette that will be used to draw the background of the scrolled gadget.
virtual void internalBBox (const IlvScrolledGadget *, IlvRect &rect, const IlvTransformer *t) const
 Is called to compute the internal area of a scrolled gadget.
virtual void scrollBarBBox (const IlvScrolledGadget *obj, IlvOrientation dir, IlvRect &bbox, const IlvTransformer *t) const
 Is called to compute the size and position of the internal scroll bars.

Detailed Description

Object Look-and-Feel class.

Library: ilvawlook

The class for the Microsoft Windows object look-and-feel handler of the scrolled gadgets.


Constructor & Destructor Documentation

IlvScrolledGadgetWLFHandler::IlvScrolledGadgetWLFHandler ( IlvLookFeelHandler lfh  ) 

Constructor.

Creates a new IlvScrolledGadgetWLFHandler 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 IlvScrolledGadgetWLFHandler::drawBackground ( const IlvScrolledGadget gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [virtual]

Is called to draw the background of a scrolled gadget.

Parameters:
gadget The scrolled gadget.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvScrolledGadgetLFHandler.

Reimplemented in IlvScrolledGadgetVXLFHandler, and IlvScrolledGadgetW95LFHandler.

virtual void IlvScrolledGadgetWLFHandler::drawFrame ( const IlvScrolledGadget gadget,
IlvPort dst,
const IlvTransformer t,
const IlvRegion clip 
) const [virtual]

Is called to draw the frame of a scrolled gadget.

Parameters:
gadget The scrolled gadget.
dst The destination port.
t The transformer.
clip The clipping region.

Implements IlvScrolledGadgetLFHandler.

Reimplemented in IlvScrolledGadgetVXLFHandler, and IlvScrolledGadgetW95LFHandler.

virtual IlvPalette* IlvScrolledGadgetWLFHandler::getWindowBackground ( const IlvScrolledGadget gadget  )  const [virtual]

Returns the palette that will be used to draw the background of the scrolled gadget.

Parameters:
gadget The scrolled gadget.

Implements IlvScrolledGadgetLFHandler.

Reimplemented in IlvScrolledGadgetVXLFHandler, and IlvScrolledGadgetW95LFHandler.

virtual void IlvScrolledGadgetWLFHandler::internalBBox ( const IlvScrolledGadget gadget,
IlvRect rect,
const IlvTransformer t 
) const [virtual]

Is called to compute the internal area of a scrolled gadget.

Parameters:
gadget The scrolled gadget.
rect The returned rectangle of the internal area.
t The transformer.

Implements IlvScrolledGadgetLFHandler.

Reimplemented in IlvScrolledGadgetVXLFHandler, and IlvScrolledGadgetW95LFHandler.

virtual void IlvScrolledGadgetWLFHandler::scrollBarBBox ( const IlvScrolledGadget gadget,
IlvOrientation  dir,
IlvRect rect,
const IlvTransformer t 
) const [virtual]

Is called to compute the size and position of the internal scroll bars.

Parameters:
gadget The scrolled gadget.
dir The orientation of the scroll bar.
rect The returned bounding box of the specified scroll bar.
t The transformer.

Implements IlvScrolledGadgetLFHandler.

Reimplemented in IlvScrolledGadgetVXLFHandler, and IlvScrolledGadgetW95LFHandler.

 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.