psychic-ui 0.0.0
Loading...
Searching...
No Matches
psychic_ui::SkinState Struct Reference

#include <SkinState.hpp>

Static Public Member Functions

static SkinState of (const Div *component)

Public Attributes

bool hover {false}
bool active {false}
bool focus {false}
bool disabled {false}

Detailed Description

The interaction state a skin paints, read from its component. Colors and sizes per state come from the computed style instead (rules on :hover, :active, :focus, :disabled).


The documentation for this struct was generated from the following file: