CSignalBar/CSignalNoiseRatioBar: add missing initSBItems()

This commit is contained in:
2013-07-22 23:12:26 +02:00
parent 7e58a0bcae
commit 3b3156d55d
2 changed files with 3 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ using namespace std;
CSignalBar::CSignalBar()
{
initVarSigBar();
initSBItems();
}
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()
{
initVarSnrBar();
initSBItems();
}
CSignalNoiseRatioBar::CSignalNoiseRatioBar(const int& xpos, const int& ypos, const int& w, const int& h, CFrontend *frontend_ref)

View File

@@ -254,7 +254,7 @@ class CSignalBox : public CComponentsForm
///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;};
///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;};
///refresh all current snr value, use this before paint().