mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
remove all fb->blit() calls
TODO: check if plugins etc. need extra treatment
This commit is contained in:
@@ -906,7 +906,6 @@ int CAudioPlayerGui::show()
|
||||
paintHead();
|
||||
paintLCD();
|
||||
}
|
||||
m_frameBuffer->blit();
|
||||
}
|
||||
hide();
|
||||
|
||||
@@ -1536,7 +1535,6 @@ void CAudioPlayerGui::hide()
|
||||
m_width + ConnectLineBox_Width, m_height - m_title_height);
|
||||
clearItemID3DetailsLine();
|
||||
m_frameBuffer->paintBackgroundBoxRel(m_x, m_y, m_width, m_title_height);
|
||||
m_frameBuffer->blit();
|
||||
m_visible = false;
|
||||
}
|
||||
}
|
||||
@@ -1662,7 +1660,6 @@ void CAudioPlayerGui::paintHead()
|
||||
#endif
|
||||
|
||||
header.paint(CC_SAVE_SCREEN_NO);
|
||||
//m_frameBuffer->blit(); // ??
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
@@ -1779,7 +1776,6 @@ const struct button_label ScondLineButtons[3] =
|
||||
::paintButtons(m_x + c_rad_mid, top, bwidth, 2, AudioPlayerButtons[2], bwidth, m_buttonHeight);
|
||||
}
|
||||
}
|
||||
m_frameBuffer->blit();
|
||||
}
|
||||
//------------------------------------------------------------------------
|
||||
void CAudioPlayerGui::paintInfo()
|
||||
@@ -1859,7 +1855,6 @@ void CAudioPlayerGui::paintInfo()
|
||||
|
||||
updateTimes(true);
|
||||
}
|
||||
m_frameBuffer->blit();
|
||||
}
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
@@ -1888,7 +1883,6 @@ void CAudioPlayerGui::paint()
|
||||
|
||||
paintInfo();
|
||||
paintFoot();
|
||||
m_frameBuffer->blit();
|
||||
m_visible = true;
|
||||
|
||||
}
|
||||
@@ -1967,7 +1961,6 @@ void CAudioPlayerGui::paintItemID3DetailsLine (int pos)
|
||||
if (ibox != NULL)
|
||||
ibox->hide();
|
||||
}
|
||||
m_frameBuffer->blit();
|
||||
}
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
@@ -2204,7 +2197,6 @@ void CAudioPlayerGui::updateMetaData(bool screen_saver)
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]
|
||||
->RenderString(m_x + xstart, m_y + 4 + 2*m_fheight + m_sheight,
|
||||
m_width- 2*xstart, m_metainfo, COL_MENUCONTENTSELECTED_TEXT);
|
||||
m_frameBuffer->blit();
|
||||
}
|
||||
}
|
||||
//------------------------------------------------------------------------
|
||||
@@ -2265,7 +2257,6 @@ void CAudioPlayerGui::updateTimes(const bool force)
|
||||
w2+4, play_time, COL_MENUCONTENTSELECTED_TEXT);
|
||||
}
|
||||
}
|
||||
m_frameBuffer->blit();
|
||||
}
|
||||
if ((updatePlayed || updateTotal) && m_time_total != 0)
|
||||
{
|
||||
@@ -2389,7 +2380,6 @@ bool CAudioPlayerGui::getNumericInput(neutrino_msg_t& msg, int& val) {
|
||||
m_frameBuffer->paintBoxRel(x1 - 7, y1 - h - 5, w + 14, h + 10, COL_MENUCONTENT_PLUS_6);
|
||||
m_frameBuffer->paintBoxRel(x1 - 4, y1 - h - 3, w + 8, h + 6, COL_MENUCONTENTSELECTED_PLUS_0);
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP]->RenderString(x1, y1, w + 1, str, COL_MENUCONTENTSELECTED_TEXT, 0);
|
||||
m_frameBuffer->blit();
|
||||
while (true)
|
||||
{
|
||||
g_RCInput->getMsg(&msg, &data, 100);
|
||||
|
Reference in New Issue
Block a user