mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CComponentsForm/PIP: ensure hiding of minitv during hide of forms
Handling of minitv items are different to other item types
and need an explizit call of hide(). So it is possible to hide a form-
object without a extra call of hide() for minitv objects.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 69476903ee
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-14 (Thu, 14 Mar 2013)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -64,10 +64,10 @@ CComponentsPIP::CComponentsPIP( const int x_pos, const int y_pos, const int perc
|
||||
|
||||
CComponentsPIP::~CComponentsPIP()
|
||||
{
|
||||
hide();
|
||||
clearSavedScreen();
|
||||
clear();
|
||||
videoDecoder->Pig(-1, -1, -1, -1);
|
||||
hide();
|
||||
videoDecoder->Pig(-1, -1, -1, -1);
|
||||
clearSavedScreen();
|
||||
clear();
|
||||
}
|
||||
|
||||
void CComponentsPIP::paint(bool do_save_bg)
|
||||
@@ -79,6 +79,6 @@ void CComponentsPIP::paint(bool do_save_bg)
|
||||
|
||||
void CComponentsPIP::hide(bool no_restore)
|
||||
{
|
||||
hideCCItem(no_restore);
|
||||
videoDecoder->Pig(-1, -1, -1, -1);
|
||||
hideCCItem(no_restore);
|
||||
}
|
||||
|
Reference in New Issue
Block a user