* UI refactoring, added display::Frame and started cleaning up the

code.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@747 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-07-26 21:41:09 +00:00
parent ef90f0f51e
commit fc76a11d71
41 changed files with 889 additions and 471 deletions
+2 -5
View File
@@ -47,6 +47,7 @@
class Control;
namespace display {
class Frame;
class WindowTitle;
class WindowStatusbar;
class WindowDownloadStatusbar;
@@ -62,12 +63,10 @@ class ElementBase;
class Download {
public:
typedef display::WindowTitle WTitle;
typedef display::WindowDownloadStatusbar WDownloadStatus;
typedef core::Download* DPtr;
typedef std::list<torrent::Peer> PList;
typedef display::Manager::iterator MItr;
typedef enum {
DISPLAY_PEER_LIST,
@@ -122,13 +121,11 @@ private:
Display m_state;
display::Frame* m_frame;
ElementBase* m_uiArray[DISPLAY_MAX_SIZE];
WTitle* m_windowTitle;
WDownloadStatus* m_windowDownloadStatus;
MItr m_window;
Control* m_control;
input::Bindings* m_bindings;