Views
Foundation Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions | Static Public Member Functions
IlvVXLFHandler Class Reference

Look and feel handler class. More...

#include <ilviews/looks/vx.h>

Inheritance diagram for IlvVXLFHandler:
IlvWindowsLFHandler IlvBasicLFHandler IlvLookFeelHandler

Public Member Functions

IlvPalettegetPublicPalette (IlvVXPaletteName name) const
 Returns a palette from the palette list of the look and feel. More...
 
void setPublicPalette (IlvVXPaletteName name, IlvPalette *pal)
 Changes a palette from palette list of the look and feel. More...
 
- Public Member Functions inherited from IlvBasicLFHandler
virtual const char * getLookName () const
 Returns the name of the look and feel handler. More...
 
- Public Member Functions inherited from IlvLookFeelHandler
void addObjectLFHandler (IlvObjectLFHandler *olfh)
 Adds the specified object look and feel handler to this look and feel handler. More...
 
virtual IlvObjectLFHandlercreateObjectLFHandler (const IlvClassInfo *ci) const
 Creates and returns the object look and feel handler for specified class information. More...
 
IlvDisplaygetDisplay () const
 Retrieves the IlvDisplay instance associated with this handler. More...
 
IlvObjectLFHandlergetObjectLFHandler (const IlvClassInfo *ci) const
 Returns the object look and feel handler for the specified class information. More...
 
void removeObjectLFHandler (const IlvClassInfo *classinfo)
 Removes the object look and feel handler linked with the specified class information from this look and feel handler. More...
 

Static Public Member Functions

static IlvLookFeelHandlerCreate (IlvDisplay *display)
 Returns a new instance of the IlvVXLFHandler class. More...
 
- Static Public Member Functions inherited from IlvWindowsLFHandler
static IlvLookFeelHandlerCreate (IlvDisplay *display)
 Returns a new instance of the IlvWindowsLFHandler class. More...
 
- Static Public Member Functions inherited from IlvLookFeelHandler
static IlvLookFeelHandlerCreate (IlSymbol *lookname, IlvDisplay *display)
 Creates and returns a look and feel handler that matches the specified name. More...
 
static const IlSymbol *const * GetAvailableLooks (IlUInt &count, IlBoolean sort=IlTrue)
 Returns an array containing the available look and feel handlers. More...
 
static IlvLookFeelHandlerGetDefaultLookFeelHandler (IlvDisplay *display, IlBoolean warn=IlTrue)
 Returns the default look and feel handler for the running platform. More...
 
static const IlSymbol *const * GetDynamicLooks (IlUInt &count, IlBoolean sort=IlTrue)
 Returns an array containing the look and feel handlers that can be dynamically loaded. More...
 
static const IlSymbol *const * GetRegisteredLooks (IlUInt &count, IlBoolean sort=IlTrue)
 Returns an array containing the registered look and feel handlers. More...
 

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

◆ Create()

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

Returns a new instance of the IlvVXLFHandler class.

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

◆ getPublicPalette()

IlvPalette* IlvVXLFHandler::getPublicPalette ( IlvVXPaletteName  name) const

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

Parameters
nameThe palette name.
Returns
The palette, however if the palette is not defined, this method return 0.

◆ setPublicPalette()

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
nameThe palette name.
palThe new palette.