RecordGUI Class Reference

#include <recordgui.h>

Inherits BC_Window.

Collaboration diagram for RecordGUI:

Collaboration graph
[legend]

Public Member Functions

 RecordGUI (MWindow *mwindow, Record *record)
 ~RecordGUI ()
void load_defaults ()
void save_defaults ()
int create_objects ()
void flash_batch ()
void update_batches ()
void update_sources ()
void update_batch_sources ()
void update_batch_tools ()
int resize_event (int w, int h)
int translation_event ()
char * get_path ()
int get_record_mode ()
int set_record_mode (int value)
int get_output_bits ()
int get_dither ()
int get_duplex_status ()
int set_duplex_status (int value)
int get_loop_status ()
int get_sample_rate ()
int get_enable_duplex ()
long get_playback_buffer ()
int set_loop_status (int value)
int update_duration_boxes ()
int keypress_event ()
int delete_all_labels ()
int calibrate_dc_offset ()
int calibrate_dc_offset (long new_value, int channel)
int update_dropped_frames (long new_dropped)
int update_clipped_samples (long new_clipped)
int set_translation (int x, int y, float z)
void update_labels (double new_position)
int update_position (double new_position)
int update_prev_label (long new_position)
int update_title (BC_Title *title, double position)
int goto_prev_label ()
int toggle_label ()

Data Fields

ArrayList< BC_ListBoxItem * > batches [BATCH_COLUMNS]
ArrayList< BC_ListBoxItem * > modes
ArrayList< BC_ListBoxItem * > batch_numbers
ArrayList< BC_ListBoxItem * > sources
BC_Titlecurrent_operation
BC_Titleposition_title
BC_Titleprev_label_title
BC_Titleframes_dropped
BC_Titlesamples_clipped
MWindowmwindow
Recordrecord
RecordGUIBatchesbatch_list
RecordPathbatch_path
RecordStatusThreadstatus_thread
TimeEntrybatch_start
TimeEntrybatch_duration
RecordStartTypestart_type
RecordTransportrecord_transport
BrowseButtonbatch_browse
RecordSourcebatch_source
RecordModebatch_mode
RecordGUINewBatchnew_batch
RecordGUIDeleteBatchdelete_batch
RecordGUIStartBatchesstart_batches
RecordGUIStopbatchesstop_batches
RecordGUIActivateBatchactivate_batch
RecordGUILabellabel_button
RecordGUIFillFramesfill_frames
RecordGUIMonitorVideomonitor_video
RecordGUIMonitorAudiomonitor_audio
RecordStartoverThreadstartover_thread
EndRecordThreadinterrupt_thread
int column_widths [BATCH_COLUMNS]
LoadModeload_mode
int flash_color
RecordGUIModeMenurec_mode_menu
RecordGUILoopHr * loop_hr
RecordGUILoopMin * loop_min
RecordGUILoopSec * loop_sec
RecordGUIResetreset
RecordGUIDCOffsetdc_offset_button
RecordGUIDCOffsetTextdc_offset_text [MAXCHANNELS]
RecordMonitormonitor_video_window
BC_Metermeter [MAXCHANNELS]
long total_dropped_frames
long total_clipped_samples

Static Public Attributes

static char * batch_titles [BATCH_COLUMNS]

Detailed Description

Definition at line 57 of file recordgui.h.


Constructor & Destructor Documentation

RecordGUI::RecordGUI ( MWindow mwindow,
Record record 
)

Definition at line 38 of file recordgui.C.

RecordGUI::~RecordGUI (  ) 


Member Function Documentation

void RecordGUI::load_defaults (  ) 

Definition at line 80 of file recordgui.C.

References BATCH_COLUMNS, BCTEXTLEN, column_widths, MWindow::defaults, BC_Hash::get(), and mwindow.

Here is the call graph for this function:

void RecordGUI::save_defaults (  ) 

Definition at line 101 of file recordgui.C.

References BATCH_COLUMNS, BCTEXTLEN, column_widths, MWindow::defaults, mwindow, and BC_Hash::update().

Here is the call graph for this function:

int RecordGUI::create_objects (  ) 

Definition at line 112 of file recordgui.C.

