mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: Add colors (Red, Yellow, Green) to the collected randomness indicator depending on how much entropy was gathered. Code re-factoring.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user