Moved over to a next time based display update.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@320 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-03-03 20:09:04 +00:00
parent b840476527
commit fd0c10d962
16 changed files with 48 additions and 74 deletions
+1 -4
View File
@@ -16,10 +16,7 @@ WindowDownloadList::WindowDownloadList(DList* l, DList::iterator* f) :
void
WindowDownloadList::redraw() {
if (utils::Timer::cache() - m_lastDraw < 1000000)
return;
m_lastDraw = utils::Timer::cache();
m_nextDraw = utils::Timer::cache().round_seconds() + 1000000;
m_canvas->erase();