Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

BC_Meter Class Reference

#include <bcmeter.h>

Inheritance diagram for BC_Meter:

BC_SubWindow BC_WindowBase BC_RelocatableWidget List of all members.

Public Member Functions

 BC_Meter (int x, int y, int orientation, int pixels, int min, int max, int mode, int use_titles, long over_delay, long peak_delay)
virtual ~BC_Meter ()
int initialize ()
void set_images (VFrame **data)
int set_delays (int over_delay, int peak_delay)
int region_pixel (int region)
int region_pixels (int region)
virtual int button_press_event ()
int update (float new_value, int over)
int reposition_window (int x, int y, int pixels)
int reset ()
int reset_over ()
int change_format (int mode, int min, int max)

Static Public Member Functions

static int get_title_w ()
static int get_meter_w ()

Private Member Functions

void draw_titles ()
void draw_face ()
int level_to_pixel (float level)
void get_divisions ()

Private Attributes

int orientation
int pixels
int low_division
int medium_division
int high_division
int use_titles
ArrayList< int > tick_pixels
ArrayList< int > title_pixels
ArrayList< char * > db_titles
float level
float peak
int mode
DB db
int peak_timer
int peak_pixel
int level_pixel
int peak_pixel1
int peak_pixel2
int over_count
int over_timer
int min
int max
long over_delay
long peak_delay

Detailed Description

Definition at line 18 of file bcmeter.h.

Constructor & Destructor Documentation

BC_Meter::BC_Meter int  x,
int  y,
int  orientation,
int  pixels,
int  min,
int  max,
int  mode,
int  use_titles,
long  over_delay,
long  peak_delay

Definition at line 25 of file bcmeter.C.

BC_Meter::~BC_Meter  )  [virtual]

Definition at line 49 of file bcmeter.C.

Member Function Documentation

int BC_Meter::button_press_event  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 147 of file bcmeter.C.

int BC_Meter::change_format int  mode,
int  min,
int  max

Definition at line 164 of file bcmeter.C.

void BC_Meter::draw_face  )  [private]

Definition at line 356 of file bcmeter.C.

void BC_Meter::draw_titles  )  [private]

Definition at line 269 of file bcmeter.C.

void BC_Meter::get_divisions  )  [private]

Definition at line 193 of file bcmeter.C.

int BC_Meter::get_meter_w  )  [static]

Definition at line 62 of file bcmeter.C.

int BC_Meter::get_title_w  )  [static]

Definition at line 57 of file bcmeter.C.

int BC_Meter::initialize  )  [virtual]

Reimplemented from BC_SubWindow.

Definition at line 75 of file bcmeter.C.

int BC_Meter::level_to_pixel float  level  )  [private]

Definition at line 173 of file bcmeter.C.

int BC_Meter::region_pixel int  region  ) 

Definition at line 327 of file bcmeter.C.

int BC_Meter::region_pixels int  region  ) 

Definition at line 340 of file bcmeter.C.

int BC_Meter::reposition_window int  x,
int  y,
int  pixels

Definition at line 114 of file bcmeter.C.

int BC_Meter::reset  ) 

Definition at line 135 of file bcmeter.C.

int BC_Meter::reset_over  ) 

Definition at line 158 of file bcmeter.C.

int BC_Meter::set_delays int  over_delay,
int  peak_delay

Definition at line 68 of file bcmeter.C.

void BC_Meter::set_images VFrame **  data  ) 

Definition at line 107 of file bcmeter.C.

int BC_Meter::update float  new_value,
int  over

Definition at line 495 of file bcmeter.C.

Member Data Documentation

DB BC_Meter::db [private]

Definition at line 71 of file bcmeter.h.

ArrayList<char*> BC_Meter::db_titles [private]

Definition at line 68 of file bcmeter.h.

int BC_Meter::high_division [private]

Definition at line 62 of file bcmeter.h.

BC_Pixmap* BC_Meter::images[TOTAL_METER_IMAGES] [private]

Definition at line 56 of file bcmeter.h.

float BC_Meter::level [private]

Definition at line 69 of file bcmeter.h.

int BC_Meter::level_pixel [private]

Definition at line 79 of file bcmeter.h.

int BC_Meter::low_division [private]

Definition at line 60 of file bcmeter.h.

int BC_Meter::max [private]

Definition at line 82 of file bcmeter.h.

int BC_Meter::medium_division [private]

Definition at line 61 of file bcmeter.h.

int BC_Meter::min [private]

Definition at line 81 of file bcmeter.h.

int BC_Meter::mode [private]

Definition at line 70 of file bcmeter.h.

int BC_Meter::orientation [private]

Definition at line 57 of file bcmeter.h.

int BC_Meter::over_count [private]

Definition at line 80 of file bcmeter.h.

long BC_Meter::over_delay [private]

Definition at line 83 of file bcmeter.h.

int BC_Meter::over_timer [private]

Definition at line 80 of file bcmeter.h.

float BC_Meter::peak [private]

Definition at line 69 of file bcmeter.h.

long BC_Meter::peak_delay [private]

Definition at line 84 of file bcmeter.h.

int BC_Meter::peak_pixel [private]

Definition at line 79 of file bcmeter.h.

int BC_Meter::peak_pixel1 [private]

Definition at line 79 of file bcmeter.h.

int BC_Meter::peak_pixel2 [private]

Definition at line 79 of file bcmeter.h.

int BC_Meter::peak_timer [private]

Definition at line 72 of file bcmeter.h.

int BC_Meter::pixels [private]

Definition at line 59 of file bcmeter.h.

ArrayList<int> BC_Meter::tick_pixels [private]

Definition at line 65 of file bcmeter.h.

ArrayList<int> BC_Meter::title_pixels [private]

Definition at line 67 of file bcmeter.h.

int BC_Meter::use_titles [private]

Definition at line 63 of file bcmeter.h.

The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:26:37 2006 for Guicast-svn by  doxygen 1.4.4