|
psychic-ui 0.0.0
|
#include <FloatSkins.hpp>
Public Member Functions | |
| std::string_view | name () const override |
| const Theme & | defaultTheme () const override |
| const Theme & | lightTheme () const override |
| const Theme & | darkTheme () const override |
| std::unique_ptr< SkinSet > | fallback () const override |
| void | registerSkins (SkinRegistry &skins) const override |
| void | load (StyleManager *manager) override |
| Public Member Functions inherited from psychic_ui::SkinSet | |
| const Theme & | theme (ColorScheme scheme) const |
| virtual std::vector< const Theme * > | themes () const |
| bool | hasTheme (const Theme &theme) 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 |
S5 Float, the sample skin set: rounded panels floating over a dotted canvas, gentle two-layer shadows, neutral greys and a violet accent, light first (Float Light, Float Dark).
It shows how little a skin set needs: it falls back on the default set for every skin and rule, and only overrides the rules whose look differs. Most of the change comes from its themes alone (corners, sizes, colors), since the default set's rules are written from the theme.
window.skinSet<FloatSkins>();
|
nodiscardoverridevirtual |
The set's theme for a dark system: its default theme unless it has a dark one
Reimplemented from psychic_ui::SkinSet.
|
nodiscardoverridevirtual |
The theme the set ships with, for a system that doesn't say whether it is light or dark
Implements psychic_ui::SkinSet.
|
nodiscardoverridevirtual |
Where the skins this set lacks come from; the default set has none
Reimplemented from psychic_ui::SkinSet.
|
nodiscardoverridevirtual |
The set's theme for a light system: its default theme unless it has a light one
Reimplemented from psychic_ui::SkinSet.
|
overridevirtual |
Implements psychic_ui::StyleSheet.
|
nodiscardoverridevirtual |
Implements psychic_ui::SkinSet.
|
overridevirtual |
Implements psychic_ui::SkinSet.