Merge branch 'ni/cst-next' into ni/mp/cst-next

Origin commit data
------------------
Commit: 0cb151e760
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-24 (Sat, 24 Sep 2016)
This commit is contained in:
vanhofen
2016-09-24 01:06:20 +02:00
5 changed files with 13 additions and 9 deletions

View File

@@ -339,10 +339,9 @@ void CSignalBox::paintScale()
void CSignalBox::paint(bool do_save_bg)
{
//paint frame and body
if (!is_painted){
initSignalItems();
initSignalItems();
if (!is_painted)
paintForm(do_save_bg);
}
//paint current signal value
paintScale();

View File

@@ -296,7 +296,10 @@ class CSignalBox : public CComponentsForm, public CCTextScreen
///returns the signal object, type = CSignalBar*
CSignalBar* getScaleObject(){return sbar;};
///returns the signal noise ratio object, type = CSignalNoiseRatioBar*
CSignalNoiseRatioBar* getLabelObject(){return snrbar;};
CSignalNoiseRatioBar* getLabelObject(){return snrbar;}
///assigns the current used frontend, simplified a tuner object, see frontend_c.h
void setFrontEnd(CFrontend *frontend_ref){sbx_frontend = frontend_ref;}
///sets the caption color of signalbars, see also property 'sbx_caption_color'
void setTextColor(const fb_pixel_t& caption_color){ sbx_caption_color = caption_color;};