mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CSignalBox: Set current tuner as the default frontend
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
#include <global.h>
|
#include <global.h>
|
||||||
#include <neutrino.h>
|
#include <neutrino.h>
|
||||||
|
#include <zapit/femanager.h>
|
||||||
#include "cc_frm_signalbars.h"
|
#include "cc_frm_signalbars.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
@@ -262,7 +263,7 @@ CSignalBox::CSignalBox(const int& xpos, const int& ypos, const int& w, const int
|
|||||||
initVarSigBox();
|
initVarSigBox();
|
||||||
vertical = vert;
|
vertical = vert;
|
||||||
|
|
||||||
sbx_frontend = frontend_ref;
|
sbx_frontend = (frontend_ref == NULL) ? CFEManager::getInstance()->getLiveFE() : frontend_ref;
|
||||||
x = xpos;
|
x = xpos;
|
||||||
y = ypos;
|
y = ypos;
|
||||||
width = w;
|
width = w;
|
||||||
|
@@ -272,7 +272,7 @@ class CSignalBox : public CComponentsForm
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
///class constructor for signal noise ratio.
|
///class constructor for signal noise ratio.
|
||||||
CSignalBox(const int& xpos, const int& ypos, const int& w, const int& h, CFrontend *frontend_ref, const bool vertical = true);
|
CSignalBox(const int& xpos, const int& ypos, const int& w, const int& h, CFrontend *frontend_ref = NULL, const bool vertical = true);
|
||||||
|
|
||||||
///returns the signal object, type = CSignalBar*
|
///returns the signal object, type = CSignalBar*
|
||||||
CSignalBar* getScaleObject(){return sbar;};
|
CSignalBar* getScaleObject(){return sbar;};
|
||||||
|
Reference in New Issue
Block a user