1 #ifndef _SIGNALSTATUS_H_
2 #define _SIGNALSTATUS_H_
4 #include "bcwindowbase.h"
5 #include "bcsubwindow.h"
8 #include "devicedvbinput.inc"
11 class SignalStatus : public BC_SubWindow
13 friend DeviceDVBInput;
14 enum { pad0 = 3, pad1 = 8,
17 pwr_w = 32, pwr_h = 4,
18 snr_w = 32, snr_h = 4,
19 ber_w = 32, ber_h = 4,
20 unc_w = 32, unc_h = 4,
23 DeviceDVBInput *dvb_input;
24 BC_Title *channel_title;
32 void update_lck(int v);
33 void update_crr(int v);
34 void update_pwr(int v);
35 void update_snr(int v);
36 void update_ber(int v);
37 void update_unc(int v);
41 void create_objects();
42 static int calculate_w(BC_WindowBase *wdw);
43 static int calculate_h(BC_WindowBase *wdw);
44 void disconnect() { dvb_input = 0; }
47 SignalStatus(BC_WindowBase *wdw, int x, int y);