You.i Engine
CYIViewTemplate::Source Class Reference

Detailed Description

Defines information about the sources a view template may have.

#include <import/YiViewTemplate.h>

Public Types

enum  TYPE {
  TYPE_COMPOSITION,
  TYPE_IMAGE,
  TYPE_SOLID,
  TYPE_NULL,
  TYPE_IMAGE_NPATCH,
  TYPE_MASK,
  TYPE_NONE,
  TYPE_SPRITE,
  TYPE_ADJUSTMENT,
  TYPE_FONT
}
 

Public Member Functions

 Source ()
 
const CYIStringGetName () const
 
void SetName (const CYIString &name)
 
TYPE GetSourceType () const
 
void SetSourceType (TYPE eSourceType)
 

Member Enumeration Documentation

Represents the different types of sources that exist.

Enumerator
TYPE_COMPOSITION 

Represents a composition source.

TYPE_IMAGE 

Represents an image source.

TYPE_SOLID 

Represents a solid source.

TYPE_NULL 

Represents a null source.

TYPE_IMAGE_NPATCH 

Represents an image 9-patch source.

TYPE_MASK 

Represents a mask source.

TYPE_NONE 

Represents a source that has no type.

TYPE_SPRITE 

Represents a sprite source.

TYPE_ADJUSTMENT 

Represents an adjustment layer source.

TYPE_FONT 

Represents a font source.

Constructor & Destructor Documentation

CYIViewTemplate::Source::Source ( )

Member Function Documentation

const CYIString& CYIViewTemplate::Source::GetName ( ) const
TYPE CYIViewTemplate::Source::GetSourceType ( ) const
void CYIViewTemplate::Source::SetName ( const CYIString name)
void CYIViewTemplate::Source::SetSourceType ( TYPE  eSourceType)

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