p7zip-rar/CPP/Windows/Control/ProgressBar.h

35 lines
501 B
C
Raw Normal View History

2017-10-11 12:40:22 +02:00
// Windows/Control/ProgressBar.h
#ifndef __WINDOWS_CONTROL_PROGRESSBAR_H
#define __WINDOWS_CONTROL_PROGRESSBAR_H
#include "Windows/Window.h"
#include "Windows/Defs.h"
class wxGauge;
namespace NWindows {
namespace NControl {
class CProgressBar : public CWindow
{
protected:
wxGauge* _window;
int _minValue;
int _range;
public:
CProgressBar(wxWindow* newWindow = NULL);
void Attach(wxWindow* newWindow);
void SetRange32(int minValue, int maxValue);
void SetPos(int pos);
};
}}
#endif