PlatinumStyle Class Reference

#include <Pt/Forms/PlatinumStyle.h>

Provides the built-in default Style. More...

Inherits Style.

Public Member Functions

 PlatinumStyle ()
 Constructor.
 
 ~PlatinumStyle ()
 Destructor.
 
void assign (const Style &style)
 Replaces all facets with those from style.
 
void set (Facet *facet)
 Adds or replaces a facet. More...
 
void reset (const StyleOptions &options)
 Resets all registered facets with options.
 
std::size_t generation () const
 Returns the current style generation. More...
 
template<typename FacetT >
FacetT * get () const
 Returns the facet of type FacetT, or 0.
 

Detailed Description

PlatinumStyle is the look that Application installs at start. Control backgrounds stay transparent unless a local background option is set.

Member Function Documentation

◆ set()

void set ( Facet facet)
inherited

Takes a reference to facet. Pass a facet with a reference count of 0.

◆ generation()

std::size_t generation ( ) const
inherited

The generation changes when the set of facets changes.