#include <UIRichText.h>
Public Member Functions | |
RichElementImage () | |
virtual | ~RichElementImage () |
bool | init (int tag, const Color3B &color, GLubyte opacity, const char *filePath) |
Public Member Functions inherited from RichElement | |
RichElement () | |
virtual | ~RichElement () |
var | ~RichElement () |
local | ~RichElement () |
bool | init (int tag, const Color3B &color, GLubyte opacity) |
var | init ( var tag, var color, var opacity) |
local | init ( local tag, local color, local opacity) |
Public Member Functions inherited from Ref | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Release the ownership immediately. More... | |
local | release () |
Release the ownership immediately. More... | |
Ref * | autorelease () |
Release the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Static Public Member Functions | |
static RichElementImage * | create (int tag, const Color3B &color, GLubyte opacity, const char *filePath) |
Protected Attributes | |
std::string | _filePath |
Rect | _textureRect |
int | _textureType |
Protected Attributes inherited from RichElement | |
RichElementType | _type |
var | _type |
local | _type |
int | _tag |
var | _tag |
local | _tag |
Color3B | _color |
var | _color |
local | _color |
GLubyte | _opacity |
var | _opacity |
local | _opacity |
Protected Attributes inherited from Ref | |
unsigned int | _referenceCount |
count of references More... | |
Friends | |
class | RichText |
Additional Inherited Members | |
Protected Member Functions inherited from Ref | |
Ref () | |
Constructor. More... | |
Ref () | |
Constructor. More... | |
|
inline |
|
inlinevirtual |
|
static |
bool init | ( | int | tag, |
const Color3B & | color, | ||
GLubyte | opacity, | ||
const char * | filePath | ||
) |
|
friend |
|
protected |
|
protected |
|
protected |