Minetest  5.4.0
GUIBackgroundImage Class Reference

#include <guiBackgroundImage.h>

+ Inheritance diagram for GUIBackgroundImage:
+ Collaboration diagram for GUIBackgroundImage:

Public Member Functions

 GUIBackgroundImage (gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id, const core::rect< s32 > &rectangle, const std::string &name, const core::rect< s32 > &middle, ISimpleTextureSource *tsrc, bool autoclip)
 
virtual void draw () override
 

Private Attributes

std::string m_name
 
core::rect< s32 > m_middle
 
ISimpleTextureSourcem_tsrc
 
bool m_autoclip
 

Constructor & Destructor Documentation

◆ GUIBackgroundImage()

GUIBackgroundImage::GUIBackgroundImage ( gui::IGUIEnvironment *  env,
gui::IGUIElement *  parent,
s32  id,
const core::rect< s32 > &  rectangle,
const std::string &  name,
const core::rect< s32 > &  middle,
ISimpleTextureSource tsrc,
bool  autoclip 
)

Member Function Documentation

◆ draw()

void GUIBackgroundImage::draw ( )
overridevirtual

References draw2DImage9Slice(), draw2DImageFilterScaled(), errorstream, ISimpleTextureSource::getTexture(), m_autoclip, m_middle, m_name, and m_tsrc.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_autoclip

bool GUIBackgroundImage::m_autoclip
private

Referenced by draw().

◆ m_middle

core::rect<s32> GUIBackgroundImage::m_middle
private

Referenced by draw().

◆ m_name

std::string GUIBackgroundImage::m_name
private

Referenced by draw().

◆ m_tsrc

ISimpleTextureSource* GUIBackgroundImage::m_tsrc
private

Referenced by draw().


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