Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <rendertext.h>
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) |
Definition at line 5 of file rendertext.h.
RText::RText | ( | ) |
|
virtual |
Definition at line 51 of file rendertext.cpp.
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.
Referenced by commandI::callMenu(), mmoc::connectTo(), mmoc::conoutf(), conoutn(), commandI::dummy(), commandI::fexecute(), mmoc::ParseRemoteInput(), commandI::pcommands(), commandI::prompt(), ShipCommands::pymenu(), and startThread().
Reimplemented in mmoc.
Definition at line 191 of file rendertext.cpp.
Definition at line 217 of file rendertext.cpp.
References k, WSK_BACKSPACE, WSK_LEFT, and WSK_RETURN.
Referenced by commandI::keypress().
Definition at line 63 of file rendertext.cpp.
References StarSystemGent::background, TextPlane::Draw(), f, float_to_int(), TextPlane::SetCharSize(), TextPlane::SetPos(), x, and y.
Referenced by renderconsole().
string RText::getcurcommand | ( | ) |
Definition at line 275 of file rendertext.cpp.
Referenced by commandI::keypress(), and renderconsole().
void RText::renderconsole | ( | ) |
void RText::saycommand | ( | const char * | init) |
int RText::text_width | ( | char * | str) |
Definition at line 53 of file rendertext.cpp.