mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 03:10:14 +00:00
Add sublabels
This commit is contained in:
parent
96314bb0ba
commit
8148c71556
@ -2449,3 +2449,11 @@ MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_VIDEO_FORCE_SRGB_DISABLE,
|
||||
"Forcibly disable sRGB FBO support. Some Intel OpenGL drivers on Windows have video problems with sRGB FBO support if this is enabled. Enabling this can work around it."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_VIDEO_FULLSCREEN,
|
||||
"Start in fullscreen. Can be changed at runtime."
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_VIDEO_WINDOWED_FULLSCREEN,
|
||||
"If fullscreen, prefer using a windowed fullscreen mode."
|
||||
)
|
||||
|
@ -145,6 +145,8 @@ default_sublabel_macro(action_bind_sublabel_video_scale_integer, MENU_
|
||||
default_sublabel_macro(action_bind_sublabel_video_gpu_screenshot, MENU_ENUM_SUBLABEL_VIDEO_GPU_SCREENSHOT)
|
||||
default_sublabel_macro(action_bind_sublabel_video_rotation, MENU_ENUM_SUBLABEL_VIDEO_ROTATION)
|
||||
default_sublabel_macro(action_bind_sublabel_video_force_srgb_enable, MENU_ENUM_SUBLABEL_VIDEO_FORCE_SRGB_DISABLE)
|
||||
default_sublabel_macro(action_bind_sublabel_video_fullscreen, MENU_ENUM_SUBLABEL_VIDEO_FULLSCREEN)
|
||||
default_sublabel_macro(action_bind_sublabel_video_windowed_fullscreen, MENU_ENUM_SUBLABEL_VIDEO_WINDOWED_FULLSCREEN)
|
||||
|
||||
static int action_bind_sublabel_cheevos_entry(
|
||||
file_list_t *list,
|
||||
@ -206,6 +208,12 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
{
|
||||
switch (cbs->enum_idx)
|
||||
{
|
||||
case MENU_ENUM_LABEL_VIDEO_FULLSCREEN:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_fullscreen);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_VIDEO_WINDOWED_FULLSCREEN:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_windowed_fullscreen);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_VIDEO_FORCE_SRGB_DISABLE:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_force_srgb_enable);
|
||||
break;
|
||||
|
@ -239,7 +239,7 @@
|
||||
# Do note that the _full_ path of the font is necessary!
|
||||
# video_font_path =
|
||||
|
||||
# Size of the font rendered.
|
||||
# Size of the font rendered in points.
|
||||
# video_font_size = 32
|
||||
|
||||
# Enable usage of OSD messages.
|
||||
|
Loading…
Reference in New Issue
Block a user