diff --git a/lib/libdvbsub/dvbsubtitle.cpp b/lib/libdvbsub/dvbsubtitle.cpp index df599d205..dd2d119b6 100644 --- a/lib/libdvbsub/dvbsubtitle.cpp +++ b/lib/libdvbsub/dvbsubtitle.cpp @@ -181,9 +181,6 @@ void cDvbSubtitleBitmaps::Draw(int &min_x, int &min_y, int &max_x, int &max_y) max_y = yoff + nh; } - if (Count()) /* sync framebuffer */ - CFrameBuffer::getInstance()->blit(); - // if(Count()) // dbgconverter("cDvbSubtitleBitmaps::Draw: finish, min/max screen: x=% d y= %d, w= %d, h= %d\n", min_x, min_y, max_x-min_x, max_y-min_y); // dbgconverter("\n"); @@ -269,7 +266,6 @@ void cDvbSubtitleConverter::Clear(void) // dbgconverter("cDvbSubtitleConverter::Clear: x=% d y= %d, w= %d, h= %d\n", min_x, min_y, max_x-min_x, max_y-min_y); if(running && (max_x-min_x > 0) && (max_y-min_y > 0)) { CFrameBuffer::getInstance()->paintBackgroundBoxRel (min_x, min_y, max_x-min_x, max_y-min_y); - CFrameBuffer::getInstance()->blit(); /* reset area to clear */ min_x = screen_w; min_y = screen_h; diff --git a/lib/libtuxtxt/tuxtxt.cpp b/lib/libtuxtxt/tuxtxt.cpp index 38365b7e8..82dac89e6 100644 --- a/lib/libtuxtxt/tuxtxt.cpp +++ b/lib/libtuxtxt/tuxtxt.cpp @@ -276,7 +276,6 @@ void ClearB(int color) { FillRect(0, 0, var_screeninfo.xres, var_screeninfo.yres, color); /* framebuffer */ FillRect(0, var_screeninfo.yres, var_screeninfo.xres, var_screeninfo.yres, color); /* backbuffer */ - CFrameBuffer::getInstance()->blit(); } #endif int GetCurFontWidth() @@ -2837,7 +2836,6 @@ void Menu_Init(char *menu, int current_pid, int menuitem, int hotindex) national_subset = national_subset_bak; Menu_HighlightLine(menu, MenuLine[menuitem], 1); Menu_UpdateHotlist(menu, hotindex, menuitem); - CFrameBuffer::getInstance()->blit(); } void ConfigMenu(int Init) @@ -3427,7 +3425,6 @@ void ConfigMenu(int Init) break; } } - CFrameBuffer::getInstance()->blit(); UpdateLCD(); /* update number of cached pages */ } while ((RCCode != RC_HOME) && (RCCode != RC_DBOX) && (RCCode != RC_MUTE)); @@ -3727,7 +3724,6 @@ void PageCatching() RCCode = -1; return; } - CFrameBuffer::getInstance()->blit(); UpdateLCD(); } while (RCCode != RC_OK); @@ -5195,7 +5191,6 @@ void DoFlashing(int startrow) } PosY += fontheight*factor; } - CFrameBuffer::getInstance()->blit(); } void RenderPage() @@ -5405,7 +5400,6 @@ void RenderPage() RenderCharFB(ns[0],&atrtable[ATR_WB]); RenderCharFB(ns[1],&atrtable[ATR_WB]); RenderCharFB(ns[2],&atrtable[ATR_WB]); - CFrameBuffer::getInstance()->blit(); tuxtxt_cache.pageupdate=0; } @@ -5655,7 +5649,6 @@ void CopyBB2FB() #else #ifdef HAVE_SPARK_HARDWARE f->blit2FB(lbb, var_screeninfo.xres, var_screeninfo.yres, 0, 0, 0, 0, true); - f->blit(); #else memcpy(lfb, lbb, fix_screeninfo.line_length*var_screeninfo.yres); #endif @@ -5755,7 +5748,6 @@ void CopyBB2FB() } #ifdef HAVE_SPARK_HARDWARE f->mark(0, 0, var_screeninfo.xres, var_screeninfo.yres); - f->blit(); #endif } diff --git a/src/driver/fb_window.cpp b/src/driver/fb_window.cpp index 4d0d5f4a1..99bf7451f 100644 --- a/src/driver/fb_window.cpp +++ b/src/driver/fb_window.cpp @@ -55,18 +55,15 @@ CFBWindow::~CFBWindow(void) void CFBWindow::paintBoxRel(const int _x, const int _y, const int _dx, const int _dy, const color_t _col, int radius, int type) { frameBuffer->paintBoxRel(x + _x, y + _y, _dx, _dy, _col, radius, type); - frameBuffer->blit(); } bool CFBWindow::paintIcon(const char * const _filename, const int _x, const int _y, const int _h, const color_t _offset) { frameBuffer->paintIcon(_filename, x + _x, y + _y, _h, _offset); - frameBuffer->blit(); return 0; } void CFBWindow::RenderString(const font_t _font, const int _x, const int _y, const int _width, const char * const _text, const color_t _color, const int _boxheight, const bool _utf8_encoded) { ((Font *)_font)->RenderString(x + _x, y + _y, _width, _text, _color, _boxheight, _utf8_encoded); - frameBuffer->blit(); } diff --git a/src/driver/framebuffer_ng.h b/src/driver/framebuffer_ng.h index 50789be42..d642722de 100644 --- a/src/driver/framebuffer_ng.h +++ b/src/driver/framebuffer_ng.h @@ -270,7 +270,6 @@ class CFrameBuffer bool blitToPrimary(unsigned int * data, int dx, int dy, int sw, int sh); void mark(int x, int y, int dx, int dy) { accel->mark(x, y, dx, dy); }; - void blit() {}; void paintMuteIcon(bool paint, int ax, int ay, int dx, int dy, bool paintFrame=true); enum diff --git a/src/driver/pictureviewer/pictureviewer.cpp b/src/driver/pictureviewer/pictureviewer.cpp index 0e23374f4..8c01f3ec4 100644 --- a/src/driver/pictureviewer/pictureviewer.cpp +++ b/src/driver/pictureviewer/pictureviewer.cpp @@ -421,7 +421,6 @@ void CPictureViewer::showBusy (int sx, int sy, int width, char r, char g, char b m_busy_width = width; m_busy_cpp = cpp; cs_free_uncached (fb_buffer); - CFrameBuffer::getInstance()->blit(); // dbout("Show Busy}\n"); } @@ -442,7 +441,6 @@ void CPictureViewer::hideBusy () free (m_busy_buffer); m_busy_buffer = NULL; } - CFrameBuffer::getInstance()->blit(); // dbout("Hide Busy}\n"); } void CPictureViewer::Cleanup () diff --git a/src/driver/simple_display.cpp b/src/driver/simple_display.cpp index 515718de8..cb79bd75c 100644 --- a/src/driver/simple_display.cpp +++ b/src/driver/simple_display.cpp @@ -153,14 +153,6 @@ void* CLCD::TimeThread(void *) while (CLCD::getInstance()->thread_running) { sleep(1); CLCD::getInstance()->showTime(); - /* hack, just if we missed the blit() somewhere - * this will update the framebuffer once per second */ - if (getenv("SPARK_NOBLIT") == NULL) { - CFrameBuffer *fb = CFrameBuffer::getInstance(); - /* plugin start locks the framebuffer... */ - if (!fb->Locked()) - fb->blit(); - } } return NULL; } diff --git a/src/gui/audiomute.cpp b/src/gui/audiomute.cpp index 18045a640..3fb627994 100644 --- a/src/gui/audiomute.cpp +++ b/src/gui/audiomute.cpp @@ -90,7 +90,6 @@ void CAudioMute::AudioMute(int newValue, bool isEvent) frameBuffer->setFbArea(CFrameBuffer::FB_PAINTAREA_MUTEICON1); } frameBuffer->fbNoCheck(false); - frameBuffer->blit(); if (doInit) CVolumeHelper::getInstance()->refresh(); @@ -120,5 +119,4 @@ void CAudioMute::enableMuteIcon(bool enable) do_paint_mute_icon = false; } frameBuffer->fbNoCheck(false); - frameBuffer->blit(); } diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index e91f4e1b5..439f1531e 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -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); diff --git a/src/gui/bedit/bouqueteditor_bouquets.cpp b/src/gui/bedit/bouqueteditor_bouquets.cpp index f7a525016..325a9ae9f 100644 --- a/src/gui/bedit/bouqueteditor_bouquets.cpp +++ b/src/gui/bedit/bouqueteditor_bouquets.cpp @@ -171,7 +171,6 @@ void CBEBouquetWidget::paintFoot() void CBEBouquetWidget::hide() { frameBuffer->paintBackgroundBoxRel(x,y, width,height+ButtonHeight); - frameBuffer->blit(); } void CBEBouquetWidget::updateSelection(unsigned int newpos) @@ -234,7 +233,6 @@ int CBEBouquetWidget::exec(CMenuTarget* parent, const std::string & /*actionKey* paintHead(); paint(); paintFoot(); - frameBuffer->blit(); bouquetsChanged = false; @@ -419,7 +417,6 @@ int CBEBouquetWidget::exec(CMenuTarget* parent, const std::string & /*actionKey* CNeutrinoApp::getInstance()->handleMsg( msg, data ); // kein canceling... } - frameBuffer->blit(); } hide(); return res; diff --git a/src/gui/bedit/bouqueteditor_channels.cpp b/src/gui/bedit/bouqueteditor_channels.cpp index c1681296f..edcf407cc 100644 --- a/src/gui/bedit/bouqueteditor_channels.cpp +++ b/src/gui/bedit/bouqueteditor_channels.cpp @@ -265,7 +265,6 @@ void CBEChannelWidget::hide() { frameBuffer->paintBackgroundBoxRel(x,y, width,height+footerHeight); clearItem2DetailsLine (); - frameBuffer->blit(); } void CBEChannelWidget::updateSelection(unsigned int newpos) @@ -315,7 +314,6 @@ int CBEChannelWidget::exec(CMenuTarget* parent, const std::string & /*actionKey* paintHead(); paint(); paintFoot(); - frameBuffer->blit(); channelsChanged = false; @@ -441,7 +439,6 @@ int CBEChannelWidget::exec(CMenuTarget* parent, const std::string & /*actionKey* { CNeutrinoApp::getInstance()->handleMsg( msg, data ); } - frameBuffer->blit(); } hide(); return res; diff --git a/src/gui/bedit/bouqueteditor_chanselect.cpp b/src/gui/bedit/bouqueteditor_chanselect.cpp index 4a20779ac..56bf80e6d 100644 --- a/src/gui/bedit/bouqueteditor_chanselect.cpp +++ b/src/gui/bedit/bouqueteditor_chanselect.cpp @@ -143,7 +143,6 @@ void CBEChannelSelectWidget::paintItem(uint32_t itemNr, int paintNr, bool pselec if(Channels[itemNr]->scrambled) frameBuffer->paintIcon(NEUTRINO_ICON_SCRAMBLED, x+width- 15 - 28, ypos, fheight); } - frameBuffer->blit(); } void CBEChannelSelectWidget::onOkKeyPressed() @@ -197,7 +196,6 @@ const struct button_label CBEChannelSelectButtons[] = void CBEChannelSelectWidget::paintFoot() { ::paintButtons(x, y + (height-footerHeight), width, 2, CBEChannelSelectButtons, width, footerHeight); - frameBuffer->blit(); #if 0 frameBuffer->paintIcon(NEUTRINO_ICON_BUTTON_OKAY, x+width- 3* ButtonWidth+ 8, y+height+1); diff --git a/src/gui/bookmarkmanager.cpp b/src/gui/bookmarkmanager.cpp index 42a2c237e..f8affa75e 100644 --- a/src/gui/bookmarkmanager.cpp +++ b/src/gui/bookmarkmanager.cpp @@ -357,7 +357,6 @@ const CBookmark * CBookmarkManager::getBookmark(CMenuTarget* parent) res = menu_return::RETURN_EXIT_ALL; } } - frameBuffer->blit(); } hide(); @@ -412,7 +411,6 @@ void CBookmarkManager::paintItem(int pos) CVFD::getInstance()->showMenuText(1, theBookmark.getUrl(), -1, true); // UTF-8 } } - frameBuffer->blit(); } //------------------------------------------------------------------------ @@ -422,7 +420,6 @@ void CBookmarkManager::hide() if (visible) { frameBuffer->paintBackgroundBoxRel(x, y, width, height+ info_height+ 5); - frameBuffer->blit(); visible = false; } } @@ -489,6 +486,5 @@ void CBookmarkManager::paint() paintFoot(); visible = true; - frameBuffer->blit(); } diff --git a/src/gui/bouquetlist.cpp b/src/gui/bouquetlist.cpp index c37d6655b..d79e64cbd 100644 --- a/src/gui/bouquetlist.cpp +++ b/src/gui/bouquetlist.cpp @@ -364,7 +364,6 @@ int CBouquetList::show(bool bShowChannelList) paintHead(); paint(); - frameBuffer->blit(); int oldselected = selected; int firstselected = selected+ 1; @@ -519,7 +518,6 @@ int CBouquetList::show(bool bShowChannelList) res = -2; } }; - frameBuffer->blit(); } hide(); @@ -536,7 +534,6 @@ int CBouquetList::show(bool bShowChannelList) void CBouquetList::hide() { frameBuffer->paintBackgroundBoxRel(x,y, width,height+10); - frameBuffer->blit(); } void CBouquetList::paintItem(int pos) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 5df900517..45c8faed2 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -632,7 +632,6 @@ int CChannelList::show() paintHead(); paint(); - frameBuffer->blit(); gettimeofday(&t2, NULL); fprintf(stderr, "CChannelList::show(): %llu ms to paint channellist\n", @@ -950,7 +949,6 @@ int CChannelList::show() res = - 2; } } - frameBuffer->blit(); } if (bouquet_changed) @@ -996,7 +994,6 @@ void CChannelList::hide() } frameBuffer->paintBackgroundBoxRel(x, y, full_width, height + info_height); clearItem2DetailsLine(); - frameBuffer->blit(); } bool CChannelList::showInfo(int number, int epgpos) @@ -1385,7 +1382,6 @@ int CChannelList::numericZap(int key) valstr[i+ 1] = 0; g_Font[SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP]->RenderString(ox+fw/3+ i*fw, oy+sy-3, sx, &valstr[i], COL_INFOBAR_TEXT); } - frameBuffer->blit(); showInfo(chn); lastchan = chn; diff --git a/src/gui/dboxinfo.cpp b/src/gui/dboxinfo.cpp index 9adfc472c..27901e561 100644 --- a/src/gui/dboxinfo.cpp +++ b/src/gui/dboxinfo.cpp @@ -83,7 +83,6 @@ int CDBoxInfoWidget::exec(CMenuTarget* parent, const std::string &) fader.StartFadeIn(); paint(); - frameBuffer->blit(); //int res = g_RCInput->messageLoop(); neutrino_msg_t msg; @@ -145,7 +144,6 @@ int CDBoxInfoWidget::exec(CMenuTarget* parent, const std::string &) } } } - frameBuffer->blit(); } hide(); @@ -157,7 +155,6 @@ int CDBoxInfoWidget::exec(CMenuTarget* parent, const std::string &) void CDBoxInfoWidget::hide() { frameBuffer->paintBackgroundBoxRel(x,y, width,height); - frameBuffer->blit(); } static void bytes2string(uint64_t bytes, char *result, size_t len) diff --git a/src/gui/epgplus.cpp b/src/gui/epgplus.cpp index 417d66637..7b6c19265 100644 --- a/src/gui/epgplus.cpp +++ b/src/gui/epgplus.cpp @@ -813,7 +813,6 @@ int EpgPlus::exec (CChannelList * pchannelList, int selectedChannelIndex, CBouqu this->footer->paintButtons (buttonLabels, sizeof (buttonLabels) / sizeof (button_label)); this->paint(); - frameBuffer->blit(); uint64_t timeoutEnd = CRCInput::calcTimeoutEnd (g_settings.timing[SNeutrinoSettings::TIMING_CHANLIST]); bool loop = true; @@ -1151,7 +1150,6 @@ int EpgPlus::exec (CChannelList * pchannelList, int selectedChannelIndex, CBouqu loop = false; else if (this->refreshFooterButtons) this->footer->paintButtons (buttonLabels, sizeof (buttonLabels) / sizeof (button_label)); - frameBuffer->blit(); } this->hide(); @@ -1190,7 +1188,6 @@ EpgPlus::TCChannelEventEntries::const_iterator EpgPlus::getSelectedEvent() const void EpgPlus::hide() { this->frameBuffer->paintBackgroundBoxRel (this->usableScreenX, this->usableScreenY, this->usableScreenWidth, this->usableScreenHeight); - frameBuffer->blit(); } void EpgPlus::paintChannelEntry (int position) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 2ae2370bb..27c3f1285 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -698,7 +698,6 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start g_Font[SNeutrinoSettings::FONT_TYPE_EPG_DATE]->RenderString(sx+ ox- botboxheight+ 8, sy+ oy- 3, widthr, ">", COL_MENUCONTENT_TEXT_PLUS_3); } - frameBuffer->blit(); if ( doLoop ) { neutrino_msg_t msg = 0; @@ -967,7 +966,6 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start } } } - frameBuffer->blit(); } hide(); fader.Stop(); @@ -985,7 +983,6 @@ void CEpgData::hide() } frameBuffer->paintBackgroundBoxRel(sx, sy, ox, oy); - frameBuffer->blit(); showTimerEventBar (false); } @@ -1162,7 +1159,6 @@ void CEpgData::showTimerEventBar (bool pshow) // hide only? if (! pshow) { frameBuffer->paintBackgroundBoxRel(sx,y,ox,h); - frameBuffer->blit(); return; } frameBuffer->paintBoxRel(sx,y,ox,h, COL_INFOBAR_SHADOW_PLUS_1, RADIUS_LARGE, CORNER_BOTTOM);//round @@ -1174,7 +1170,6 @@ void CEpgData::showTimerEventBar (bool pshow) else ::paintButtons(x, y, 0, (has_follow_screenings && !call_fromfollowlist) ? 2:1, &EpgButtons[1], aw, h); - frameBuffer->blit(); #if 0 // Button: Timer Record & Channelswitch if (g_settings.recording_type != CNeutrinoApp::RECORDING_OFF) diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index dc6c2cfb5..5e8f08778 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -314,7 +314,6 @@ int CNeutrinoEventList::exec(const t_channel_id channel_id, const std::string& c } paint(channel_id); showFunctionBar(true, channel_id); - frameBuffer->blit(); int oldselected = selected; @@ -664,7 +663,6 @@ int CNeutrinoEventList::exec(const t_channel_id channel_id, const std::string& c res = menu_return::RETURN_EXIT_ALL; } } - frameBuffer->blit(); } if (cc_infozone) @@ -684,7 +682,6 @@ int CNeutrinoEventList::exec(const t_channel_id channel_id, const std::string& c void CNeutrinoEventList::hide() { frameBuffer->paintBackgroundBoxRel(x,y, full_width,height); - frameBuffer->blit(); } CTimerd::CTimerEventTypes CNeutrinoEventList::isScheduled(t_channel_id channel_id, CChannelEvent * event, int * tID) @@ -808,7 +805,6 @@ void CNeutrinoEventList::paintItem(unsigned int pos, t_channel_id channel_idI) // paint 2nd line text g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMLARGE]->RenderString(x+10+iw, ypos+ fheight, width- 25- 20 -iw, evtlist[curpos].description, color, 0, true); } - frameBuffer->blit(); } void CNeutrinoEventList::paintDescription(int index) diff --git a/src/gui/filebrowser.cpp b/src/gui/filebrowser.cpp index 0c7805b4f..00c2e5803 100644 --- a/src/gui/filebrowser.cpp +++ b/src/gui/filebrowser.cpp @@ -853,7 +853,6 @@ bool CFileBrowser::exec(const char * const dirname) ChangeDir(name, selection); //paint(); paintFoot(); - frameBuffer->blit(); int oldselected = selected; @@ -1127,7 +1126,6 @@ bool CFileBrowser::exec(const char * const dirname) loop = false; } } - frameBuffer->blit(); } hide(); @@ -1234,7 +1232,6 @@ void CFileBrowser::addRecursiveDir(CFileList * re_filelist, std::string rpath, b void CFileBrowser::hide() { frameBuffer->paintBackgroundBoxRel(x,y, width,height); - frameBuffer->blit(); } //------------------------------------------------------------------------ diff --git a/src/gui/infoclock.cpp b/src/gui/infoclock.cpp index ec537fc59..9ea868ce9 100644 --- a/src/gui/infoclock.cpp +++ b/src/gui/infoclock.cpp @@ -64,7 +64,6 @@ void CInfoClock::paintTime( bool show_dot) int x_diff = (time_width - g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME]->getRenderWidth(timestr)) / 2; frameBuffer->paintBoxRel(clock_x, y, time_width, time_height, COL_MENUCONTENT_PLUS_0, RADIUS_SMALL); g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME]->RenderString(clock_x + x_diff, y + digit_h + digit_offset + ((time_height - digit_h) / 2), time_width, timestr, COL_MENUCONTENT_TEXT); - frameBuffer->blit(); } void* CInfoClock::TimerProc(void *arg) @@ -106,6 +105,5 @@ void CInfoClock::StopClock() pthread_cancel(thrTimer); thrTimer = 0; frameBuffer->paintBackgroundBoxRel(clock_x, y, time_width, time_height); - frameBuffer->blit(); } } diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index 66afa00fc..b00b0f351 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -809,13 +809,10 @@ void CInfoViewer::showTitle (const int ChanNum, const std::string & Channel, con infoViewerBB->showIcon_RadioText(false); } - if (!calledFromNumZap) { //loop(fadeValue, show_dot , fadeIn); loop(show_dot); } - else - frameBuffer->blit(); aspectRatio = 0; fileplay = 0; } @@ -855,7 +852,6 @@ void CInfoViewer::loop(bool show_dot) CVolume::getInstance()->showVolscale(); while (!(res & (messages_return::cancel_info | messages_return::cancel_all))) { - frameBuffer->blit(); g_RCInput->getMsgAbsoluteTimeout (&msg, &data, &timeoutEnd); #ifdef ENABLE_PIP @@ -1132,10 +1128,8 @@ void CInfoViewer::showRadiotext() if (g_Radiotext->RT_Text[i][0] != '\0') lines++; } if (lines == 0) - { frameBuffer->paintBackgroundBox(rt_x, rt_y, rt_w, rt_h); - frameBuffer->blit(); - } + if (g_Radiotext->RT_MsgShow) { if (g_Radiotext->S_RtOsdTitle == 1) { @@ -1150,7 +1144,6 @@ void CInfoViewer::showRadiotext() frameBuffer->paintBoxRel(rt_x+SHADOW_OFFSET, rt_y+SHADOW_OFFSET, rt_dx, rt_dy, COL_INFOBAR_SHADOW_PLUS_0, RADIUS_LARGE, CORNER_TOP); frameBuffer->paintBoxRel(rt_x, rt_y, rt_dx, rt_dy, COL_INFOBAR_PLUS_0, RADIUS_LARGE, CORNER_TOP); g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->RenderString(rt_x+10, rt_y+ 30, rt_dx-20, stext[0], COL_INFOBAR_TEXT, 0, RTisIsUTF); // UTF-8 - frameBuffer->blit(); } // yoff = 17; ii = 1; @@ -1197,7 +1190,6 @@ void CInfoViewer::showRadiotext() for (int i = g_Radiotext->S_RtOsdRows-1; i > ind; i--) g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->RenderString(rts_x, rts_y + (ii++)*rt_dy, rts_dx, g_Radiotext->RT_Text[i], COL_INFOBAR_TEXT, 0, RTisIsUTF); // UTF-8 } - frameBuffer->blit(); } #if 0 // + RT-Plus or PS-Text = 2 rows @@ -1926,7 +1918,6 @@ void CInfoViewer::killTitle() } killInfobarText(); - frameBuffer->blit(); } showButtonBar = false; } diff --git a/src/gui/motorcontrol.cpp b/src/gui/motorcontrol.cpp index a584af1e4..43ff2038d 100644 --- a/src/gui/motorcontrol.cpp +++ b/src/gui/motorcontrol.cpp @@ -147,7 +147,6 @@ int CMotorControl::exec(CMenuTarget* parent, const std::string &) paintHead(); paintMenu(); paintStatus(); - frameBuffer->blit(); msg = CRCInput::RC_nokey; while (!(msg == CRCInput::RC_setup) && (!(msg == CRCInput::RC_home))) @@ -313,7 +312,6 @@ int CMotorControl::exec(CMenuTarget* parent, const std::string &) if ((msg >= CRCInput::RC_WithData) && (msg < CRCInput::RC_WithData + 0x10000000)) delete[] (unsigned char*) data; } - frameBuffer->blit(); } hide(); @@ -356,7 +354,6 @@ void CMotorControl::motorStep(bool west) void CMotorControl::hide() { frameBuffer->paintBackgroundBoxRel(x, y, width, height + 20); - frameBuffer->blit(); stopSatFind(); } diff --git a/src/gui/moviebrowser.cpp b/src/gui/moviebrowser.cpp index 3e5bb55b7..8b409a68c 100644 --- a/src/gui/moviebrowser.cpp +++ b/src/gui/moviebrowser.cpp @@ -1013,7 +1013,6 @@ int CMovieBrowser::exec(const char* path) refreshTitle(); onSetGUIWindow(m_settings.gui); - m_pcWindow->blit(); bool loop = true; bool result; @@ -1076,7 +1075,6 @@ int CMovieBrowser::exec(const char* path) loop = false; } } - m_pcWindow->blit(); if ( msg <= CRCInput::RC_MaxRC ) timeoutEnd = CRCInput::calcTimeoutEnd(timeout); // calcualate next timeout @@ -1307,7 +1305,6 @@ printf("CMovieBrowser::refreshMovieInfo\n"); m_pcWindow->paintHLineRel(lx, flogo_w+2, ly+flogo_h+1, COL_WHITE); } } - m_pcWindow->blit(); } void CMovieBrowser::info_hdd_level(bool paint_hdd) diff --git a/src/gui/pictureviewer.cpp b/src/gui/pictureviewer.cpp index 36522e865..e53b18e05 100644 --- a/src/gui/pictureviewer.cpp +++ b/src/gui/pictureviewer.cpp @@ -263,7 +263,6 @@ int CPictureViewerGui::show() hide(); update=false; paint(); - frameBuffer->blit(); } if (audioplayer) @@ -636,7 +635,6 @@ int CPictureViewerGui::show() loop = false; } } - frameBuffer->blit(); } hide(); diff --git a/src/gui/pluginlist.cpp b/src/gui/pluginlist.cpp index be51bfbb0..664deee9b 100644 --- a/src/gui/pluginlist.cpp +++ b/src/gui/pluginlist.cpp @@ -142,7 +142,6 @@ int CPluginList::exec(CMenuTarget* parent, const std::string & /*actionKey*/) fader.StartFadeIn(); paint(); - frameBuffer->blit(); uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings::TIMING_MENU]); @@ -250,7 +249,6 @@ int CPluginList::exec(CMenuTarget* parent, const std::string & /*actionKey*/) loop = false; res = menu_return::RETURN_EXIT_ALL; } - frameBuffer->blit(); } hide(); @@ -261,7 +259,6 @@ int CPluginList::exec(CMenuTarget* parent, const std::string & /*actionKey*/) void CPluginList::hide() { frameBuffer->paintBackgroundBoxRel(x,y, width+15,height); - frameBuffer->blit(); } void CPluginList::paintItem(int pos) diff --git a/src/gui/scan.cpp b/src/gui/scan.cpp index 57fc0d531..0d2613cae 100644 --- a/src/gui/scan.cpp +++ b/src/gui/scan.cpp @@ -313,7 +313,6 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey) tuned = -1; paint(test); - frameBuffer->blit(); /* go */ if(test) { @@ -360,7 +359,6 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey) } while (!(msg == CRCInput::RC_timeout)); showSNR(); - frameBuffer->blit(); } /* to join scan thread */ g_Zapit->stopScan(); @@ -373,7 +371,6 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey) if(!test) { CComponentsHeader header(x, y, width, hheight, success ? LOCALE_SCANTS_FINISHED : LOCALE_SCANTS_FAILED, NULL /*no header icon*/); header.paint(CC_SAVE_SCREEN_NO); - // frameBuffer->blit(); // ?? uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(0xFFFF); do { g_RCInput->getMsgAbsoluteTimeout(&msg, &data, &timeoutEnd); @@ -494,8 +491,6 @@ neutrino_msg_t CScanTs::handleMsg(neutrino_msg_t msg, neutrino_msg_data_t data) } if ((msg >= CRCInput::RC_WithData) && (msg < CRCInput::RC_WithData + 0x10000000)) delete[] (unsigned char*) data; - /* almost all messages paint something, so blit here */ - frameBuffer->blit(); return msg; } diff --git a/src/gui/screensetup.cpp b/src/gui/screensetup.cpp index 7f875712b..b1662e478 100644 --- a/src/gui/screensetup.cpp +++ b/src/gui/screensetup.cpp @@ -91,7 +91,6 @@ int CScreenSetup::exec(CMenuTarget* parent, const std::string &) y_coord[1] = g_settings.screen_EndY; paint(); - frameBuffer->blit(); selected = 0; @@ -220,7 +219,7 @@ int CScreenSetup::exec(CMenuTarget* parent, const std::string &) res = menu_return::RETURN_EXIT_ALL; } } - frameBuffer->blit(); + } hide(); @@ -232,7 +231,6 @@ void CScreenSetup::hide() int w = (int) frameBuffer->getScreenWidth(true); int h = (int) frameBuffer->getScreenHeight(true); frameBuffer->paintBackgroundBox(0, 0, w, h); - frameBuffer->blit(); } void CScreenSetup::paintBorder( int pselected ) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 5ab2044d6..6eb3c2d92 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -143,7 +143,6 @@ int CStreamInfo2::doSignalStrengthLoop () int dheight = g_Font[font_info]->getHeight (); maxb = minb = lastb = tmp_rate = 0; ts_setup (); - frameBuffer->blit(); while (1) { neutrino_msg_data_t data; @@ -245,7 +244,6 @@ int CStreamInfo2::doSignalStrengthLoop () // -- push other events if (msg > CRCInput::RC_MaxRC && msg != CRCInput::RC_timeout) CNeutrinoApp::getInstance ()->handleMsg (msg, data); - frameBuffer->blit(); } delete sigscale; sigscale = NULL; @@ -259,7 +257,6 @@ void CStreamInfo2::hide () { pip->hide(true); frameBuffer->paintBackgroundBoxRel (0, 0, max_width, max_height); - frameBuffer->blit(); } void CStreamInfo2::paint_signal_fe_box(int _x, int _y, int w, int h) diff --git a/src/gui/timeosd.cpp b/src/gui/timeosd.cpp index 8fc7a8306..6b0cd6488 100644 --- a/src/gui/timeosd.cpp +++ b/src/gui/timeosd.cpp @@ -106,7 +106,6 @@ void CTimeOSD::update(time_t time_show) strftime(cDisplayTime, 9, "%T", gmtime(&time_show)); frameBuffer->paintBoxRel(m_xend - m_width - t1, m_y, m_width, m_height, color1,RADIUS_SMALL); g_Font[TIMEOSD_FONT]->RenderString(m_xend - m_width - (t1/2), m_y + m_height, m_width, cDisplayTime, color2); - frameBuffer->blit(); } void CTimeOSD::updatePos(short runningPercent) @@ -121,7 +120,6 @@ void CTimeOSD::updatePos(short runningPercent) timescale->setBlink(); timescale->setRgb(0, 100, 70); timescale->paint(); - frameBuffer->blit(); } void CTimeOSD::update(int position, int duration) @@ -151,7 +149,6 @@ void CTimeOSD::hide() frameBuffer->paintBackgroundBoxRel(m_xend - m_width - t1, m_y, m_width, m_height); timescale->reset(); frameBuffer->paintBackgroundBoxRel(m_xstart-2, m_y, 2+BARLEN+2, m_height); //clear border - frameBuffer->blit(); visible=false; } diff --git a/src/gui/timerlist.cpp b/src/gui/timerlist.cpp index ec3249de3..217bff08a 100644 --- a/src/gui/timerlist.cpp +++ b/src/gui/timerlist.cpp @@ -487,7 +487,6 @@ int CTimerList::show() updateEvents(); update=false; paint(); - frameBuffer->blit(); } g_RCInput->getMsgAbsoluteTimeout( &msg, &data, &timeoutEnd ); @@ -669,7 +668,6 @@ int CTimerList::show() res = menu_return::RETURN_EXIT_ALL; } } - frameBuffer->blit(); } hide(); fader.Stop(); @@ -682,7 +680,6 @@ void CTimerList::hide() if (visible) { frameBuffer->paintBackgroundBoxRel(x, y, width + SHADOW_OFFSET, height + SHADOW_OFFSET); - frameBuffer->blit(); visible = false; } } diff --git a/src/gui/widget/colorchooser.cpp b/src/gui/widget/colorchooser.cpp index 2fb1fe150..e2e060725 100644 --- a/src/gui/widget/colorchooser.cpp +++ b/src/gui/widget/colorchooser.cpp @@ -126,7 +126,6 @@ int CColorChooser::exec(CMenuTarget* parent, const std::string &) paint(); setColor(); - frameBuffer->blit(); int selected = 0; @@ -228,7 +227,6 @@ int CColorChooser::exec(CMenuTarget* parent, const std::string &) res = menu_return::RETURN_EXIT_ALL; } } - frameBuffer->blit(); } hide(); @@ -242,7 +240,6 @@ int CColorChooser::exec(CMenuTarget* parent, const std::string &) void CColorChooser::hide() { frameBuffer->paintBackgroundBoxRel(x,y, width,height); - frameBuffer->blit(); } void CColorChooser::paint() diff --git a/src/gui/widget/keychooser.cpp b/src/gui/widget/keychooser.cpp index 6a4e42dc6..41f325273 100644 --- a/src/gui/widget/keychooser.cpp +++ b/src/gui/widget/keychooser.cpp @@ -117,7 +117,7 @@ int CKeyChooserItem::exec(CMenuTarget* parent, const std::string &) parent->hide(); paint(); - CFrameBuffer::getInstance()->blit(); + g_RCInput->clearRCMsg(); timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings @@ -145,7 +145,6 @@ int CKeyChooserItem::exec(CMenuTarget* parent, const std::string &) void CKeyChooserItem::hide() { CFrameBuffer::getInstance()->paintBackgroundBoxRel(x, y, width, height); - CFrameBuffer::getInstance()->blit(); } void CKeyChooserItem::paint() diff --git a/src/gui/widget/listbox.cpp b/src/gui/widget/listbox.cpp index 935ca7923..f4a602d4a 100644 --- a/src/gui/widget/listbox.cpp +++ b/src/gui/widget/listbox.cpp @@ -112,7 +112,6 @@ void CListBox::paintItem(int pos) void CListBox::hide() { frameBuffer->paintBackgroundBoxRel(x,y, width,height+ButtonHeight); - frameBuffer->blit(); } unsigned int CListBox::getItemCount() @@ -181,7 +180,6 @@ int CListBox::exec(CMenuTarget* parent, const std::string & /*actionKey*/) paintHead(); paint(); paintFoot(); - frameBuffer->blit(); bool loop=true; modified = false; @@ -259,7 +257,6 @@ int CListBox::exec(CMenuTarget* parent, const std::string & /*actionKey*/) CNeutrinoApp::getInstance()->handleMsg( msg, data ); // kein canceling... } - frameBuffer->blit(); } hide(); diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index d55e2d295..7a92def87 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -528,8 +528,6 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &) saveScreen(); } paint(); - frameBuffer->blit(); - int retval = menu_return::RETURN_REPAINT; uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings::TIMING_MENU]); @@ -561,7 +559,6 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &) paint(); break; } - frameBuffer->blit(); continue; } for (unsigned int i= 0; i< items.size(); i++) { @@ -747,7 +744,6 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &) // recalculate timeout for RC-keys timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings::TIMING_MENU]); } - frameBuffer->blit(); } while ( msg!=CRCInput::RC_timeout ); hide(); @@ -784,7 +780,6 @@ void CMenuWidget::hide() //paintHint(-1); } paintHint(-1); - frameBuffer->blit(); /* setActive() paints item for hidden parent menu, if called from child menu */ for (unsigned int count = 0; count < items.size(); count++) diff --git a/src/gui/widget/msgbox.cpp b/src/gui/widget/msgbox.cpp index cf8da2ad2..65c5a22df 100644 --- a/src/gui/widget/msgbox.cpp +++ b/src/gui/widget/msgbox.cpp @@ -519,7 +519,6 @@ bool CMsgBox::hide(void) // delete window // delete m_pcWindow; m_pcWindow->paintBackgroundBoxRel(m_cBoxFrame.iX, m_cBoxFrame.iY, m_cBoxFrame.iWidth, m_cBoxFrame.iHeight); - m_pcWindow->blit(); m_pcWindow = NULL; return (true); } @@ -646,7 +645,6 @@ int CMsgBox::exec( int timeout, int returnDefaultOnTimeout) // show message box paint(); - m_pcWindow->blit(); if (m_pcWindow == NULL) { return res; /* out of memory */ @@ -726,7 +724,7 @@ int CMsgBox::exec( int timeout, int returnDefaultOnTimeout) res = menu_return::RETURN_EXIT_ALL; loop = false; } - m_pcWindow->blit(); + } hide(); diff --git a/src/gui/widget/progresswindow.cpp b/src/gui/widget/progresswindow.cpp index 0f7ae6b05..c96d095ad 100644 --- a/src/gui/widget/progresswindow.cpp +++ b/src/gui/widget/progresswindow.cpp @@ -93,7 +93,7 @@ void CProgressWindow::showGlobalStatus(const unsigned int prog) } //hintergrund frameBuffer->paintBox(pos, globalstatusY, x+width-10, globalstatusY+10, COL_MENUCONTENT_PLUS_2); - frameBuffer->blit(); + #ifdef VFD_UPDATE CVFD::getInstance()->showProgressBar2(-1,NULL,global_progress); #endif // VFD_UPDATE @@ -119,7 +119,6 @@ void CProgressWindow::showLocalStatus(const unsigned int prog) } //hintergrund frameBuffer->paintBox(pos, localstatusY, x+width-10, localstatusY+10, COL_MENUCONTENT_PLUS_2); - frameBuffer->blit(); #ifdef VFD_UPDATE CVFD::getInstance()->showProgressBar2(local_progress); @@ -133,7 +132,6 @@ void CProgressWindow::showStatusMessageUTF(const std::string & text) statusText = text; frameBuffer->paintBox(x, statusTextY-mheight, x+width, statusTextY, COL_MENUCONTENT_PLUS_0); g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(x+10, statusTextY, width-20, text, COL_MENUCONTENT_TEXT, 0, true); // UTF-8 - frameBuffer->blit(); #ifdef VFD_UPDATE CVFD::getInstance()->showProgressBar2(-1,text.c_str()); // set local text in VFD @@ -150,7 +148,6 @@ unsigned int CProgressWindow::getGlobalStatus(void) void CProgressWindow::hide() { frameBuffer->paintBackgroundBoxRel(x,y, width,height); - frameBuffer->blit(); } void CProgressWindow::paint() @@ -185,7 +182,6 @@ int CProgressWindow::exec(CMenuTarget* parent, const std::string & /*actionKey*/ parent->hide(); } paint(); - frameBuffer->blit(); return menu_return::RETURN_REPAINT; } diff --git a/src/gui/widget/stringinput.cpp b/src/gui/widget/stringinput.cpp index 29c44b836..d4c6e9080 100644 --- a/src/gui/widget/stringinput.cpp +++ b/src/gui/widget/stringinput.cpp @@ -445,7 +445,6 @@ int CStringInput::exec( CMenuTarget* parent, const std::string & ) frameBuffer->SaveScreen(x, y, width + SHADOW_OFFSET, height + SHADOW_OFFSET, pixbuf); paint(); - frameBuffer->blit(); uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings::TIMING_MENU]); @@ -552,7 +551,6 @@ int CStringInput::exec( CMenuTarget* parent, const std::string & ) } } } - frameBuffer->blit(); } hide(); @@ -596,7 +594,6 @@ int CStringInput::handleOthers(const neutrino_msg_t /*msg*/, const neutrino_msg_ void CStringInput::hide() { frameBuffer->paintBackgroundBoxRel(x, y, width + SHADOW_OFFSET, height + SHADOW_OFFSET); - frameBuffer->blit(); } void CStringInput::paint(bool sms) @@ -857,7 +854,6 @@ int CPINInput::exec( CMenuTarget* parent, const std::string & ) strcat(value, " "); paint(); - frameBuffer->blit(); bool loop = true; @@ -908,7 +904,7 @@ int CPINInput::exec( CMenuTarget* parent, const std::string & ) } } } - frameBuffer->blit(); + } hide(); diff --git a/src/gui/widget/stringinput_ext.cpp b/src/gui/widget/stringinput_ext.cpp index 39b062ecb..d7111334e 100644 --- a/src/gui/widget/stringinput_ext.cpp +++ b/src/gui/widget/stringinput_ext.cpp @@ -158,7 +158,6 @@ int CExtendedInput::exec( CMenuTarget* parent, const std::string & ) strcpy(oldval, value); strcpy(dispval, value); paint(); - frameBuffer->blit(); uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings::TIMING_MENU]); @@ -276,7 +275,6 @@ int CExtendedInput::exec( CMenuTarget* parent, const std::string & ) *cancel = true; res = menu_return::RETURN_EXIT_ALL; } - frameBuffer->blit(); } hide(); @@ -297,7 +295,6 @@ int CExtendedInput::exec( CMenuTarget* parent, const std::string & ) void CExtendedInput::hide() { frameBuffer->paintBackgroundBoxRel(x, y, width, height); - frameBuffer->blit(); } void CExtendedInput::paint() diff --git a/src/gui/widget/textbox.cpp b/src/gui/widget/textbox.cpp index 41a8fad31..d45ac125c 100644 --- a/src/gui/widget/textbox.cpp +++ b/src/gui/widget/textbox.cpp @@ -499,7 +499,6 @@ void CTextBox::refreshScroll(void) m_cFrameScrollRel.iWidth, m_cFrameScrollRel.iHeight, m_textBackgroundColor); } - frameBuffer->blit(); } void CTextBox::refreshText(void) @@ -553,7 +552,6 @@ void CTextBox::refreshText(void) m_textColor, 0, true); // UTF-8 y += m_nFontTextHeight; } - frameBuffer->blit(); } void CTextBox::scrollPageDown(const int pages) @@ -665,7 +663,6 @@ void CTextBox::hide (void) if (m_nPaintBackground) frameBuffer->paintBackgroundBoxRel(m_cFrame.iX, m_cFrame.iY, m_cFrame.iWidth, m_cFrame.iHeight); - frameBuffer->blit(); frameBuffer = NULL; }