mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
Merge remote-tracking branch 'tuxbox/master'
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
#include <system/debug.h>
|
||||
#include <driver/fontrenderer.h>
|
||||
|
||||
#include <sigc++/bind.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -137,8 +136,9 @@ void CComponentsHeader::initVarHeader( const int& x_pos, const int& y_pos, const
|
||||
cch_cl_sec_format = cch_cl_format;
|
||||
cch_cl_enable_run = false;
|
||||
|
||||
//init slot to ensure paint segments after painted background
|
||||
sl_repaint = sigc::bind<0>(sigc::mem_fun1(*this, &CComponentsHeader::forceItemsPaint), true);
|
||||
//init slot before re paint of header, paint() is already done
|
||||
sl_form_repaint = sigc::bind(sigc::mem_fun(*this, &CComponentsHeader::kill), col_body, -1, CC_FBDATA_TYPES, false);
|
||||
OnBeforeRePaint.connect(sl_form_repaint);
|
||||
|
||||
addContextButton(buttons);
|
||||
initCCItems();
|
||||
@@ -524,11 +524,6 @@ void CComponentsHeader::initCaption()
|
||||
*/
|
||||
//height = max(height, cch_text_obj->getHeight());
|
||||
}
|
||||
|
||||
if(!OnAfterPaintBg.empty())
|
||||
OnAfterPaintBg.clear();
|
||||
//init slot to handle repaint of text if background was repainted
|
||||
OnAfterPaintBg.connect(sl_repaint);
|
||||
}
|
||||
|
||||
void CComponentsHeader::initCCItems()
|
||||
|
Reference in New Issue
Block a user