ardour
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
NormalizeDialog Class Reference

#include <normalize_dialog.h>

Inheritance diagram for NormalizeDialog:
ArdourDialog ProgressReporter ARDOUR::SessionHandlePtr ARDOUR::Progress

Public Member Functions

 NormalizeDialog (bool)
 
bool normalize_individually () const
 
double target () const
 
int run ()
 
- Public Member Functions inherited from ArdourDialog
 ArdourDialog (std::string title, bool modal=false, bool use_separator=false)
 
 ArdourDialog (Gtk::Window &parent, std::string title, bool modal=false, bool use_separator=false)
 
 ~ArdourDialog ()
 
bool on_focus_in_event (GdkEventFocus *)
 
bool on_focus_out_event (GdkEventFocus *)
 
bool on_delete_event (GdkEventAny *)
 
void on_unmap ()
 
void on_show ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 
- Public Member Functions inherited from ProgressReporter
 ProgressReporter ()
 
virtual ~ProgressReporter ()
 
- Public Member Functions inherited from ARDOUR::Progress
 Progress ()
 
virtual ~Progress ()
 
void set_progress (float)
 
void ascend ()
 
void descend (float)
 
bool cancelled () const
 

Private Member Functions

void update_progress_gui (float)
 
void button_clicked (int)
 

Private Attributes

Gtk::RadioButton * _normalize_individually
 
Gtk::SpinButton * _spin
 
Gtk::ProgressBar * _progress_bar
 

Static Private Attributes

static double _last_normalization_value = 0
 
static bool _last_normalize_individually = true
 

Additional Inherited Members

- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- Protected Member Functions inherited from ARDOUR::Progress
void cancel ()
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 29 of file normalize_dialog.h.

Constructor & Destructor Documentation

NormalizeDialog::NormalizeDialog ( bool  more_than_one)

Definition at line 33 of file normalize_dialog.cc.

Member Function Documentation

void NormalizeDialog::button_clicked ( int  r)
private

Definition at line 113 of file normalize_dialog.cc.

bool NormalizeDialog::normalize_individually ( ) const

Definition at line 80 of file normalize_dialog.cc.

int NormalizeDialog::run ( )

Definition at line 102 of file normalize_dialog.cc.

double NormalizeDialog::target ( ) const

Definition at line 90 of file normalize_dialog.cc.

void NormalizeDialog::update_progress_gui ( float  p)
privatevirtual

Update our GUI to reflect progress.

Parameters
pProgress, from 0 to 1.

Implements ProgressReporter.

Definition at line 96 of file normalize_dialog.cc.

Member Data Documentation

double NormalizeDialog::_last_normalization_value = 0
staticprivate

Definition at line 46 of file normalize_dialog.h.

bool NormalizeDialog::_last_normalize_individually = true
staticprivate

Definition at line 47 of file normalize_dialog.h.

Gtk::RadioButton* NormalizeDialog::_normalize_individually
private

Definition at line 42 of file normalize_dialog.h.

Gtk::ProgressBar* NormalizeDialog::_progress_bar
private

Definition at line 44 of file normalize_dialog.h.

Gtk::SpinButton* NormalizeDialog::_spin
private

Definition at line 43 of file normalize_dialog.h.


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