Alot of UI work, resize fixed.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@253 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-04 19:50:59 +00:00
parent bd7849199c
commit e02974571a
15 changed files with 406 additions and 10 deletions
+47
View File
@@ -0,0 +1,47 @@
#ifndef RTORRENT_UI_DOWNLOAD_LIST_H
#define RTORRENT_UI_DOWNLOAD_LIST_H
namespace display {
class WindowTitle;
class WindowDownloadList;
}
namespace ui {
class Control;
class Download;
class DownloadList {
public:
typedef display::WindowDownloadList WList;
typedef display::WindowTitle WTitle;
// We own 'window'.
DownloadList(core::DownloadList* l, Control* c);
~DownloadList();
WList& get_window() { return *m_window; }
input::Bindings& get_bindings() { return *m_bindings; }
void activate();
void disable();
private:
void receive_next();
void receive_prev();
void receive_view_download();
void receive_exit_download();
WList* m_window;
WTitle* m_title;
Download* m_download;
Control* m_control;
input::Bindings* m_bindings;
};
}
#endif