MPEGABitrate Class Reference

#include <filempeg.h>

Inherits BC_PopupMenu.

Collaboration diagram for MPEGABitrate:

Collaboration graph

Public Member Functions

 MPEGABitrate (int x, int y, MPEGConfigAudio *gui)
void create_objects ()
void set_layer (int layer)
int handle_event ()

Static Public Member Functions

static int string_to_bitrate (char *string)
static char * bitrate_to_string (char *string, int bitrate)

Data Fields


Detailed Description

Definition at line 204 of file filempeg.h.

Constructor & Destructor Documentation

MPEGABitrate::MPEGABitrate ( int  x,
int  y,
MPEGConfigAudio gui 

Definition at line 1541 of file filempeg.C.

Member Function Documentation

void MPEGABitrate::create_objects (  ) 

Definition at line 1550 of file filempeg.C.

References Asset::ampeg_derivative, MPEGConfigAudio::asset, gui, and set_layer().

Referenced by MPEGConfigAudio::create_objects().

Here is the call graph for this function:

void MPEGABitrate::set_layer ( int  layer  ) 

Definition at line 1555 of file filempeg.C.

References BC_PopupMenu::add_item(), BC_WindowBase::BC_MenuItem, BC_PopupMenu::remove_item(), and BC_PopupMenu::total_items().

Referenced by create_objects(), and MPEGLayer::handle_event().

Here is the call graph for this function:

int MPEGABitrate::handle_event (  )  [virtual]

Reimplemented from BC_PopupMenu.

Definition at line 1594 of file filempeg.C.

References Asset::ampeg_bitrate, MPEGConfigAudio::asset, BC_PopupMenu::get_text(), gui, and string_to_bitrate().

Here is the call graph for this function:

int MPEGABitrate::string_to_bitrate ( char *  string  )  [static]

Definition at line 1600 of file filempeg.C.

Referenced by handle_event().

char * MPEGABitrate::bitrate_to_string ( char *  string,
int  bitrate 
) [static]

Definition at line 1606 of file filempeg.C.

Field Documentation

Definition at line 216 of file filempeg.h.

Referenced by create_objects(), and handle_event().

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

Generated on Mon Apr 28 14:31:48 2008 for Cinelerra by  doxygen 1.5.5