MyGUI  3.2.0
Public Types | Public Member Functions | Static Public Member Functions | Friends
MyGUI::WidgetStyle Struct Reference

#include <MyGUI_WidgetStyle.h>

Public Types

enum  Enum { Child, Popup, Overlapped, MAX }

Public Member Functions

 WidgetStyle ()
 WidgetStyle (Enum _value)
std::string print () const

Static Public Member Functions

static WidgetStyle parse (const std::string &_value)

Friends

bool operator== (WidgetStyle const &a, WidgetStyle const &b)
bool operator!= (WidgetStyle const &a, WidgetStyle const &b)
std::ostream & operator<< (std::ostream &_stream, const WidgetStyle &_value)
std::istream & operator>> (std::istream &_stream, WidgetStyle &_value)

Detailed Description

Definition at line 31 of file MyGUI_WidgetStyle.h.

Member Enumeration Documentation

Enumerator:
Child 

child widget, cropped by parent widget borders, no overlapping (used by default for child widgets)

Popup 

popup widget, have parent widget, but not cropped on its borders

Overlapped 

child widget, cropped by parent widget borders, can overlap (used by default for root widgets)

MAX 

Definition at line 33 of file MyGUI_WidgetStyle.h.

Constructor & Destructor Documentation

MyGUI::WidgetStyle::WidgetStyle ( )
inline

Definition at line 41 of file MyGUI_WidgetStyle.h.

MyGUI::WidgetStyle::WidgetStyle ( Enum  _value)
inline

Definition at line 46 of file MyGUI_WidgetStyle.h.

Member Function Documentation

static WidgetStyle MyGUI::WidgetStyle::parse ( const std::string &  _value)
inlinestatic

Definition at line 51 of file MyGUI_WidgetStyle.h.

std::string MyGUI::WidgetStyle::print ( ) const
inline

Definition at line 90 of file MyGUI_WidgetStyle.h.

Friends And Related Function Documentation

bool operator!= ( WidgetStyle const &  a,
WidgetStyle const &  b 
)
friend

Definition at line 71 of file MyGUI_WidgetStyle.h.

std::ostream& operator<< ( std::ostream &  _stream,
const WidgetStyle _value 
)
friend

Definition at line 76 of file MyGUI_WidgetStyle.h.

bool operator== ( WidgetStyle const &  a,
WidgetStyle const &  b 
)
friend

Definition at line 66 of file MyGUI_WidgetStyle.h.

std::istream& operator>> ( std::istream &  _stream,
WidgetStyle _value 
)
friend

Definition at line 82 of file MyGUI_WidgetStyle.h.


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