Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CtrlDownloads.cpp File Reference

#include "StdAfx.h"
#include "Shareaza.h"
#include "Settings.h"
#include "Transfers.h"
#include "Downloads.h"
#include "Download.h"
#include "DownloadSource.h"
#include "DownloadTransfer.h"
#include "CoolInterface.h"
#include "ShellIcons.h"
#include "FragmentBar.h"
#include "Skin.h"
#include "CtrlDownloads.h"
#include "WndDownloads.h"

Go to the source code of this file.

Defines

#define HEADER_HEIGHT   20
#define ITEM_HEIGHT   17
#define DOWNLOAD_COLUMN_TITLE   0
#define DOWNLOAD_COLUMN_SIZE   1
#define DOWNLOAD_COLUMN_PROGRESS   2
#define DOWNLOAD_COLUMN_SPEED   3
#define DOWNLOAD_COLUMN_STATUS   4
#define DOWNLOAD_COLUMN_CLIENT   5
#define DOWNLOAD_COLUMN_DOWNLOADED   6
#define DOWNLOAD_COLUMN_PERCENTAGE   7
#define COLUMNS_TO_SORT   DOWNLOAD_COLUMN_PERCENTAGE - DOWNLOAD_COLUMN_TITLE
#define MAX_DRAG_SIZE   128
#define MAX_DRAG_SIZE_2   (MAX_DRAG_SIZE/2)


Define Documentation

#define COLUMNS_TO_SORT   DOWNLOAD_COLUMN_PERCENTAGE - DOWNLOAD_COLUMN_TITLE
 

Definition at line 78 of file CtrlDownloads.cpp.

Referenced by CDownloadsCtrl::OnCreate().

#define DOWNLOAD_COLUMN_CLIENT   5
 

Definition at line 75 of file CtrlDownloads.cpp.

Referenced by CDownloadsCtrl::BubbleSortDownloads(), CDownloadsCtrl::OnCreate(), CDownloadsCtrl::PaintDownload(), and CDownloadsCtrl::PaintSource().

#define DOWNLOAD_COLUMN_DOWNLOADED   6
 

Definition at line 76 of file CtrlDownloads.cpp.

Referenced by CDownloadsCtrl::BubbleSortDownloads(), CDownloadsCtrl::OnCreate(), CDownloadsCtrl::PaintDownload(), and CDownloadsCtrl::PaintSource().

#define DOWNLOAD_COLUMN_PERCENTAGE   7
 

Definition at line 77 of file CtrlDownloads.cpp.

Referenced by CDownloadsCtrl::BubbleSortDownloads(), CDownloadsCtrl::OnCreate(), CDownloadsCtrl::PaintDownload(), and CDownloadsCtrl::PaintSource().

#define DOWNLOAD_COLUMN_PROGRESS   2
 

Definition at line 72 of file CtrlDownloads.cpp.

Referenced by CDownloadsCtrl::BubbleSortDownloads(), CDownloadsCtrl::OnCreate(), CDownloadsCtrl::PaintDownload(), and CDownloadsCtrl::PaintSource().

#define DOWNLOAD_COLUMN_SIZE   1
 

Definition at line 71 of file CtrlDownloads.cpp.

Referenced by CDownloadsCtrl::BubbleSortDownloads(), CDownloadsCtrl::OnCreate(), CDownloadsCtrl::PaintDownload(), and CDownloadsCtrl::PaintSource().

#define DOWNLOAD_COLUMN_SPEED   3
 

Definition at line 73 of file CtrlDownloads.cpp.

Referenced by CDownloadsCtrl::BubbleSortDownloads(), CDownloadsCtrl::OnCreate(), CDownloadsCtrl::PaintDownload(), and CDownloadsCtrl::PaintSource().

#define DOWNLOAD_COLUMN_STATUS   4
 

Definition at line 74 of file CtrlDownloads.cpp.

Referenced by CDownloadsCtrl::BubbleSortDownloads(), CDownloadsCtrl::OnCreate(), CDownloadsCtrl::PaintDownload(), and CDownloadsCtrl::PaintSource().

#define DOWNLOAD_COLUMN_TITLE   0
 

Definition at line 70 of file CtrlDownloads.cpp.

Referenced by CDownloadsCtrl::BubbleSortDownloads(), CDownloadsCtrl::GetExpandableColumnX(), CDownloadsCtrl::OnCreate(), CDownloadsCtrl::PaintDownload(), and CDownloadsCtrl::PaintSource().

#define HEADER_HEIGHT   20
 

Definition at line 67 of file CtrlDownloads.cpp.

Referenced by CMatchCtrl::GetItemRect(), CDownloadsCtrl::GetRect(), CUploadsCtrl::HitTest(), CMatchCtrl::HitTest(), CDownloadsCtrl::HitTest(), CMatchCtrl::MoveFocus(), CUploadsCtrl::OnHScroll(), CMatchCtrl::OnHScroll(), CDownloadsCtrl::OnHScroll(), CMatchCtrl::OnLButtonUp(), CMatchCtrl::OnMouseMove(), CUploadsCtrl::OnPaint(), CMediaFrame::OnPaint(), CMatchCtrl::OnPaint(), CDownloadsCtrl::OnPaint(), CMatchCtrl::OnSetCursor(), CUploadsCtrl::OnSize(), CMediaFrame::OnSize(), CMatchCtrl::OnSize(), CDownloadsCtrl::OnSize(), CMatchCtrl::ScrollTo(), CUploadsCtrl::SelectTo(), CDownloadsCtrl::SelectTo(), and CMatchCtrl::UpdateScroll().

#define ITEM_HEIGHT   17
 

Definition at line 68 of file CtrlDownloads.cpp.

#define MAX_DRAG_SIZE   128
 

Definition at line 1955 of file CtrlDownloads.cpp.

Referenced by CLiveList::CreateDragImage(), CLibraryTreeCtrl::CreateDragImage(), CLibraryTileView::CreateDragImage(), CLibraryThumbView::CreateDragImage(), CLibraryAlbumView::CreateDragImage(), and CDownloadsCtrl::CreateDragImage().

#define MAX_DRAG_SIZE_2   (MAX_DRAG_SIZE/2)
 

Definition at line 1956 of file CtrlDownloads.cpp.

Referenced by CLiveList::CreateDragImage(), CLibraryTreeCtrl::CreateDragImage(), CLibraryTileView::CreateDragImage(), CLibraryThumbView::CreateDragImage(), CLibraryAlbumView::CreateDragImage(), and CDownloadsCtrl::CreateDragImage().


Generated on Thu Dec 15 10:39:55 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2