Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
CGUIString::TextChunk::Tag Struct Reference

A tag looks like this "Hello [B]there[/B] little". More...

#include <GUItext.h>

Classes

struct  TagAttribute
 

Public Types

enum  TagType {
  TAG_B, TAG_I, TAG_FONT, TAG_SIZE,
  TAG_COLOR, TAG_IMGLEFT, TAG_IMGRIGHT, TAG_ICON
}
 Tag Type. More...
 

Public Member Functions

bool SetTagType (const CStr &tagtype)
 Set tag from string. More...
 

Public Attributes

TagType m_TagType
 In [B=Hello][/B] m_TagType is TAG_B. More...
 
std::string m_TagValue
 In [B=Hello][/B] m_TagValue is 'Hello'. More...
 
std::vector< TagAttributem_TagAttributes
 Some tags need an additional attributes. More...
 

Detailed Description

A tag looks like this "Hello [B]there[/B] little".

Definition at line 189 of file GUItext.h.

Member Enumeration Documentation

enum CGUIString::TextChunk::Tag::TagType

Tag Type.

Enumerator
TAG_B 
TAG_I 
TAG_FONT 
TAG_SIZE 
TAG_COLOR 
TAG_IMGLEFT 
TAG_IMGRIGHT 
TAG_ICON 

Definition at line 194 of file GUItext.h.

Member Function Documentation

bool CGUIString::TextChunk::Tag::SetTagType ( const CStr &  tagtype)

Set tag from string.

Parameters
tagtypeTagType by string, like 'IMG' for [IMG]
Returns
True if m_TagType was set.

Definition at line 266 of file GUItext.cpp.

Member Data Documentation

std::vector<TagAttribute> CGUIString::TextChunk::Tag::m_TagAttributes

Some tags need an additional attributes.

Definition at line 235 of file GUItext.h.

TagType CGUIString::TextChunk::Tag::m_TagType

In [B=Hello][/B] m_TagType is TAG_B.

Definition at line 224 of file GUItext.h.

std::string CGUIString::TextChunk::Tag::m_TagValue

In [B=Hello][/B] m_TagValue is 'Hello'.

Definition at line 230 of file GUItext.h.


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