My Project
 
Loading...
Searching...
No Matches
IconTitle Class Reference

#include <icontitle.h>

Inheritance diagram for IconTitle:
Collaboration diagram for IconTitle:

Public Member Functions

 IconTitle ()
 
 IconTitle (Item *item)
 
 IconTitle (Image *icon, const std::string &label)
 
void icon (Image *icon)
 
void label (const std::string &label)
 
void label (const std::string &label, int color)
 
void color (int color)
 
void Health (float value)
 

Protected Member Functions

virtual void createChildren ()
 
virtual void layout ()
 

Protected Attributes

Image * imIcon
 
BitmapTextMultiline * tfLabel
 
HealthBarhealth
 

Constructor & Destructor Documentation

◆ IconTitle() [1/3]

IconTitle::IconTitle ( )
Here is the caller graph for this function:

◆ IconTitle() [2/3]

IconTitle::IconTitle ( Item * item)
Here is the call graph for this function:

◆ IconTitle() [3/3]

IconTitle::IconTitle ( Image * icon,
const std::string & label )
Here is the call graph for this function:

Member Function Documentation

◆ color()

void IconTitle::color ( int color)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createChildren()

void IconTitle::createChildren ( )
protectedvirtual
Here is the call graph for this function:

◆ Health()

void IconTitle::Health ( float value)
Here is the call graph for this function:

◆ icon()

void IconTitle::icon ( Image * icon)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ label() [1/2]

void IconTitle::label ( const std::string & label)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ label() [2/2]

void IconTitle::label ( const std::string & label,
int color )
Here is the call graph for this function:

◆ layout()

void IconTitle::layout ( )
protectedvirtual
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ health

HealthBar* IconTitle::health
protected

◆ imIcon

Image* IconTitle::imIcon
protected

◆ tfLabel

BitmapTextMultiline* IconTitle::tfLabel
protected

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