Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
GUIButton::ButtonImage Struct Reference

#include <guiButton.h>

Public Member Functions

 ButtonImage ()=default
 
 ButtonImage (const ButtonImage &other)
 
 ~ButtonImage ()
 
ButtonImageoperator= (const ButtonImage &other)
 
bool operator== (const ButtonImage &other) const
 

Public Attributes

video::ITexture * Texture = nullptr
 
core::rect< s32 > SourceRect = core::rect<s32>(0,0,0,0)
 

Constructor & Destructor Documentation

◆ ButtonImage() [1/2]

GUIButton::ButtonImage::ButtonImage ( )
default

◆ ButtonImage() [2/2]

GUIButton::ButtonImage::ButtonImage ( const ButtonImage & other)
inline

◆ ~ButtonImage()

GUIButton::ButtonImage::~ButtonImage ( )
inline

References Texture.

Member Function Documentation

◆ operator=()

ButtonImage & GUIButton::ButtonImage::operator= ( const ButtonImage & other)
inline

References SourceRect, and Texture.

◆ operator==()

bool GUIButton::ButtonImage::operator== ( const ButtonImage & other) const
inline

References SourceRect, and Texture.

Member Data Documentation

◆ SourceRect

core::rect<s32> GUIButton::ButtonImage::SourceRect = core::rect<s32>(0,0,0,0)

Referenced by operator=(), and operator==().

◆ Texture

video::ITexture* GUIButton::ButtonImage::Texture = nullptr

Referenced by ~ButtonImage(), operator=(), and operator==().


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