Skip to content

Commit

Permalink
various brightness menu improvements
Browse files Browse the repository at this point in the history
Add brightness preset options.
  • Loading branch information
Chomenor committed Dec 29, 2021
1 parent a9487d0 commit 2409968
Show file tree
Hide file tree
Showing 3 changed files with 246 additions and 75 deletions.
24 changes: 24 additions & 0 deletions code/ui/ui_atoms.c
Original file line number Diff line number Diff line change
Expand Up @@ -2300,6 +2300,14 @@ void UI_LoadButtonText()
menu_button_text[MBT_VIDEO_LIGHTING_CONTRAST][1] = "ADJUST MAXIMUM LIGHTING INTENSITY";
menu_button_text[MBT_VIDEO_INTENSITY][0] = "INTENSITY";
menu_button_text[MBT_VIDEO_INTENSITY][1] = "SCALES IMAGE COLORS TO MAKE BRIGHT AREAS BRIGHTER";
menu_button_text[MBT_VIDEO_LIGHTING_PLAIN][0] = "PLAIN";
menu_button_text[MBT_VIDEO_LIGHTING_PLAIN][1] = "BASIC PROFILE WITH MODERATE LIGHTING INTENSITY.";
menu_button_text[MBT_VIDEO_LIGHTING_FULL_CONTRAST][0] = "FULL CONTRAST";
menu_button_text[MBT_VIDEO_LIGHTING_FULL_CONTRAST][1] = "CLASSIC SETTINGS WITH FULL LIGHTING AND COLOR RANGE.";
menu_button_text[MBT_VIDEO_LIGHTING_EXTRA_BRIGHT][0] = "EXTRA BRIGHT";
menu_button_text[MBT_VIDEO_LIGHTING_EXTRA_BRIGHT][1] = "EVENLY INCREASED LIGHTING FOR BETTER VISIBILITY.";
menu_button_text[MBT_VIDEO_LIGHTING_FULL_BRIGHT][0] = "FULL BRIGHT";
menu_button_text[MBT_VIDEO_LIGHTING_FULL_BRIGHT][1] = "MAXIMUM LIGHTING WITH NO SHADOWS OR DARK AREAS.";
menu_button_text[MBT_VIDEO_LIGHTING_APPLY][0] = "APPLY";
menu_button_text[MBT_VIDEO_LIGHTING_APPLY][1] = "APPLY LIGHTING CHANGES";
menu_button_text[MBT_VIDEO_LIGHTING_RESET][0] = "RESET";
Expand Down Expand Up @@ -2374,6 +2382,14 @@ void UI_LoadButtonText()
menu_button_text[MBT_VIDEO_LIGHTING_CONTRAST][1] = "MAXIMALE BELEUCHTUNGSINTENSITÄT EINSTELLEN";
menu_button_text[MBT_VIDEO_INTENSITY][0] = "INTENSITÄT";
menu_button_text[MBT_VIDEO_INTENSITY][1] = "SKALIERT BILDFARBEN, UM HELLE BEREICHE HELLER ZU MACHEN";
menu_button_text[MBT_VIDEO_LIGHTING_PLAIN][0] = "SCHLICHT";
menu_button_text[MBT_VIDEO_LIGHTING_PLAIN][1] = "GRUNDPROFIL MIT MÄSSIGER LICHTINTENSITÄT.";
menu_button_text[MBT_VIDEO_LIGHTING_FULL_CONTRAST][0] = "VOLL KONTRAST";
menu_button_text[MBT_VIDEO_LIGHTING_FULL_CONTRAST][1] = "KLASSISCHE EINSTELLUNGEN MIT VOLLER BELEUCHTUNG UND FARBPALETTE.";
menu_button_text[MBT_VIDEO_LIGHTING_EXTRA_BRIGHT][0] = "EXTRA HELL";
menu_button_text[MBT_VIDEO_LIGHTING_EXTRA_BRIGHT][1] = "GLEICHMÄSSIG ERHÖHTE BELEUCHTUNG FÜR BESSERE SICHT.";
menu_button_text[MBT_VIDEO_LIGHTING_FULL_BRIGHT][0] = "VOLLE BRIGHT";
menu_button_text[MBT_VIDEO_LIGHTING_FULL_BRIGHT][1] = "MAXIMALE BELEUCHTUNG OHNE SCHATTEN ODER DUNKLE BEREICHE.";
menu_button_text[MBT_VIDEO_LIGHTING_APPLY][0] = "ANWENDEN";
menu_button_text[MBT_VIDEO_LIGHTING_APPLY][1] = "ÄNDERUNGEN DER BELEUCHTUNG ANWENDEN";
menu_button_text[MBT_VIDEO_LIGHTING_RESET][0] = "ZURÜCKSETZEN";
Expand Down Expand Up @@ -2458,6 +2474,14 @@ void UI_LoadButtonText()
menu_button_text[MBT_VIDEO_LIGHTING_CONTRAST][1] = "AJUSTER L'INTENSITÉ MAXIMALE DE L'ÉCLAIRAGE";
menu_button_text[MBT_VIDEO_INTENSITY][0] = "INTENSITÉ";
menu_button_text[MBT_VIDEO_INTENSITY][1] = "RENDRE LES ZONES CLAIRES PLUS LUMINEUSES";
menu_button_text[MBT_VIDEO_LIGHTING_PLAIN][0] = "PLAINE";
menu_button_text[MBT_VIDEO_LIGHTING_PLAIN][1] = "PROFIL DE BASE AVEC INTENSITÉ D'ÉCLAIRAGE MODÉRÉE.";
menu_button_text[MBT_VIDEO_LIGHTING_FULL_CONTRAST][0] = "PLEIN CONTRASTE";
menu_button_text[MBT_VIDEO_LIGHTING_FULL_CONTRAST][1] = "RÉGLAGES CLASSIQUES AVEC ÉCLAIRAGE COMPLET ET GAMME DE COULEURS.";
menu_button_text[MBT_VIDEO_LIGHTING_EXTRA_BRIGHT][0] = "EXTRA LUMINEUX";
menu_button_text[MBT_VIDEO_LIGHTING_EXTRA_BRIGHT][1] = "ÉCLAIRAGE UNIFORMÉMENT AUGMENTÉ POUR UNE MEILLEURE VISIBILITÉ.";
menu_button_text[MBT_VIDEO_LIGHTING_FULL_BRIGHT][0] = "PLEINE LUMINOSITÉ";
menu_button_text[MBT_VIDEO_LIGHTING_FULL_BRIGHT][1] = "ÉCLAIRAGE MAXIMUM SANS OMBRES OU ZONES SOMBRE.";
menu_button_text[MBT_VIDEO_LIGHTING_APPLY][0] = "APPLIQUER";
menu_button_text[MBT_VIDEO_LIGHTING_APPLY][1] = "APPLIQUER DES CHANGEMENTS D'ÉCLAIRAGE";
menu_button_text[MBT_VIDEO_LIGHTING_RESET][0] = "RÉINITIALISER";
Expand Down
4 changes: 4 additions & 0 deletions code/ui/ui_local.h
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,10 @@ typedef enum
MBT_VIDEO_LIGHTING_LEVEL,
MBT_VIDEO_LIGHTING_CONTRAST,
MBT_VIDEO_INTENSITY,
MBT_VIDEO_LIGHTING_PLAIN,
MBT_VIDEO_LIGHTING_FULL_CONTRAST,
MBT_VIDEO_LIGHTING_EXTRA_BRIGHT,
MBT_VIDEO_LIGHTING_FULL_BRIGHT,
MBT_VIDEO_LIGHTING_APPLY,
MBT_VIDEO_LIGHTING_RESET,
MBT_VIDEO_RENDERER,
Expand Down
Loading

0 comments on commit 2409968

Please sign in to comment.