Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <hud.h>
Public Member Functions | |
TextPlane (const struct GFXColor &col=GFXColor(1, 1, 1, 1), const struct GFXColor &bgcol=GFXColor(0, 0, 0, 0)) | |
~TextPlane () | |
void | SetPos (float x, float y) |
void | SetCharSize (float x, float y) |
void | GetCharSize (float &x, float &y) |
void | GetPos (float &y, float &x) |
void | SetSize (float x, float y) |
void | GetSize (float &x, float &y) |
int | Draw (int offset=0) |
int | Draw (const std::string &text, int offset=0, bool start_one_line_lower=false, bool force_highquality=false, bool automatte=false) |
void | SetText (const std::string &newText) |
std::string | GetText () const |
Public Attributes | |
GFXColor | col |
GFXColor | bgcol |
Definition at line 131 of file hud.cpp.
Referenced by bootstrap_draw(), VDU::Draw(), GameCockpit::Draw(), BaseInterface::Room::Draw(), BaseInterface::Draw(), RText::draw_text(), NavigationSystem::DrawButton(), drawdescription(), NavigationSystem::DrawGalaxy(), NavigationSystem::DrawMission(), DrawNodeDescription(), DrawObjectivesTextPlane(), and NavigationSystem::DrawSystem().
int TextPlane::Draw | ( | const std::string & | text, |
int | offset = 0 , |
||
bool | start_one_line_lower = false , |
||
bool | force_highquality = false , |
||
bool | automatte = false |
||
) |
Definition at line 57 of file hud.h.
Referenced by BaseInterface::BaseInterface(), BaseInterface::Room::BaseText::BaseText(), VDU::Draw(), GameCockpit::Draw(), and BaseInterface::Room::Draw().
|
inline |
Definition at line 87 of file hud.h.
Referenced by BaseInterface::Room::Draw(), and BaseInterface::Draw().
Definition at line 52 of file hud.h.
Referenced by BaseInterface::BaseInterface(), BaseInterface::Room::BaseText::BaseText(), bootstrap_draw(), GameCockpit::Draw(), RText::draw_text(), drawdescription(), NavigationSystem::DrawMission(), and DrawNodeDescription().
Definition at line 47 of file hud.h.
Referenced by BaseInterface::Room::BaseText::BaseText(), bootstrap_draw(), Briefing::Briefing(), VDU::Draw(), GameCockpit::Draw(), BaseInterface::Room::Draw(), BaseInterface::Draw(), RText::draw_text(), NavigationSystem::DrawButton(), drawdescription(), NavigationSystem::DrawGalaxy(), NavigationSystem::DrawMission(), DrawNodeDescription(), NavigationSystem::DrawSystem(), NavigationSystem::ParseFile(), BaseInterface::Room::BaseText::SetPos(), and TextPlane().
Definition at line 67 of file hud.h.
Referenced by BaseInterface::BaseInterface(), BaseInterface::Room::BaseText::BaseText(), Briefing::Briefing(), VDU::Draw(), GameCockpit::Draw(), NavigationSystem::DrawMission(), NavigationSystem::ParseFile(), and BaseInterface::Room::BaseText::SetSize().
|
inline |
Definition at line 83 of file hud.h.
Referenced by BaseInterface::Room::BaseText::BaseText(), Mission::BriefingRender(), BaseInterface::Room::Talk::Click(), GameCockpit::Draw(), BaseInterface::Room::BaseTalk::Draw(), BaseInterface::Room::Draw(), NavigationSystem::DrawButton(), drawdescription(), NavigationSystem::DrawGalaxy(), NavigationSystem::DrawMission(), DrawNodeDescription(), NavigationSystem::DrawSystem(), BaseInterface::GotoLink(), and BaseInterface::Room::BaseText::SetText().
GFXColor TextPlane::bgcol |
Definition at line 44 of file hud.h.
Referenced by VDU::Draw(), BaseInterface::Room::Draw(), BaseInterface::Draw(), NavigationSystem::DrawButton(), drawdescription(), DrawNodeDescription(), DrawObjectivesTextPlane(), NavigationSystem::DrawSystem(), and TextPlane().
GFXColor TextPlane::col |
Definition at line 44 of file hud.h.
Referenced by VDU::Draw(), BaseInterface::Room::Draw(), NavigationSystem::DrawButton(), drawdescription(), NavigationSystem::DrawGalaxy(), NavigationSystem::DrawMission(), DrawNodeDescription(), NavigationSystem::DrawShip(), NavigationSystem::DrawSystem(), and TextPlane().