References _, activate_batch, BC_WindowBase::add_subwindow(), ArrayList< TYPE >::append(), Asset::audio_data, batch_browse, batch_duration, batch_list, batch_mode, batch_path, batch_source, batch_start, BC_WindowBase::BC_Title, BCTEXTLEN, Asset::bits, File::bitstostr(), LoadMode::calculate_h(), BC_OKButton::calculate_h(), BC_Title::calculate_h(), BC_TextBox::calculate_h(), FileMOV::compressiontostr(), LoadMode::create_objects(), RecordTransport::create_objects(), BC_PopupTextBox::create_objects(), TimeEntry::create_objects(), Record::default_asset, delete_batch, Theme::draw_rwindow_bg(), fill_frames, flash_color, Asset::format, File::formattostr(), Asset::frame_rate, frames_dropped, LoadMode::get_h(), BC_ListBox::get_h(), RecordTransport::get_h(), BC_WindowBase::get_h(), BC_Theme::get_image(), Theme::get_recordgui_sizes(), RecordTransport::get_w(), BC_PopupTextBox::get_w(), TimeEntry::get_w(), BC_WindowBase::get_w(), BC_WindowBase::get_x(), interrupt_thread, label_button, Record::load_mode, load_mode, Theme::loadmode_w, MAX, MEDIUMFONT, Batch::mode_to_text(), modes, monitor_audio, monitor_video, mwindow, new_batch, Asset::path, MWindow::plugindb, position_title, prev_label_title, record, record_transport, Theme::recordgui_fixed_color, Theme::recordgui_variable_color, RED, Asset::sample_rate, samples_clipped, BC_WindowBase::set_icon(), Thread::start(), start_batches, startover_thread, status_thread, MWindow::theme, BC_WindowBase::title, total_dropped_frames, update_batches(), Asset::vcodec, Asset::video_data, BC_WindowBase::x, and BC_WindowBase::y.

Here is the call graph for this function:

void RecordGUI::flash_batch (  ) 

void RecordGUI::update_batches (  ) 

void RecordGUI::update_sources (  ) 

void RecordGUI::update_batch_sources (  ) 

void RecordGUI::update_batch_tools (  ) 

int RecordGUI::resize_event ( int  w,
int  h 
) [virtual]

int RecordGUI::translation_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 517 of file recordgui.C.

References BC_WindowBase::get_x(), BC_WindowBase::get_y(), mwindow, MainSession::rwindow_x, MainSession::rwindow_y, and MWindow::session.

Here is the call graph for this function:

char* RecordGUI::get_path (  ) 

int RecordGUI::get_record_mode (  ) 

int RecordGUI::set_record_mode ( int  value  ) 

int RecordGUI::get_output_bits (  ) 

int RecordGUI::get_dither (  ) 

int RecordGUI::get_duplex_status (  ) 

int RecordGUI::set_duplex_status ( int  value  ) 

int RecordGUI::get_loop_status (  ) 

int RecordGUI::get_sample_rate (  ) 

int RecordGUI::get_enable_duplex (  ) 

long RecordGUI::get_playback_buffer (  ) 

int RecordGUI::set_loop_status ( int  value  ) 

int RecordGUI::update_duration_boxes (  ) 

Definition at line 1303 of file recordgui.C.

Referenced by RecordEngine::run_script().

int RecordGUI::keypress_event (  )  [virtual]

Reimplemented from BC_WindowBase.

Definition at line 1233 of file recordgui.C.

References RecordTransport::keypress_event(), and record_transport.

Here is the call graph for this function:

int RecordGUI::delete_all_labels (  ) 

int RecordGUI::calibrate_dc_offset (  ) 

int RecordGUI::calibrate_dc_offset ( long  new_value,
int  channel 
)

int RecordGUI::update_dropped_frames ( long  new_dropped  ) 

Definition at line 1215 of file recordgui.C.

References status_thread, and RecordStatusThread::update_dropped_frames().

Referenced by RecordVideo::run().

Here is the call graph for this function:

int RecordGUI::update_clipped_samples ( long  new_clipped  ) 

Definition at line 1227 of file recordgui.C.

References status_thread, and RecordStatusThread::update_clipped_samples().

Referenced by RecordAudio::run().

Here is the call graph for this function:

int RecordGUI::set_translation ( int  x,
int  y,
float  z 
)

void RecordGUI::update_labels ( double  new_position  ) 

int RecordGUI::update_position ( double  new_position  ) 

int RecordGUI::update_prev_label ( long  new_position  ) 

Definition at line 1271 of file recordgui.C.

References prev_label_title, and update_title().

