Added start/stop keys.

Added more extensive download status information where only tracker
status used to be.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@279 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-15 21:59:35 +00:00
parent f348196f2e
commit 46120cbb30
16 changed files with 182 additions and 71 deletions
+2 -3
View File
@@ -1,6 +1,7 @@
#include "config.h"
#include "canvas.h"
#include "utils.h"
#include "window_download_list.h"
namespace display {
@@ -70,9 +71,7 @@ WindowDownloadList::redraw() {
(double)itr->get_download().get_rate_down() / 1024.0,
(double)itr->get_download().get_bytes_up() / (double)(1 << 20));
m_canvas->print(0, pos++, "%c Tracker: %s",
itr == *m_focus ? '*' : ' ',
itr->get_download().is_tracker_busy() ? "Connecting" : itr->get_tracker_msg().c_str());
m_canvas->print(0, pos++, "%c %s", itr == *m_focus ? '*' : ' ', print_download_status(&*itr).c_str());
++itr;
}