|
psychic-ui 0.0.0
|
#include <DeskSkins.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 |
P2 Desk: Pivotal as a dense desktop tool that is friendly with touch screens, with Desk Dark and Desk Light (themes/desk.hpp). Flush panes on hairlines, 4 px corners, 26 px rows, right-aligned inspector labels, value-field sliders, square swatches. Its sizes follow the input mode (the style manager's density): the board's desk sizes for a pointer, 40 px rows and controls by touch, and hit slop taking every target to 44 px.
Like Float, it falls back on PivotalSkins for every skin and rule, and only overrides the rules whose look differs (the slider's value field too: rules over RangeSkinBase's parts).
window.skinSet<DeskSkins>();
|
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.