Simple GUI Library
|
Public Member Functions | |
ButtonPlaneSkin (Sgl::Button *button) | |
Public Member Functions inherited from Sgl::DefaultSkins::ButtonBaseSkin | |
ButtonBaseSkin (Sgl::Button *button, const StaticStyle *staticStyle, const InteractionStyle *idleStyle, const InteractionStyle *hoveredStyle, const InteractionStyle *pressedStyle) | |
ButtonBaseSkin (const StaticStyle *staticStyle, const InteractionStyle *idleStyle, const InteractionStyle *hoveredStyle, const InteractionStyle *pressedStyle) | |
virtual void | dispose () override |
Should be called by Control when this skin is replaced. More... | |
virtual void | attach (Button *button) override |
virtual void | prerenderControl () override |
virtual const Control * | getControl () const override |
virtual Control * | getModifiableControl () override |
virtual int32_t | computePrefHeight (int32_t width=-1) const override |
virtual int32_t | computePrefWidth (int32_t height=-1) const override |
virtual void | layoutChildren () override |
void | applyInteractionStyle (InteractionStyle::Type type) |
Public Member Functions inherited from Sgl::Skin | |
virtual Component * | getHitComponent (int32_t x, int32_t y) |
virtual int32_t | computeMinHeight (int32_t width=-1) const |
virtual int32_t | computeMinWidth (int32_t height=-1) const |
virtual int32_t | computeMaxHeight (int32_t width=-1) const |
virtual int32_t | computeMaxWidth (int32_t height=-1) const |
Additional Inherited Members | |
Protected Member Functions inherited from Sgl::DefaultSkins::ButtonBaseSkin | |
int32_t | getMargin () const |
void | applyStaticStyle () |
Protected Attributes inherited from Sgl::DefaultSkins::ButtonBaseSkin | |
const StaticStyle * | m_StaticStyle = nullptr |
const InteractionStyle * | m_IdleStyle = nullptr |
const InteractionStyle * | m_HoveredStyle = nullptr |
const InteractionStyle * | m_PressedStyle = nullptr |
Sgl::Button * | m_Button = nullptr |
ButtonBaseSkinEventListener * | m_Handler = nullptr |
Sgl::Text | m_Text |
Sgl::ImageView | m_Icon |
Definition at line 119 of file default_skins.h.
Sgl::DefaultSkins::ButtonPlaneSkin::ButtonPlaneSkin | ( | ) |
Definition at line 271 of file default_skins.cpp.
Sgl::DefaultSkins::ButtonPlaneSkin::ButtonPlaneSkin | ( | Sgl::Button * | button | ) |
Definition at line 274 of file default_skins.cpp.