Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
GUIBox Class Reference

#include <guiBox.h>

+ Inheritance diagram for GUIBox:
+ Collaboration diagram for GUIBox:

Public Member Functions

 GUIBox (gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id, const core::rect< s32 > &rectangle, const std::array< video::SColor, 4 > &colors, const std::array< video::SColor, 4 > &bordercolors, const std::array< s32, 4 > &borderwidths)
 
virtual void draw () override
 

Private Attributes

std::array< video::SColor, 4 > m_colors
 
std::array< video::SColor, 4 > m_bordercolors
 
std::array< s32, 4 > m_borderwidths
 

Constructor & Destructor Documentation

◆ GUIBox()

GUIBox::GUIBox ( gui::IGUIEnvironment * env,
gui::IGUIElement * parent,
s32 id,
const core::rect< s32 > & rectangle,
const std::array< video::SColor, 4 > & colors,
const std::array< video::SColor, 4 > & bordercolors,
const std::array< s32, 4 > & borderwidths )

Member Function Documentation

◆ draw()

void GUIBox::draw ( )
overridevirtual

Member Data Documentation

◆ m_bordercolors

std::array<video::SColor, 4> GUIBox::m_bordercolors
private

Referenced by draw().

◆ m_borderwidths

std::array<s32, 4> GUIBox::m_borderwidths
private

Referenced by draw().

◆ m_colors

std::array<video::SColor, 4> GUIBox::m_colors
private

Referenced by draw().


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