Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <text_area.h>
Public Member Functions | |
TextAreaItem (const char *new_name="blank", const char *desc="", TextAreaItem *parent_class=0) | |
~TextAreaItem (void) | |
TextAreaItem * | FindChild (const char *search_name) |
TextAreaItem * | FindCount (int count, int cur) |
void | AddChild (const char *new_name, const char *desc, const GFXColor col=GFXColor(1, 1, 1, 1)) |
void | ExpandTree (void) |
void | Sort (void) |
Public Attributes | |
GFXColor | col |
char * | name |
char * | description |
int | child_count_multiplier |
int | child_count |
TextAreaItem ** | child |
TextAreaItem * | parent |
Definition at line 220 of file text_area.h.
TextAreaItem::TextAreaItem | ( | const char * | new_name = "blank" , |
const char * | desc = "" , |
||
TextAreaItem * | parent_class = 0 |
||
) |
Definition at line 579 of file text_area.cpp.
References child, child_count, child_count_multiplier, description, and name.
Referenced by AddChild().
TextAreaItem::~TextAreaItem | ( | void | ) |
Definition at line 596 of file text_area.cpp.
References child, child_count, description, and name.
void TextAreaItem::AddChild | ( | const char * | new_name, |
const char * | desc, | ||
const GFXColor | col = GFXColor( 1, 1, 1, 1 ) |
||
) |
Definition at line 651 of file text_area.cpp.
References child, child_count, child_count_multiplier, col, and TextAreaItem().
Referenced by TextArea::AddTextItem().
void TextAreaItem::ExpandTree | ( | void | ) |
TextAreaItem * TextAreaItem::FindChild | ( | const char * | search_name) |
Definition at line 606 of file text_area.cpp.
References child, child_count, FindChild(), and name.
Referenced by TextArea::AddTextItem(), TextArea::ChangeTextItem(), TextArea::ChangeTextItemColor(), and FindChild().
TextAreaItem * TextAreaItem::FindCount | ( | int | count, |
int | cur | ||
) |
Definition at line 635 of file text_area.cpp.
References child, child_count, and FindCount().
Referenced by FindCount().
void TextAreaItem::Sort | ( | void | ) |
Definition at line 620 of file text_area.cpp.
References child, child_count, description, and Sort().
Referenced by Sort(), and TextArea::SortList().
TextAreaItem** TextAreaItem::child |
Definition at line 243 of file text_area.h.
Referenced by AddChild(), FindChild(), FindCount(), Sort(), TextAreaItem(), and ~TextAreaItem().
int TextAreaItem::child_count |
Definition at line 242 of file text_area.h.
Referenced by AddChild(), FindChild(), FindCount(), Sort(), TextAreaItem(), and ~TextAreaItem().
int TextAreaItem::child_count_multiplier |
Definition at line 241 of file text_area.h.
Referenced by AddChild(), and TextAreaItem().
GFXColor TextAreaItem::col |
Definition at line 236 of file text_area.h.
Referenced by AddChild(), and TextArea::ChangeTextItemColor().
char* TextAreaItem::description |
Definition at line 238 of file text_area.h.
Referenced by TextArea::ChangeTextItem(), Sort(), TextAreaItem(), and ~TextAreaItem().
char* TextAreaItem::name |
Definition at line 237 of file text_area.h.
Referenced by FindChild(), TextAreaItem(), and ~TextAreaItem().
TextAreaItem* TextAreaItem::parent |
Definition at line 245 of file text_area.h.