mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-31 23:08:26 -04:00
[ui] add experimental optional display of transfer speed and time remaining
* You can use <Alt> to switch modes during an operation that supports it (e.g. Checksum computation, DD image writing or zeroing, save to VHD, download, etc. * IMPORTANT: This is *NOT* available for all operations. Especially, if you were hoping to get transfer speed or ETA during ISO or WIM extraction, you *WILL* be disappointed. * Also harmonize the code in checksum.c
This commit is contained in:
parent
94e2015edf
commit
af95de8198
16 changed files with 525 additions and 430 deletions
10
src/ui.h
10
src/ui.h
|
@ -43,6 +43,14 @@
|
|||
TBSTYLE_AUTOSIZE | TBSTYLE_LIST | \
|
||||
TBSTYLE_TOOLTIPS )
|
||||
|
||||
// Types of update progress we report
|
||||
enum update_progress_type {
|
||||
UPT_PERCENT = 0,
|
||||
UPT_SPEED,
|
||||
UPT_TIME,
|
||||
UPT_MAX
|
||||
};
|
||||
|
||||
extern HWND hMultiToolbar, hSaveToolbar, hHashToolbar, hAdvancedDeviceToolbar, hAdvancedFormatToolbar;
|
||||
extern HFONT hInfoFont;
|
||||
extern UINT_PTR UM_LANGUAGE_MENU_MAX;
|
||||
|
@ -53,7 +61,7 @@ extern const char *sfd_name, *flash_type[BADLOCKS_PATTERN_TYPES];
|
|||
extern char *short_image_path, image_option_txt[128];
|
||||
extern int advanced_device_section_height, advanced_format_section_height;
|
||||
extern int windows_to_go_selection, persistence_unit_selection;
|
||||
extern int selection_default, cbw, ddw, ddbh, bh;
|
||||
extern int selection_default, cbw, ddw, ddbh, bh, update_progress_type;
|
||||
|
||||
extern void SetComboEntry(HWND hDlg, int data);
|
||||
extern void GetBasicControlsWidth(HWND hDlg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue