mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-13 20:56:17 +00:00
* 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:
+2
-5
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user