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