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

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

Kmeter Class Reference

List of all members.

Public Types

enum  { HOR, VER }
enum  { K20, K14 }
enum  { LINEW = 6 }

Public Member Functions

 Kmeter (X_window *parent, int xpos, int ypos, int geom, int kval)
 Kmeter (const Kmeter &)
Kmeteroperator= (const Kmeter &)
XImage * scale (void) const
void update (float v1, float v2)
int xs (void) const
int ys (void) const

Static Public Member Functions

static void load_images (X_display *disp, const char *path)

Static Public Attributes

static XImage * _k14_scaleH = 0
static XImage * _k14_scaleV = 0
static XImage * _k20_scaleH = 0
static XImage * _k20_scaleV = 0

Private Member Functions

int mapk14 (float v)
int mapk20 (float v)

Private Attributes

int _dp
int _geom
XImage * _imag0
XImage * _imag1
int _kp
int _kr
int _kval
Pixmap _pixm
int _xs
int _ys

Static Private Attributes

static XImage * _k14_meterH0 = 0
static XImage * _k14_meterH1 = 0
static XImage * _k14_meterV0 = 0
static XImage * _k14_meterV1 = 0
static XImage * _k20_meterH0 = 0
static XImage * _k20_meterH1 = 0
static XImage * _k20_meterV0 = 0
static XImage * _k20_meterV1 = 0
static unsigned long _peakcol = 0

Detailed Description

Definition at line 29 of file kmeter.h.


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

Generated by  Doxygen 1.6.0   Back to index