cosmetic change: Renamed printStuff to printMultilineText.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@161 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e8c14fe037
commit
61398ea83f
|
@ -369,7 +369,7 @@ void Renderer::ProcessMessages()
|
|||
void Renderer::DrawText(const char* pstr, int left, int top, u32 color)
|
||||
{
|
||||
glColor3f(((color>>16) & 0xff)/255.0f, ((color>>8) & 0xff)/255.0f, (color & 0xff)/255.0f);
|
||||
s_pfont->printStuff(pstr, left * 2.0f / (float)nBackbufferWidth - 1, 1 - top * 2.0f / (float)nBackbufferHeight,0,nBackbufferWidth,nBackbufferHeight);
|
||||
s_pfont->printMultilineText(pstr, left * 2.0f / (float)nBackbufferWidth - 1, 1 - top * 2.0f / (float)nBackbufferHeight,0,nBackbufferWidth,nBackbufferHeight);
|
||||
}
|
||||
|
||||
void Renderer::SetAA(int aa)
|
||||
|
|
|
@ -172,7 +172,7 @@ void RasterFont::printCenteredString(const char *s, double y, int screen_width,
|
|||
printString(s, x, y, z);
|
||||
}
|
||||
|
||||
void RasterFont::printStuff(const char *text, double start_x, double start_y, double z, int bbWidth, int bbHeight)
|
||||
void RasterFont::printMultilineText(const char *text, double start_x, double start_y, double z, int bbWidth, int bbHeight)
|
||||
{
|
||||
double x=start_x;
|
||||
double y=start_y;
|
||||
|
|
|
@ -35,7 +35,7 @@ public:
|
|||
void printString(const char *s, double x, double y, double z=0.0);
|
||||
void printCenteredString(const char *s, double y, int screen_width, double z=0.0);
|
||||
|
||||
void printStuff(const char *text, double x, double y, double z, int bbWidth, int bbHeight);
|
||||
void printMultilineText(const char *text, double x, double y, double z, int bbWidth, int bbHeight);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue