Look and feel handler class. More...
#include <ilviews/looks/vx.h>
Public Member Functions | |
IlvPalette * | getPublicPalette (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 IlvObjectLFHandler * | createObjectLFHandler (const IlvClassInfo *ci) const |
Creates and returns the object look and feel handler for specified class information. More... | |
IlvDisplay * | getDisplay () const |
Retrieves the IlvDisplay instance associated with this handler. More... | |
IlvObjectLFHandler * | getObjectLFHandler (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 IlvLookFeelHandler * | Create (IlvDisplay *display) |
Returns a new instance of the IlvVXLFHandler class. More... | |
Static Public Member Functions inherited from IlvWindowsLFHandler | |
static IlvLookFeelHandler * | Create (IlvDisplay *display) |
Returns a new instance of the IlvWindowsLFHandler class. More... | |
Static Public Member Functions inherited from IlvLookFeelHandler | |
static IlvLookFeelHandler * | Create (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 IlvLookFeelHandler * | GetDefaultLookFeelHandler (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... | |
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.
|
static |
Returns a new instance of the IlvVXLFHandler
class.
display | The display connection to which the new handler is connected. |
IlvVXLFHandler
class. IlvPalette* IlvVXLFHandler::getPublicPalette | ( | IlvVXPaletteName | name | ) | const |
Returns a palette from the palette list of the look and feel.
name | The palette name. |
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.
name | The palette name. |
pal | The new palette. |