CProgressWindow: implement CComponent classes

This implement window functionality from CComponentsWindow,
progress items from CProgressBar() and status text
items from CComponentsLabel()
This commit is contained in:
2014-06-09 14:56:12 +02:00
committed by svenhoefer
parent 793230e9a7
commit 2f0e4e1687
8 changed files with 99 additions and 175 deletions

View File

@@ -33,7 +33,7 @@
#ifndef __httptool__
#define __httptool__
#include <gui/widget/progressstatus.h>
#include <gui/widget/progresswindow.h>
#include <string>
@@ -44,12 +44,12 @@ class CHTTPTool
int iGlobalProgressEnd;
int iGlobalProgressBegin;
CProgress_StatusViewer* statusViewer;
CProgressWindow* statusViewer;
static int show_progress( void *clientp, double dltotal, double dlnow, double ultotal, double ulnow);
public:
CHTTPTool();
void setStatusViewer( CProgress_StatusViewer* statusview );
void setStatusViewer( CProgressWindow* statusview );
bool downloadFile( const std::string & URL, const char * const downloadTarget, int globalProgressEnd=-1 );