diff options
Diffstat (limited to 'src/libs/7zip/unix/CPP/Windows/Control/ProgressBar.h')
-rw-r--r-- | src/libs/7zip/unix/CPP/Windows/Control/ProgressBar.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/libs/7zip/unix/CPP/Windows/Control/ProgressBar.h b/src/libs/7zip/unix/CPP/Windows/Control/ProgressBar.h new file mode 100644 index 000000000..c7bfa8e8d --- /dev/null +++ b/src/libs/7zip/unix/CPP/Windows/Control/ProgressBar.h @@ -0,0 +1,34 @@ +// 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 + |