luna engine
software engine
Loading...
Searching...
No Matches
luna::buttonComponent Struct Reference

#include <baseComponents.h>

Collaboration diagram for luna::buttonComponent:

Public Member Functions

 buttonComponent ()=default
 
 buttonComponent (const buttonComponent &)=default
 

Public Attributes

ref< renderer::texturenormalTexture
 
ref< renderer::texturehoverTexture
 
ref< renderer::texturepressedTexture
 
std::string normalFilePath
 
std::string hoverFilePath
 
std::string pressedFilePath
 
bool hover = 0
 
bool pressed = 0
 
bool showInEditor = true
 

Constructor & Destructor Documentation

◆ buttonComponent() [1/2]

luna::buttonComponent::buttonComponent ( )
default

◆ buttonComponent() [2/2]

luna::buttonComponent::buttonComponent ( const buttonComponent )
default

Member Data Documentation

◆ hover

bool luna::buttonComponent::hover = 0

◆ hoverFilePath

std::string luna::buttonComponent::hoverFilePath

◆ hoverTexture

ref<renderer::texture> luna::buttonComponent::hoverTexture

◆ normalFilePath

std::string luna::buttonComponent::normalFilePath

◆ normalTexture

ref<renderer::texture> luna::buttonComponent::normalTexture

◆ pressed

bool luna::buttonComponent::pressed = 0

◆ pressedFilePath

std::string luna::buttonComponent::pressedFilePath

◆ pressedTexture

ref<renderer::texture> luna::buttonComponent::pressedTexture

◆ showInEditor

bool luna::buttonComponent::showInEditor = true

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