ardour
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
MeterDialog Class Reference

#include <tempo_dialog.h>

Inheritance diagram for MeterDialog:
ArdourDialog ARDOUR::SessionHandlePtr

Public Member Functions

 MeterDialog (ARDOUR::TempoMap &, framepos_t, const std::string &action)
 
 MeterDialog (ARDOUR::MeterSection &, const std::string &action)
 
double get_bpb ()
 
double get_note_type ()
 
bool get_bbt_time (Timecode::BBT_Time &)
 
- 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 *)
 

Private Types

typedef std::map< std::string,
float > 
NoteTypes
 

Private Member Functions

void init (const Timecode::BBT_Time &, double, double, bool)
 
bool is_user_input_valid () const
 
bool entry_key_press (GdkEventKey *)
 
bool entry_key_release (GdkEventKey *)
 
void note_type_change ()
 

Private Attributes

NoteTypes note_types
 
Gtk::Entry bpb_entry
 
Gtk::ComboBoxText note_type
 
std::vector< std::string > strings
 
Gtk::Button ok_button
 
Gtk::Button cancel_button
 
Gtk::Entry when_bar_entry
 

Additional Inherited Members

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

Detailed Description

Definition at line 77 of file tempo_dialog.h.

Member Typedef Documentation

typedef std::map<std::string,float> MeterDialog::NoteTypes
private

Definition at line 95 of file tempo_dialog.h.

Constructor & Destructor Documentation

MeterDialog::MeterDialog ( ARDOUR::TempoMap ,
framepos_t  ,
const std::string &  action 
)
MeterDialog::MeterDialog ( ARDOUR::MeterSection ,
const std::string &  action 
)

Member Function Documentation

bool MeterDialog::entry_key_press ( GdkEventKey *  ev)
private

Definition at line 425 of file tempo_dialog.cc.

bool MeterDialog::entry_key_release ( GdkEventKey *  )
private

Definition at line 473 of file tempo_dialog.cc.

bool MeterDialog::get_bbt_time ( Timecode::BBT_Time &  requested)

Definition at line 511 of file tempo_dialog.cc.

double MeterDialog::get_bpb ( )

Definition at line 486 of file tempo_dialog.cc.

double MeterDialog::get_note_type ( )

Definition at line 498 of file tempo_dialog.cc.

void MeterDialog::init ( const Timecode::BBT_Time &  when,
double  bpb,
double  divisor,
bool  movable 
)
private

Definition at line 332 of file tempo_dialog.cc.

bool MeterDialog::is_user_input_valid ( ) const
private

Definition at line 417 of file tempo_dialog.cc.

void MeterDialog::note_type_change ( )
private

Definition at line 480 of file tempo_dialog.cc.

Member Data Documentation

Gtk::Entry MeterDialog::bpb_entry
private

Definition at line 98 of file tempo_dialog.h.

Gtk::Button MeterDialog::cancel_button
private

Definition at line 102 of file tempo_dialog.h.

Gtk::ComboBoxText MeterDialog::note_type
private

Definition at line 99 of file tempo_dialog.h.

NoteTypes MeterDialog::note_types
private

Definition at line 96 of file tempo_dialog.h.

Gtk::Button MeterDialog::ok_button
private

Definition at line 101 of file tempo_dialog.h.

std::vector<std::string> MeterDialog::strings
private

Definition at line 100 of file tempo_dialog.h.

Gtk::Entry MeterDialog::when_bar_entry
private

Definition at line 103 of file tempo_dialog.h.


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