Referenced by RecordEngine::update_position().

Here is the call graph for this function:

int RecordGUI::update_title ( BC_Title title,
double  position 
)

int RecordGUI::goto_prev_label (  ) 

int RecordGUI::toggle_label (  ) 


Field Documentation

Definition at line 76 of file recordgui.h.

Referenced by flash_batch(), and update_batches().

Definition at line 78 of file recordgui.h.

Referenced by create_objects().

Definition at line 80 of file recordgui.h.

Definition at line 83 of file recordgui.h.

Definition at line 85 of file recordgui.h.

Definition at line 86 of file recordgui.h.

Referenced by create_objects(), and RecordStatusThread::run().

Definition at line 87 of file recordgui.h.

Referenced by create_objects(), update_labels(), and update_prev_label().

Definition at line 88 of file recordgui.h.

Referenced by create_objects(), and RecordStatusThread::run().

Definition at line 88 of file recordgui.h.

Referenced by create_objects(), and RecordStatusThread::run().

Definition at line 91 of file recordgui.h.

Referenced by create_objects(), flash_batch(), resize_event(), and update_batches().

Definition at line 93 of file recordgui.h.

Referenced by create_objects(), and update_batch_tools().

Definition at line 95 of file recordgui.h.

Referenced by create_objects(), update_batch_tools(), and ~RecordGUI().

Definition at line 96 of file recordgui.h.

Referenced by create_objects(), update_batch_tools(), and ~RecordGUI().

Definition at line 97 of file recordgui.h.

Definition at line 98 of file recordgui.h.

Referenced by create_objects(), and keypress_event().

Definition at line 99 of file recordgui.h.

Referenced by create_objects().

Definition at line 101 of file recordgui.h.

Referenced by create_objects(), update_batch_tools(), and ~RecordGUI().

Definition at line 102 of file recordgui.h.

Referenced by create_objects().

Definition at line 103 of file recordgui.h.

Referenced by create_objects().

Definition at line 104 of file recordgui.h.

Referenced by create_objects().

Definition at line 105 of file recordgui.h.

Definition at line 106 of file recordgui.h.

Referenced by create_objects().

Definition at line 107 of file recordgui.h.

Referenced by create_objects().

Definition at line 108 of file recordgui.h.

Referenced by create_objects().

Definition at line 109 of file recordgui.h.

Referenced by RecordMonitorGUI::close_event(), and create_objects().

Definition at line 110 of file recordgui.h.

Referenced by RecordMonitorGUI::close_event(), and create_objects().

char * RecordGUI::batch_titles [static]

Initial value:

 
{
        N_("On"),
        N_("Path"),
        N_("News"),
        N_("Start time"),
        N_("Duration"),
        N_("Source"),

}

Definition at line 113 of file recordgui.h.

Referenced by flash_batch(), and update_batches().

int RecordGUI::column_widths[BATCH_COLUMNS]

Definition at line 115 of file recordgui.h.

Referenced by create_objects(), resize_event(), and ~RecordGUI().

Definition at line 116 of file recordgui.h.

Referenced by create_objects(), and flash_batch().

Definition at line 136 of file recordgui.h.

Referenced by RecordEngine::run_script().

RecordGUILoopHr* RecordGUI::loop_hr

Definition at line 137 of file recordgui.h.

Referenced by RecordEngine::set_loop_duration().

RecordGUILoopMin* RecordGUI::loop_min

Definition at line 138 of file recordgui.h.

Referenced by RecordEngine::set_loop_duration().

RecordGUILoopSec* RecordGUI::loop_sec

Definition at line 139 of file recordgui.h.

Referenced by RecordEngine::set_loop_duration().

Definition at line 140 of file recordgui.h.

Definition at line 142 of file recordgui.h.

Definition at line 143 of file recordgui.h.

Referenced by RecordEngine::calibrate_dc_offset().

Definition at line 144 of file recordgui.h.

Referenced by RecordEngine::run_script().

BC_Meter* RecordGUI::meter[MAXCHANNELS]

Definition at line 145 of file recordgui.h.

Definition at line 146 of file recordgui.h.

Referenced by create_objects(), RecordVideo::run(), and RecordStatusThread::run().

Definition at line 147 of file recordgui.h.

Referenced by RecordStatusThread::run(), and RecordAudio::run().


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

Generated on Mon Apr 28 14:38:29 2008 for Cinelerra by  doxygen 1.5.5