add option to rotate PiP clockwise/counterclockwise

This commit is contained in:
TangoCash
2022-11-19 11:09:01 +01:00
committed by Thilo Graf
parent 32c24c1fb4
commit 1249a61edf
13 changed files with 134 additions and 9 deletions

View File

@@ -978,10 +978,13 @@ struct SNeutrinoSettings
int pip_height;
int pip_x;
int pip_y;
int pip_radio_width;
int pip_radio_height;
int pip_radio_x;
int pip_radio_y;
int pip_rotate_lastpos;
#endif
#if ENABLE_QUADPIP
@@ -1234,6 +1237,8 @@ struct SNeutrinoSettings
#if ENABLE_PIP
int key_pip_close;
int key_pip_close_avinput;
int key_pip_rotate_cw;
int key_pip_rotate_ccw;
int key_pip_setup;
int key_pip_swap;
#endif
@@ -1339,6 +1344,16 @@ const time_settings_struct_t handling_infobar_setting[SNeutrinoSettings::HANDLIN
{ 6, LOCALE_TIMING_INFOBAR_MEDIA_VIDEO, LOCALE_MENU_HINT_OSD_BEHAVIOR_INFOBAR}
};
enum
{
PIP_ROFF = -1,
PIP_UP_LEFT = 0,
PIP_UP_RIGHT = 1,
PIP_DOWN_RIGHT = 2,
PIP_DOWN_LEFT = 3
};
// lcdd
#define DEFAULT_VFD_BRIGHTNESS 15
#define DEFAULT_VFD_STANDBYBRIGHTNESS 5