vegastrike  0.5.1.r1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RText Class Reference

#include <rendertext.h>

Inheritance diagram for RText:
commandI mmoc

Public Member Functions

 RText ()
 
virtual ~RText ()
 
std::string getcurcommand ()
 
int text_width (char *str)
 
void draw_text (std::string &str, float left, float top, int gl_num)
 
void renderconsole ()
 
void conline (std::string &sf, bool highlight)
 
void conoutf (char *)
 
virtual void conoutf (std::string &s, int a=0, int b=0, int c=0)
 
void saycommand (const char *init)
 
void ConsoleKeyboardI (int code, bool isdown)
 
void conoutn (std::string &in, int a, int b, int c)
 

Detailed Description

Definition at line 5 of file rendertext.h.

Constructor & Destructor Documentation

RText::RText ( )

Definition at line 38 of file rendertext.cpp.

RText::~RText ( )
virtual

Definition at line 51 of file rendertext.cpp.

Member Function Documentation

void RText::conline ( std::string &  sf,
bool  highlight 
)

Definition at line 117 of file rendertext.cpp.

void RText::conoutf ( char *  in)

Definition at line 140 of file rendertext.cpp.

virtual void RText::conoutf ( std::string &  s,
int  a = 0,
int  b = 0,
int  c = 0 
)
virtual

Reimplemented in mmoc.

void RText::conoutn ( std::string &  in,
int  a,
int  b,
int  c 
)

Definition at line 191 of file rendertext.cpp.

void RText::ConsoleKeyboardI ( int  code,
bool  isdown 
)

Definition at line 217 of file rendertext.cpp.

void RText::draw_text ( std::string &  str,
float  left,
float  top,
int  gl_num 
)

Definition at line 63 of file rendertext.cpp.

string RText::getcurcommand ( )

Definition at line 275 of file rendertext.cpp.

void RText::renderconsole ( )

Definition at line 77 of file rendertext.cpp.

void RText::saycommand ( const char *  init)

Definition at line 213 of file rendertext.cpp.

int RText::text_width ( char *  str)

Definition at line 53 of file rendertext.cpp.


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