From d7d4c98775e34c7cb723ca813e8a76fe83610013 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Thu, 11 Feb 2016 23:54:35 +0100 Subject: Windows: Add colors (Red, Yellow, Green) to the collected randomness indicator depending on how much entropy was gathered. Code re-factoring. --- src/Common/Progress.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/Common/Progress.h') diff --git a/src/Common/Progress.h b/src/Common/Progress.h index 27ee659c..9e80a086 100644 --- a/src/Common/Progress.h +++ b/src/Common/Progress.h @@ -15,6 +15,15 @@ extern "C" { #endif +#ifndef PBM_SETSTATE + +#define PBM_SETSTATE (WM_USER+16) // wParam = PBST_[State] (NORMAL, ERROR, PAUSED) +#define PBST_NORMAL 0x0001 +#define PBST_ERROR 0x0002 +#define PBST_PAUSED 0x0003 + +#endif + void InitProgressBar (__int64 totalBytes, __int64 bytesDone, BOOL bReverse, BOOL bIOThroughput, BOOL bDisplayStatus, BOOL bShowPercent); BOOL UpdateProgressBar (__int64 byteOffset); BOOL UpdateProgressBarProc (__int64 byteOffset); -- cgit v1.2.3