adjust text posn

This commit is contained in:
cxgeorge 2001-05-03 05:28:15 +00:00
parent c3e650dcb1
commit 9fea5169d1
1 changed files with 3 additions and 1 deletions

View File

@ -734,7 +734,9 @@ render_frame(const AllAttributesWrapper &initial_state) {
sprintf(fps_msg, "%7.02f fps", _current_fps);
SetTextColor(hDC, RGB(255,255,0) );
SetBkMode(hDC, TRANSPARENT );
TextOutA(hDC, (_view_rect.right-_view_rect.left)-85, 0, fps_msg, strlen(fps_msg));
// 75,8 seem to work well w/default font
TextOutA(hDC, (_view_rect.right-_view_rect.left)-75, 8, fps_msg, strlen(fps_msg));
_back->ReleaseDC(hDC);
}