mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-21 02:15:11 -04:00
[ui] add positioning, resizing & filling of the persistence controls
* Also add a test ISO to display these controls * The intent is to use the next round of translation to get these new UI elements localized, as any translation work takes _months_, and it is a precondition to start working on #691. * Also fix new issues with image options when switching language
This commit is contained in:
parent
05f8400451
commit
a394b9731a
9 changed files with 113 additions and 19 deletions
4
src/ui.h
4
src/ui.h
|
@ -50,7 +50,8 @@ extern BOOL advanced_mode_device, advanced_mode_format, force_large_fat32;
|
|||
extern loc_cmd* selected_locale;
|
||||
extern const char *sfd_name, *flash_type[BADLOCKS_PATTERN_TYPES];
|
||||
extern char *short_image_path;
|
||||
extern int advanced_device_section_height, advanced_format_section_height, windows_to_go_selection;
|
||||
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 void SetComboEntry(HWND hDlg, int data);
|
||||
|
@ -61,6 +62,7 @@ extern void GetFullWidth(HWND hDlg);
|
|||
extern void PositionMainControls(HWND hDlg);
|
||||
extern void AdjustForLowDPI(HWND hDlg);
|
||||
extern void SetSectionHeaders(HWND hDlg);
|
||||
extern void SetPersistenceSlider(uint64_t pos, uint64_t max);
|
||||
extern void ToggleAdvancedDeviceOptions(BOOL enable);
|
||||
extern void ToggleAdvancedFormatOptions(BOOL enable);
|
||||
extern void ToggleImageOption(uint8_t mask);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue