Simple GUI Library
Sgl::DefaultSkins::ScrollPaneSkin Class Reference
Inheritance diagram for Sgl::DefaultSkins::ScrollPaneSkin:
Collaboration diagram for Sgl::DefaultSkins::ScrollPaneSkin:

Public Member Functions

 ScrollPaneSkin (ScrollPane *scrollPane)
 
virtual void dispose () override
 Should be called by Control when this skin is replaced. More...
 
virtual void attach (ScrollPane *scrollPane) override
 
virtual ComponentgetHitComponent (int32_t x, int32_t y) override
 
virtual void prerenderControl () override
 
virtual const ControlgetControl () const override
 
virtual ControlgetModifiableControl () override
 
virtual int32_t computePrefWidth (int32_t height=-1) const override
 
virtual int32_t computePrefHeight (int32_t width=-1) const override
 
virtual void layoutChildren () override
 
- Public Member Functions inherited from Sgl::Skin
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
 

Detailed Description

Definition at line 284 of file default_skins.h.

Constructor & Destructor Documentation

◆ ScrollPaneSkin()

Sgl::DefaultSkins::ScrollPaneSkin::ScrollPaneSkin ( ScrollPane scrollPane)

Definition at line 756 of file default_skins.cpp.

Member Function Documentation

◆ attach()

void Sgl::DefaultSkins::ScrollPaneSkin::attach ( ScrollPane scrollPane)
overridevirtual

Implements Sgl::BaseSkin< ScrollPane >.

Definition at line 773 of file default_skins.cpp.

◆ computePrefHeight()

int32_t Sgl::DefaultSkins::ScrollPaneSkin::computePrefHeight ( int32_t  width = -1) const
overridevirtual

Reimplemented from Sgl::Skin.

Definition at line 838 of file default_skins.cpp.

◆ computePrefWidth()

int32_t Sgl::DefaultSkins::ScrollPaneSkin::computePrefWidth ( int32_t  height = -1) const
overridevirtual

Reimplemented from Sgl::Skin.

Definition at line 832 of file default_skins.cpp.

◆ dispose()

void Sgl::DefaultSkins::ScrollPaneSkin::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 768 of file default_skins.cpp.

◆ getControl()

const Control * Sgl::DefaultSkins::ScrollPaneSkin::getControl ( ) const
overridevirtual

Implements Sgl::Skin.

Definition at line 829 of file default_skins.cpp.

◆ getHitComponent()

Component * Sgl::DefaultSkins::ScrollPaneSkin::getHitComponent ( int32_t  x,
int32_t  y 
)
overridevirtual

Reimplemented from Sgl::Skin.

Definition at line 784 of file default_skins.cpp.

◆ getModifiableControl()

Control * Sgl::DefaultSkins::ScrollPaneSkin::getModifiableControl ( )
overridevirtual

Implements Sgl::Skin.

Definition at line 830 of file default_skins.cpp.

◆ layoutChildren()

void Sgl::DefaultSkins::ScrollPaneSkin::layoutChildren ( )
overridevirtual

Reimplemented from Sgl::Skin.

Definition at line 844 of file default_skins.cpp.

◆ prerenderControl()

void Sgl::DefaultSkins::ScrollPaneSkin::prerenderControl ( )
overridevirtual

Reimplemented from Sgl::Skin.

Definition at line 813 of file default_skins.cpp.


The documentation for this class was generated from the following files: