mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 19:01:13 +02:00
rename PIP_ROFF => PIP_NO_POS; add default statement
Origin commit data
------------------
Branch: ni/coolstream
Commit: f76412cd5d
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-11-19 (Sat, 19 Nov 2022)
Origin message was:
------------------
- rename PIP_ROFF => PIP_NO_POS; add default statement
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1180,7 +1180,7 @@ int CNeutrinoApp::loadSetup(const char *fname)
|
|||||||
g_settings.pip_radio_width = configfile.getInt32("pip_radio_width", g_settings.pip_width);
|
g_settings.pip_radio_width = configfile.getInt32("pip_radio_width", g_settings.pip_width);
|
||||||
g_settings.pip_radio_height = configfile.getInt32("pip_radio_height", g_settings.pip_height);
|
g_settings.pip_radio_height = configfile.getInt32("pip_radio_height", g_settings.pip_height);
|
||||||
|
|
||||||
g_settings.pip_rotate_lastpos = configfile.getInt32("pip_rotate_lastpos", PIP_ROFF);
|
g_settings.pip_rotate_lastpos = configfile.getInt32("pip_rotate_lastpos", PIP_NO_POS);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLE_QUADPIP
|
#if ENABLE_QUADPIP
|
||||||
@@ -6185,6 +6185,9 @@ int CNeutrinoApp::pip_recalc_pos_x(int x)
|
|||||||
case PIP_DOWN_RIGHT:
|
case PIP_DOWN_RIGHT:
|
||||||
new_x = g_settings.screen_width - g_settings.pip_width - x;
|
new_x = g_settings.screen_width - g_settings.pip_width - x;
|
||||||
break;
|
break;
|
||||||
|
case PIP_NO_POS:
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return new_x;
|
return new_x;
|
||||||
}
|
}
|
||||||
@@ -6202,6 +6205,9 @@ int CNeutrinoApp::pip_recalc_pos_y(int y)
|
|||||||
case PIP_DOWN_LEFT:
|
case PIP_DOWN_LEFT:
|
||||||
new_y = g_settings.screen_height - g_settings.pip_height - y;
|
new_y = g_settings.screen_height - g_settings.pip_height - y;
|
||||||
break;
|
break;
|
||||||
|
case PIP_NO_POS:
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return new_y;
|
return new_y;
|
||||||
}
|
}
|
||||||
|
@@ -1356,7 +1356,7 @@ const time_settings_struct_t handling_infobar_setting[SNeutrinoSettings::HANDLIN
|
|||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
PIP_ROFF = -1,
|
PIP_NO_POS = -1,
|
||||||
PIP_UP_LEFT = 0,
|
PIP_UP_LEFT = 0,
|
||||||
PIP_UP_RIGHT = 1,
|
PIP_UP_RIGHT = 1,
|
||||||
PIP_DOWN_RIGHT = 2,
|
PIP_DOWN_RIGHT = 2,
|
||||||
|
Reference in New Issue
Block a user