Revert "CSignalBox: add missing member to set frontend"

This reverts commit 41aeb2aa5b.


Origin commit data
------------------
Commit: 0fbb5326da
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
This commit is contained in:
vanhofen
2016-09-28 12:55:02 +02:00
parent ce38ff3473
commit 9459a704f8
2 changed files with 4 additions and 6 deletions

View File

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

View File

@@ -296,10 +296,7 @@ class CSignalBox : public CComponentsForm, public CCTextScreen
///returns the signal object, type = CSignalBar* ///returns the signal object, type = CSignalBar*
CSignalBar* getScaleObject(){return sbar;}; CSignalBar* getScaleObject(){return sbar;};
///returns the signal noise ratio object, type = CSignalNoiseRatioBar* ///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' ///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;}; void setTextColor(const fb_pixel_t& caption_color){ sbx_caption_color = caption_color;};