* Moved handling of events from DownloadList into ElementDownloadList

and WindowLog.

* Added bindings to input::TextInput and disabled other bindings while
it is active.

* ^K now sets ignore_commands.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@750 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-07-31 00:26:58 +00:00
parent fa5ff92e24
commit 62beb9d9ed
24 changed files with 272 additions and 261 deletions
+1 -24
View File
@@ -100,7 +100,7 @@ public:
void activate_display(Display d);
display::Window* window() { return NULL; }
core::View* current_view();
void slot_open_uri(SlotOpenUri s) { m_slotOpenUri = s; }
@@ -108,30 +108,11 @@ private:
DownloadList(const DownloadList&);
void operator = (const DownloadList&);
void receive_next();
void receive_prev();
void receive_start_download();
void receive_stop_download();
void receive_close_download();
void receive_next_priority();
void receive_prev_priority();
void receive_check_hash();
void receive_ignore_ratio();
void receive_clear_tied();
void receive_view_input(Input type);
void receive_exit_input(Input type);
void receive_download_erased(core::Download* d);
void receive_change_view(const std::string& name);
void task_update();
void setup_keys();
void setup_input();
@@ -140,10 +121,6 @@ private:
ElementBase* m_uiArray[DISPLAY_MAX_SIZE];
WLog* m_windowLog;
core::View* m_view;
rak::priority_item m_taskUpdate;
SlotOpenUri m_slotOpenUri;
};