mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
CSignalBar/CSignalNoiseRatioBar: add missing initSBItems()
This commit is contained in:
@@ -39,6 +39,7 @@ using namespace std;
|
|||||||
CSignalBar::CSignalBar()
|
CSignalBar::CSignalBar()
|
||||||
{
|
{
|
||||||
initVarSigBar();
|
initVarSigBar();
|
||||||
|
initSBItems();
|
||||||
}
|
}
|
||||||
|
|
||||||
CSignalBar::CSignalBar(const int& xpos, const int& ypos, const int& w, const int& h, CFrontend *frontend_ref)
|
CSignalBar::CSignalBar(const int& xpos, const int& ypos, const int& w, const int& h, CFrontend *frontend_ref)
|
||||||
@@ -220,6 +221,7 @@ void CSignalBar::Repaint()
|
|||||||
CSignalNoiseRatioBar::CSignalNoiseRatioBar()
|
CSignalNoiseRatioBar::CSignalNoiseRatioBar()
|
||||||
{
|
{
|
||||||
initVarSnrBar();
|
initVarSnrBar();
|
||||||
|
initSBItems();
|
||||||
}
|
}
|
||||||
|
|
||||||
CSignalNoiseRatioBar::CSignalNoiseRatioBar(const int& xpos, const int& ypos, const int& w, const int& h, CFrontend *frontend_ref)
|
CSignalNoiseRatioBar::CSignalNoiseRatioBar(const int& xpos, const int& ypos, const int& w, const int& h, CFrontend *frontend_ref)
|
||||||
|
@@ -254,7 +254,7 @@ class CSignalBox : public CComponentsForm
|
|||||||
|
|
||||||
///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;};
|
||||||
///sets the caption color of signalbars, see also property 'sbx_caption_color'
|
///get caption color of signalbars, see also property 'sbx_caption_color'
|
||||||
fb_pixel_t getTextColor(){return sbx_caption_color;};
|
fb_pixel_t getTextColor(){return sbx_caption_color;};
|
||||||
|
|
||||||
///refresh all current snr value, use this before paint().
|
///refresh all current snr value, use this before paint().
|
||||||
|
Reference in New Issue
Block a user