mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-20 09:55:11 -04:00
[ui] better bad blocks reports
* improved status bar printout (priority messages with timeout) * report with abort/retry/cancel on bad block detection * also MinGW warning fixes
This commit is contained in:
parent
f93a85ab83
commit
b006e6a837
8 changed files with 85 additions and 45 deletions
10
src/rufus.h
10
src/rufus.h
|
@ -76,12 +76,18 @@ enum user_message_type {
|
|||
};
|
||||
|
||||
/* Custom notifications */
|
||||
enum MessageType {
|
||||
enum notification_type {
|
||||
MSG_INFO,
|
||||
MSG_WARNING,
|
||||
MSG_ERROR
|
||||
};
|
||||
|
||||
/* Timers used throughout the program */
|
||||
enum timer_id {
|
||||
PRINTSTATUS_TIMER_ID = 0x1000,
|
||||
BADBLOCK_TIMER_ID
|
||||
};
|
||||
|
||||
/* File system indexes in our FS combobox */
|
||||
// TODO: FormatEx should support "NTFS", "FAT", "FAT32", "UDF", and "EXFAT" as per
|
||||
// http://msdn.microsoft.com/en-us/library/windows/desktop/aa819439.aspx
|
||||
|
@ -124,7 +130,7 @@ extern RUFUS_DRIVE_INFO SelectedDrive;
|
|||
*/
|
||||
extern const char *WindowsErrorString(void);
|
||||
extern void DumpBufferHex(void *buf, size_t size);
|
||||
extern void PrintStatus(const char *format, ...);
|
||||
extern void PrintStatus(unsigned int duration, const char *format, ...);
|
||||
extern const char* StrError(DWORD error_code);
|
||||
extern void CenterDialog(HWND hDlg);
|
||||
extern void CreateStatusBar(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue