mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-20 18:05:21 -04:00
[ui] fix multiple persistence slider issues
* Range not being set when plugging a drive * Set position to zero when no drive is selected * Make sure the restored position can not be greater than the max
This commit is contained in:
parent
e591868555
commit
e8745339e4
4 changed files with 65 additions and 50 deletions
3
src/ui.h
3
src/ui.h
|
@ -63,7 +63,8 @@ extern void GetFullWidth(HWND hDlg);
|
|||
extern void PositionMainControls(HWND hDlg);
|
||||
extern void AdjustForLowDPI(HWND hDlg);
|
||||
extern void SetSectionHeaders(HWND hDlg);
|
||||
extern void SetPersistenceSize(uint64_t pos, uint64_t max);
|
||||
extern void SetPeristencePos(uint64_t pos);
|
||||
extern void SetPersistenceSize(void);
|
||||
extern void TogglePersistenceControls(BOOL display);
|
||||
extern void ToggleAdvancedDeviceOptions(BOOL enable);
|
||||
extern void ToggleAdvancedFormatOptions(BOOL enable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue