Focus iterators moved out of Window*.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@254 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-05 20:36:22 +00:00
parent e02974571a
commit ecb2fc7d57
12 changed files with 122 additions and 59 deletions
+11 -1
View File
@@ -14,8 +14,18 @@ WindowStatusbar::WindowStatusbar() :
void
WindowStatusbar::redraw() {
if (Timer::cache() - m_lastDraw < 10000000)
return;
m_lastDraw = Timer::cache();
m_canvas->erase();
m_canvas->print(0, 0, "Loop: %i", ++m_counter);
m_canvas->print(0, 0, "Throttle: %i Listen: %s:%i Handshakes: %i Select: %u",
(int)torrent::get(torrent::THROTTLE_ROOT_CONST_RATE) / 1024,
"",
(int)torrent::get(torrent::LISTEN_PORT),
(int)torrent::get(torrent::HANDSHAKES_TOTAL),
++m_counter);
}
}