Added a method to rasterfont, to parse strings for newlines. Fixes the statistics overlay in opengl plugin.

The string stuff is somewhat WIP, as I want to add support for TAB character handling (and maybe others).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@156 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
gigaherz
2008-08-08 22:04:02 +00:00
parent 627695c667
commit a1f48fee94
3 changed files with 42 additions and 2 deletions

View File

@ -34,6 +34,8 @@ public:
// and the happy helper functions
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 bbHeight);
};
#endif