Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

BC_Title Class Reference

#include <bctitle.h>

Inheritance diagram for BC_Title:

BC_SubWindow BC_WindowBase BC_RelocatableWidget List of all members.

Public Member Functions

 BC_Title (int x, int y, char *text, int font=MEDIUMFONT, int color=-1, int centered=0, int fixed_w=0)
virtual ~BC_Title ()
int initialize ()
int resize (int w, int h)
int reposition (int x, int y)
int set_color (int color)
int update (char *text)
void update (float value)
char * get_text ()

Static Public Member Functions

static int calculate_w (BC_WindowBase *gui, char *text, int font=MEDIUMFONT)
static int calculate_h (BC_WindowBase *gui, char *text, int font=MEDIUMFONT)

Private Member Functions

int draw ()

Static Private Member Functions

static void get_size (BC_WindowBase *gui, int font, char *text, int fixed_w, int &w, int &h)

Private Attributes

char text [BCTEXTLEN]
int color
int font
int centered
int fixed_w

Detailed Description

Definition at line 8 of file bctitle.h.

Constructor & Destructor Documentation

BC_Title::BC_Title int  x,
int  y,
char *  text,
int  font = MEDIUMFONT,
int  color = -1,
int  centered = 0,
int  fixed_w = 0

Definition at line 7 of file bctitle.C.

BC_Title::~BC_Title  )  [virtual]

Definition at line 26 of file bctitle.C.

Member Function Documentation

int BC_Title::calculate_h BC_WindowBase gui,
char *  text,
int  font = MEDIUMFONT

Definition at line 150 of file bctitle.C.

int BC_Title::calculate_w BC_WindowBase gui,
char *  text,
int  font = MEDIUMFONT

Definition at line 143 of file bctitle.C.

int BC_Title::draw  )  [private]

Definition at line 91 of file bctitle.C.

void BC_Title::get_size BC_WindowBase gui,
int  font,
char *  text,
int  fixed_w,
int &  w,
int &  h
[static, private]

Definition at line 159 of file bctitle.C.

char * BC_Title::get_text  ) 

Definition at line 86 of file bctitle.C.

int BC_Title::initialize  )  [virtual]

Reimplemented from BC_SubWindow.

Definition at line 31 of file bctitle.C.

int BC_Title::reposition int  x,
int  y

Definition at line 57 of file bctitle.C.

int BC_Title::resize int  w,
int  h

Definition at line 50 of file bctitle.C.

int BC_Title::set_color int  color  ) 

Definition at line 43 of file bctitle.C.

void BC_Title::update float  value  ) 

Definition at line 79 of file bctitle.C.

int BC_Title::update char *  text  ) 

Definition at line 65 of file bctitle.C.

Member Data Documentation

int BC_Title::centered [private]

Definition at line 37 of file bctitle.h.

int BC_Title::color [private]

Definition at line 35 of file bctitle.h.

int BC_Title::fixed_w [private]

Definition at line 39 of file bctitle.h.

int BC_Title::font [private]

Definition at line 36 of file bctitle.h.

char BC_Title::text[BCTEXTLEN] [private]

Definition at line 34 of file bctitle.h.

The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:26:38 2006 for Guicast-svn by  doxygen 1.4.4