[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r3211 - trunk/pingus/src
From: |
grumbel at BerliOS |
Subject: |
[Pingus-CVS] r3211 - trunk/pingus/src |
Date: |
Fri, 21 Sep 2007 22:42:30 +0200 |
Author: grumbel
Date: 2007-09-21 22:42:30 +0200 (Fri, 21 Sep 2007)
New Revision: 3211
Modified:
trunk/pingus/src/fps_counter.cpp
Log:
- changed fps counter position
Modified: trunk/pingus/src/fps_counter.cpp
===================================================================
--- trunk/pingus/src/fps_counter.cpp 2007-09-21 20:30:11 UTC (rev 3210)
+++ trunk/pingus/src/fps_counter.cpp 2007-09-21 20:42:30 UTC (rev 3211)
@@ -59,20 +59,14 @@
if (odd_frame)
{
- font.draw(Display::get_width(),
- Display::get_height() - (2 * font.get_height()),
- "o");
-
+ font.draw(origin_center, Display::get_width()/2, 34, fps_string);
odd_frame = false;
}
else
{
+ font.draw(origin_center, Display::get_width()/2, 34, "+ " +
std::string(fps_string) + " +");
odd_frame = true;
}
-
- font.draw(Display::get_width() - 100,
- Display::get_height() - font.get_height(),
- fps_string);
}
void
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r3211 - trunk/pingus/src,
grumbel at BerliOS <=