MxEngine
Public Member Functions | Public Attributes | List of all members
MxEngine::GUI::Indent Struct Reference

#include <Layout.h>

Public Member Functions

 Indent (float indent)
 
 ~Indent ()
 

Public Attributes

float indent
 

Detailed Description

Indent is a special object which is created on stack to push extra element offset on its destruction offset is popped, resulting in a tree-like structure of GUI elements

Constructor & Destructor Documentation

§ Indent()

MxEngine::GUI::Indent::Indent ( float  indent)
inline

construct Indent object, adding indent to GUI elements

§ ~Indent()

MxEngine::GUI::Indent::~Indent ( )
inline

destroys Indent object, removing indent from GUI elements

Member Data Documentation

§ indent

float MxEngine::GUI::Indent::indent

offset to be popped on destruction


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