Shader Tool
Small shader visualiser.
st::CTextBox Class Reference

#include <CNode.hpp>

Inheritance diagram for st::CTextBox:
st::CNode

Public Member Functions

 CTextBox (string caption, int width=0, int height=0)
 
- Public Member Functions inherited from st::CNode
 CNode ()=default
 
Widget * get ()
 
void addChild (string name, shared_ptr< CNode > child)
 
void addCallback (string name, void(*function)())
 
void setGroupLayout ()
 
void setBoxLayout (string str_orientation, string str_alignment, int margin, int spacing)
 

Additional Inherited Members

- Protected Attributes inherited from st::CNode
Widget * widget
 
shared_ptr< CNodeparent
 
map< string, void(*)() > callbacks
 

Constructor & Destructor Documentation

◆ CTextBox()

st::CTextBox::CTextBox ( string  caption,
int  width = 0,
int  height = 0 
)
inline

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