rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvVXLFHandler Class Reference

Look and feel handler class. More...

#include <ilviews/looks/vx.h>

Inheritance diagram for IlvVXLFHandler:
IlvWindowsLFHandler IlvBasicLFHandler IlvLookFeelHandler

List of all members.

Public Member Functions

virtual const char * getLookName () const
 Returns the name of the look & feel handler.
IlvPalettegetPublicPalette (IlvVXPaletteName name) const
 Returns a palette from the palette list of the look and feel.
void setPublicPalette (IlvVXPaletteName name, IlvPalette *pal)
 Changes a palette from palette list of the look and feel.

Static Public Member Functions

static IlvLookFeelHandlerCreate (IlvDisplay *)
 Returns a new instance of the IlvWindowsLFHandler class.
static IlvLookFeelHandlerCreate (IlvDisplay *display)
 Returns a new instance of the IlvVXLFHandler class.

Detailed Description

Look and feel handler class.

Library: views

The look and feel handler for the ViewsX look. To create an instance of this class, use the static method IlvVXLFHandler::Create. You cannot delete an IlvVXLFHandler object; it is deleted by the display connection.


Member Function Documentation

static IlvLookFeelHandler* IlvVXLFHandler::Create ( IlvDisplay display  )  [static]

Returns a new instance of the IlvWindowsLFHandler class.

Parameters:
display The display connection to which the new handler will be connected.
Returns:
A new instance of the IlvWindowsLFHandler class.

Reimplemented from IlvWindowsLFHandler.

static IlvLookFeelHandler* IlvVXLFHandler::Create ( IlvDisplay display  )  [static]

Returns a new instance of the IlvVXLFHandler class.

Parameters:
display The display connection to which the new handler is connected.
Returns:
A new instance of the IlvVXLFHandler class.

Reimplemented from IlvWindowsLFHandler.

virtual const char* IlvVXLFHandler::getLookName (  )  const [virtual]

Returns the name of the look & feel handler.

Usually you do not have to declare this method by hand, since the DeclareLookFeelTypeInfo does it.

Returns:
The name of the look & feel handler.

Reimplemented from IlvWindowsLFHandler.

IlvPalette* IlvVXLFHandler::getPublicPalette ( IlvVXPaletteName  name  )  const

Returns a palette from the palette list of the look and feel.

Parameters:
name The palette name.
Returns:
The palette, however if the palette is not defined, this method return 0.
void IlvVXLFHandler::setPublicPalette ( IlvVXPaletteName  name,
IlvPalette pal 
)

Changes a palette from palette list of the look and feel.

This look and feel uses several palettes to display the different gadgets and views. You can use this method to specify your own style. The previous palette is unlocked and the new palette is locked.

Parameters:
name The palette name.
pal The new palette.

© 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.