31 #include <objgfx40/objgfx40.h>
32 #include <objgfx40/ogFont.h>
37 static int screenRow = 0x0;
38 static int screenCol = 0x1;
50 while (
'\0' != s[i]) {
61 bufHeight = ((screen->ogGetMaxY() + 1) / font->GetHeight()) - 1;
62 if (screenRow < bufHeight)
65 screen->ogCopyBuf(0, 0, *screen, 0, font->GetHeight(), screen->ogGetMaxX(), screen->ogGetMaxY());
66 screen->ogFillRect(0, bufHeight * font->GetHeight() + 1, screen->ogGetMaxX(), screen->ogGetMaxY(), screen->ogPack(122, 140, 163));
70 font->PutChar(*screen, screenCol * font->GetWidth(), screenRow * font->GetHeight(), s[i]);