Logo Search packages:      
Sourcecode: ebumeter version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes

Ebu_r128_disp Class Reference

Collaboration diagram for Ebu_r128_disp:
Collaboration graph
[legend]

List of all members.

Public Types

enum  { PAUSE, START, RESET }

Public Member Functions

 Ebu_r128_disp (X_window *parent, X_callback *callb, int xp, int yp, XftColor *bg)
 Ebu_r128_disp (const Ebu_r128_disp &)
Ebu_r128_dispoperator= (const Ebu_r128_disp &)
void set_integ (float v_i)
void set_level (float vm, float pm, float vs, float ps)
void set_range (float v_0, float v_1)
void set_scale (bool abs, bool ext)

Static Public Member Functions

static void fini (X_display *disp)
static int init (X_display *disp, const char *shared)

Private Types

enum  {
  BMODEM, BMODES, BSCALE09, BSCALE18,
  BSCALELU, BSCALEFS, BPAUSE, BSTART,
  BRESET
}
enum  {
  IDIV = 12, IMAR = 20, X0 = IMAR, X1 = X0 + 27 * IDIV + 1,
  IMGS = X1 + IMAR, RMAR = 200, XS = X1 + RMAR, Y0 = 3,
  Y1 = 13, Y2 = 21, H2 = 8, Y3 = 33,
  H3 = 4, Y4 = 40, H4 = 4, Y5 = 52,
  YS = 75
}

Private Member Functions

float db2pix (float v)
void disp_integ (void)
void disp_level (void)
void disp_range (void)
void expose (XExposeEvent *E)
void handle_callb (int type, X_window *W, XEvent *E)
void handle_event (XEvent *E)
void plot_level (int z0, int z1, int y, int dy)
void plot_range (int z0, int z1, int y, int dy)

Static Private Member Functions

static int loadimg (X_display *disp, const char *sdir, const char *file, XImage **imag)

Private Attributes

bool _abs
Pbutt1_bmodeM
Pbutt1_bmodeS
Pbutt1_bpause
Pbutt1_breset
Pbutt1_bscale09
Pbutt1_bscale18
Pbutt1_bscaleFS
Pbutt1_bscaleLU
Pbutt1_bstart
X_callback * _callb
float _db2pix
int _dp
XImage * _imag0
XImage * _imag1
int _k0
int _k1
int _ki
int _kp
int _kr
int _pixref
float _pm
float _ps
XImage * _scale
X_textip * _t_integ
X_textip * _t_range
X_textip * _t_unit
XImage * _ticks
float _v0
float _v1
float _vi
float _vm
float _vs

Static Private Attributes

static XImage * _ibmodeM = 0
static XImage * _ibmodeS = 0
static XImage * _ibpause = 0
static XImage * _ibreset = 0
static XImage * _ibscale09 = 0
static XImage * _ibscale18 = 0
static XImage * _ibscaleFS = 0
static XImage * _ibscaleLU = 0
static XImage * _ibstart = 0
static XImage * _ihmeter09 = 0
static XImage * _ihmeter18 = 0
static XImage * _ihmeterbg = 0
static XImage * _ihscale09a = 0
static XImage * _ihscale09r = 0
static XImage * _ihscale18a = 0
static XImage * _ihscale18r = 0
static XImage * _ihticks = 0

Detailed Description

Definition at line 31 of file ebu_r128_disp.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index