psychic-ui 0.0.0
Loading...
Searching...
No Matches
psychic_ui::PivotalSkins Class Reference

#include <PivotalSkins.hpp>

Inheritance diagram for psychic_ui::PivotalSkins:
psychic_ui::SkinSet psychic_ui::StyleSheet

Public Member Functions

std::string_view name () const override
const Theme & defaultTheme () const override
const Theme & lightTheme () const override
std::vector< const Theme * > themes () const override
void registerSkins (SkinRegistry &skins) const override
void load (StyleManager *manager) override
Public Member Functions inherited from psychic_ui::SkinSet
virtual const Theme & darkTheme () const
const Theme & theme (ColorScheme scheme) const
bool hasTheme (const Theme &theme) const
virtual std::unique_ptr< SkinSet > fallback () const
Public Member Functions inherited from psychic_ui::StyleSheet
 StyleSheet (const StyleSheet &)=delete
StyleSheet & operator= (const StyleSheet &)=delete
 StyleSheet (StyleSheet &&)=delete
StyleSheet & operator= (StyleSheet &&)=delete

Detailed Description

Psychic UI's own look, the default set ("Default"): Pivotal's design system (P1 Faithful), with Pivotal Dark and Pivotal Light. A skin for every component, the bases for most, Pivotal's own for tabs, window controls and avatars, and the rules laying them out. Other sets fall back on it.

window.skinSet<PivotalSkins>();

Member Function Documentation

◆ defaultTheme()

const Theme & psychic_ui::PivotalSkins::defaultTheme ( ) const
nodiscardoverridevirtual

The theme the set ships with, for a system that doesn't say whether it is light or dark

Implements psychic_ui::SkinSet.

◆ lightTheme()

const Theme & psychic_ui::PivotalSkins::lightTheme ( ) const
nodiscardoverridevirtual

The set's theme for a light system: its default theme unless it has a light one

Reimplemented from psychic_ui::SkinSet.

◆ load()

void psychic_ui::PivotalSkins::load ( StyleManager * manager)
overridevirtual

◆ name()

std::string_view psychic_ui::PivotalSkins::name ( ) const
nodiscardoverridevirtual

Implements psychic_ui::SkinSet.

◆ registerSkins()

void psychic_ui::PivotalSkins::registerSkins ( SkinRegistry & skins) const
overridevirtual

Implements psychic_ui::SkinSet.

◆ themes()

std::vector< const Theme * > psychic_ui::PivotalSkins::themes ( ) const
nodiscardoverridevirtual

The themes made for the set, as a picker lists them: its light, dark and default themes unless it says more

Reimplemented from psychic_ui::SkinSet.


The documentation for this class was generated from the following files: