mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-21 02:15:11 -04:00
[ui] initial work for the display of a persistence option
* This doesn't mean we'll get persistence support any time soon, but any UI work on this needs to be carried out *MONTHS* in advance because of the translators.
This commit is contained in:
parent
5602494690
commit
a34cb1194e
7 changed files with 127 additions and 88 deletions
11
src/ui.h
11
src/ui.h
|
@ -85,9 +85,12 @@ static int image_option_move_ids[] = {
|
|||
IDC_STATUS_TOOLBAR,
|
||||
};
|
||||
|
||||
static int image_option_toggle_ids[] = {
|
||||
IDS_IMAGE_OPTION_TXT,
|
||||
IDC_IMAGE_OPTION,
|
||||
static int image_option_toggle_ids[][2] = {
|
||||
{ IDS_IMAGE_OPTION_TXT, 0x03 },
|
||||
{ IDC_IMAGE_OPTION, 0x01 },
|
||||
{ IDC_PERSISTENCE_SLIDER, 0x02 },
|
||||
{ IDC_PERSISTENCE_SIZE, 0x02 },
|
||||
{ IDC_PERSISTENCE_UNITS, 0x02 }
|
||||
};
|
||||
|
||||
static int advanced_device_move_ids[] = {
|
||||
|
@ -192,7 +195,7 @@ static int half_width_ids[] = {
|
|||
static int adjust_dpi_ids[][5] = {
|
||||
{IDS_DEVICE_TXT, IDC_DEVICE, IDC_SAVE_TOOLBAR, 0, 0},
|
||||
{IDS_BOOT_SELECTION_TXT, IDC_BOOT_SELECTION, IDC_HASH_TOOLBAR, IDC_SELECT, 0},
|
||||
{IDS_IMAGE_OPTION_TXT, IDC_IMAGE_OPTION, 0, 0, 0},
|
||||
{IDS_IMAGE_OPTION_TXT, IDC_IMAGE_OPTION, IDC_PERSISTENCE_SLIDER, IDC_PERSISTENCE_SIZE, IDC_PERSISTENCE_UNITS},
|
||||
{IDS_PARTITION_TYPE_TXT, IDC_PARTITION_TYPE, IDS_TARGET_SYSTEM_TXT, IDC_TARGET_SYSTEM, IDS_CSM_HELP_TXT},
|
||||
{IDC_ADVANCED_DEVICE_TOOLBAR, 0, 0, 0, 0},
|
||||
{IDC_LIST_USB_HDD, 0, 0, 0, 0 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue