mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
gui/components/cc_frm_clock.cpp: add method to enable/disable auto-blit()
Conflicts:
src/gui/components/cc_frm_clock.cpp
Origin commit data
------------------
Commit: 84cf3865b5
Author: martii <m4rtii@gmx.de>
Date: 2014-06-19 (Thu, 19 Jun 2014)
This commit is contained in:
@@ -78,6 +78,8 @@ CComponentsFrmClock::CComponentsFrmClock( const int& x_pos, const int& y_pos, c
|
||||
|
||||
activeClock = activ;
|
||||
|
||||
may_blit = true;
|
||||
|
||||
initCCLockItems();
|
||||
initParent(parent);
|
||||
|
||||
@@ -339,6 +341,9 @@ void CComponentsFrmClock::paint(bool do_save_bg)
|
||||
|
||||
//paint form contents
|
||||
paintForm(do_save_bg);
|
||||
|
||||
if (may_blit)
|
||||
frameBuffer->blit();
|
||||
}
|
||||
|
||||
void CComponentsFrmClock::setClockFontSize(int font_size)
|
||||
|
Reference in New Issue
Block a user