Krotos Modules 3
Loading...
Searching...
No Matches
krotos::CloseButton Class Reference

A simple, image based Close Button using a drawable with default, hover and selected properties. More...

#include <DrawableButtonHelpers.h>

Inheritance diagram for krotos::CloseButton:

Public Member Functions

 CloseButton ()
 

Private Attributes

std::unique_ptr< Drawable > m_drawableDefault
 
std::unique_ptr< Drawable > m_drawableHover
 
std::unique_ptr< Drawable > m_drawableSelected
 

Detailed Description

A simple, image based Close Button using a drawable with default, hover and selected properties.

TODO This could be generalised to any drawable button function

Constructor & Destructor Documentation

◆ CloseButton()

krotos::CloseButton::CloseButton ( )

Member Data Documentation

◆ m_drawableDefault

std::unique_ptr<Drawable> krotos::CloseButton::m_drawableDefault
private

◆ m_drawableHover

std::unique_ptr<Drawable> krotos::CloseButton::m_drawableHover
private

◆ m_drawableSelected

std::unique_ptr<Drawable> krotos::CloseButton::m_drawableSelected
private

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