(Menu) Create MENU_LABEL_CUSTOM_RATIO
This commit is contained in:
parent
0069df0361
commit
99f0453f11
|
@ -1808,7 +1808,9 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type)
|
||||||
menu_list_push(info->list, "Screen Resolution", "",
|
menu_list_push(info->list, "Screen Resolution", "",
|
||||||
MENU_SETTINGS_VIDEO_RESOLUTION, 0, 0);
|
MENU_SETTINGS_VIDEO_RESOLUTION, 0, 0);
|
||||||
#endif
|
#endif
|
||||||
menu_list_push(info->list, "Custom Ratio", "",
|
menu_list_push(info->list,
|
||||||
|
menu_hash_to_str(MENU_LABEL_VALUE_CUSTOM_RATIO),
|
||||||
|
menu_hash_to_str(MENU_LABEL_CUSTOM_RATIO),
|
||||||
MENU_SETTINGS_CUSTOM_VIEWPORT, 0, 0);
|
MENU_SETTINGS_CUSTOM_VIEWPORT, 0, 0);
|
||||||
#ifndef HAVE_FILTERS_BUILTIN
|
#ifndef HAVE_FILTERS_BUILTIN
|
||||||
menu_list_push(info->list,
|
menu_list_push(info->list,
|
||||||
|
|
|
@ -47,6 +47,10 @@ static const char *menu_hash_to_str_english(uint32_t hash)
|
||||||
{
|
{
|
||||||
switch (hash)
|
switch (hash)
|
||||||
{
|
{
|
||||||
|
case MENU_LABEL_CUSTOM_RATIO:
|
||||||
|
return "custom_ratio";
|
||||||
|
case MENU_LABEL_VALUE_CUSTOM_RATIO:
|
||||||
|
return "Custom Ratio";
|
||||||
case MENU_LABEL_VALUE_USE_THIS_DIRECTORY:
|
case MENU_LABEL_VALUE_USE_THIS_DIRECTORY:
|
||||||
return "<Use this directory>";
|
return "<Use this directory>";
|
||||||
case MENU_LABEL_USE_THIS_DIRECTORY:
|
case MENU_LABEL_USE_THIS_DIRECTORY:
|
||||||
|
|
|
@ -314,6 +314,8 @@ extern "C" {
|
||||||
#define MENU_LABEL_LOAD_OPEN_ZIP 0x8aa3c068U
|
#define MENU_LABEL_LOAD_OPEN_ZIP 0x8aa3c068U
|
||||||
#define MENU_LABEL_CUSTOM_VIEWPORT_1 0x76c3016fU
|
#define MENU_LABEL_CUSTOM_VIEWPORT_1 0x76c3016fU
|
||||||
#define MENU_LABEL_CUSTOM_VIEWPORT_2 0x76c30170U
|
#define MENU_LABEL_CUSTOM_VIEWPORT_2 0x76c30170U
|
||||||
|
#define MENU_LABEL_CUSTOM_RATIO 0xf038731eU
|
||||||
|
#define MENU_LABEL_VALUE_CUSTOM_RATIO 0x3c94b73fU
|
||||||
#define MENU_LABEL_HELP 0x7c97d2eeU
|
#define MENU_LABEL_HELP 0x7c97d2eeU
|
||||||
#define MENU_LABEL_VALUE_HELP 0x7c8646ceU
|
#define MENU_LABEL_VALUE_HELP 0x7c8646ceU
|
||||||
#define MENU_LABEL_INPUT_OVERLAY 0x24e24796U
|
#define MENU_LABEL_INPUT_OVERLAY 0x24e24796U
|
||||||
|
|
Loading…
Reference in New Issue