mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-31 23:08:26 -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
|
@ -282,12 +282,7 @@ enum checksum_type {
|
|||
#define IS_EFI_BOOTABLE(r) (r.has_efi != 0)
|
||||
#define IS_BIOS_BOOTABLE(r) (HAS_BOOTMGR(r) || HAS_SYSLINUX(r) || HAS_WINPE(r) || HAS_GRUB(r) || HAS_REACTOS(r) || HAS_KOLIBRIOS(r))
|
||||
#define HAS_WINTOGO(r) (HAS_BOOTMGR(r) && IS_EFI_BOOTABLE(r) && HAS_INSTALL_WIM(r) && (r.install_wim_version < MAX_WIM_VERSION))
|
||||
#ifdef RUFUS_TEST
|
||||
// TODO: have a better test for persistence/Linux
|
||||
#define HAS_PERSISTENCE(r) HAS_SYSLINUX(r)
|
||||
#else
|
||||
#define HAS_PERSISTENCE(r) FALSE
|
||||
#endif
|
||||
#define HAS_PERSISTENCE(r) (r.has_casper)
|
||||
#define IS_FAT(fs) ((fs == FS_FAT16) || (fs == FS_FAT32))
|
||||
|
||||
typedef struct {
|
||||
|
@ -320,6 +315,7 @@ typedef struct {
|
|||
BOOLEAN uses_minint;
|
||||
BOOLEAN compression_type;
|
||||
BOOLEAN is_vhd;
|
||||
BOOLEAN has_casper;
|
||||
uint16_t sl_version; // Syslinux/Isolinux version
|
||||
char sl_version_str[12];
|
||||
char sl_version_ext[32];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue