Definition at line 38 of file default_skins.h.
◆ ButtonBaseSkin() [1/2]
◆ ButtonBaseSkin() [2/2]
◆ applyInteractionStyle()
void Sgl::DefaultSkins::ButtonBaseSkin::applyInteractionStyle |
( |
InteractionStyle::Type |
type | ) |
|
◆ applyStaticStyle()
void Sgl::DefaultSkins::ButtonBaseSkin::applyStaticStyle |
( |
| ) |
|
|
protected |
◆ attach()
void Sgl::DefaultSkins::ButtonBaseSkin::attach |
( |
Button * |
button | ) |
|
|
overridevirtual |
◆ computePrefHeight()
int32_t Sgl::DefaultSkins::ButtonBaseSkin::computePrefHeight |
( |
int32_t |
width = -1 | ) |
const |
|
overridevirtual |
◆ computePrefWidth()
int32_t Sgl::DefaultSkins::ButtonBaseSkin::computePrefWidth |
( |
int32_t |
height = -1 | ) |
const |
|
overridevirtual |
◆ dispose()
void Sgl::DefaultSkins::ButtonBaseSkin::dispose |
( |
| ) |
|
|
overridevirtual |
Should be called by Control when this skin is replaced.
Must do things like removing its Components from the Control's children list, detaching its Listeners from the Control's dispatcher.
Implements Sgl::Skin.
Definition at line 137 of file default_skins.cpp.
◆ getControl()
const Control * Sgl::DefaultSkins::ButtonBaseSkin::getControl |
( |
| ) |
const |
|
overridevirtual |
◆ getMargin()
int32_t Sgl::DefaultSkins::ButtonBaseSkin::getMargin |
( |
| ) |
const |
|
protected |
◆ getModifiableControl()
Control * Sgl::DefaultSkins::ButtonBaseSkin::getModifiableControl |
( |
| ) |
|
|
overridevirtual |
◆ layoutChildren()
void Sgl::DefaultSkins::ButtonBaseSkin::layoutChildren |
( |
| ) |
|
|
overridevirtual |
◆ prerenderControl()
void Sgl::DefaultSkins::ButtonBaseSkin::prerenderControl |
( |
| ) |
|
|
overridevirtual |
◆ m_Button
Sgl::Button* Sgl::DefaultSkins::ButtonBaseSkin::m_Button = nullptr |
|
protected |
◆ m_Handler
◆ m_HoveredStyle
const InteractionStyle* Sgl::DefaultSkins::ButtonBaseSkin::m_HoveredStyle = nullptr |
|
protected |
◆ m_Icon
◆ m_IdleStyle
const InteractionStyle* Sgl::DefaultSkins::ButtonBaseSkin::m_IdleStyle = nullptr |
|
protected |
◆ m_PressedStyle
const InteractionStyle* Sgl::DefaultSkins::ButtonBaseSkin::m_PressedStyle = nullptr |
|
protected |
◆ m_StaticStyle
const StaticStyle* Sgl::DefaultSkins::ButtonBaseSkin::m_StaticStyle = nullptr |
|
protected |
◆ m_Text
Sgl::Text Sgl::DefaultSkins::ButtonBaseSkin::m_Text |
|
protected |
The documentation for this class was generated from the following files: