CProgressWindow: implement CComponent classes

This implement window functionality from CComponentsWindow,
progress items from CProgressBar() and status text
items from CComponentsLabel()


Origin commit data
------------------
Commit: 2f0e4e1687
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-09 (Mon, 09 Jun 2014)
This commit is contained in:
2014-06-09 14:56:12 +02:00
committed by vanhofen
parent 03914a6687
commit 7d1020cdf5
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 );