CSignalBox: add missing member to set frontend

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0e2623fa54
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-21 (Wed, 21 Sep 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2016-09-21 18:40:32 +02:00
committed by vanhofen
parent 40ecb9d38c
commit df3ffab9b6
2 changed files with 6 additions and 4 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;};