android_mt6572_jiabo/external/p7zip/CPP/Windows/Control/ProgressBar.h
2025-09-05 16:56:03 +08:00

34 lines
501 B
C++

// 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