mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
@@ -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();
|
||||
|
@@ -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;};
|
||||
|
Reference in New Issue
Block a user