mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-07 13:48:35 +02:00
- rename PIP_ROFF => PIP_NO_POS; add default statement
This commit is contained in:
@@ -1168,7 +1168,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_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
|
||||
|
||||
#if ENABLE_QUADPIP
|
||||
@@ -6073,6 +6073,9 @@ int CNeutrinoApp::pip_recalc_pos_x(int x)
|
||||
case PIP_DOWN_RIGHT:
|
||||
new_x = g_settings.screen_width - g_settings.pip_width - x;
|
||||
break;
|
||||
case PIP_NO_POS:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return new_x;
|
||||
}
|
||||
@@ -6090,6 +6093,9 @@ int CNeutrinoApp::pip_recalc_pos_y(int y)
|
||||
case PIP_DOWN_LEFT:
|
||||
new_y = g_settings.screen_height - g_settings.pip_height - y;
|
||||
break;
|
||||
case PIP_NO_POS:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return new_y;
|
||||
}
|
||||
|
@@ -1347,7 +1347,7 @@ const time_settings_struct_t handling_infobar_setting[SNeutrinoSettings::HANDLIN
|
||||
|
||||
enum
|
||||
{
|
||||
PIP_ROFF = -1,
|
||||
PIP_NO_POS = -1,
|
||||
PIP_UP_LEFT = 0,
|
||||
PIP_UP_RIGHT = 1,
|
||||
PIP_DOWN_RIGHT = 2,
|
||||
|
Reference in New Issue
Block a user