Ardour  9.0-pre0-822-g12e3bc5c20
MeterDialog Class Reference

#include <tempo_dialog.h>

Inheritance diagram for MeterDialog:
[legend]

Public Member Functions

 MeterDialog (Temporal::TempoMap::SharedPtr const &, Temporal::timepos_t const &, const std::string &action)
 
 MeterDialog (Temporal::MeterPoint &, const std::string &action)
 
double get_bpb ()
 
int get_note_type ()
 
Temporal::TimeDomain get_lock_style ()
 
bool get_bbt_time (Temporal::BBT_Time &)
 
- Public Member Functions inherited from ArdourDialog
 ArdourDialog (const std::string &title, bool modal=false, bool use_separator=false)
 
 ArdourDialog (Gtk::Window &parent, const 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 ()
 
virtual void on_response (int)
 
void set_ui_sensitive (bool)
 
void disallow_idle ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 
virtual ARDOUR::Sessionsession () const
 

Private Types

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

Private Member Functions

void init (const Temporal::BBT_Time &, double, double, bool, bool, Temporal::TimeDomain style)
 
bool is_user_input_valid () const
 
bool entry_key_press (GdkEventKey *)
 
bool entry_key_release (GdkEventKey *)
 
void note_type_change ()
 
void lock_style_change ()
 

Private Attributes

NoteTypes note_types
 
LockStyles lock_styles
 
Gtk::Entry bpb_entry
 
Gtk::ComboBoxText note_type
 
Gtk::ComboBoxText lock_style
 
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 ArdourDialog
void pop_splash ()
 
void close_self ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- Protected Attributes inherited from ArdourDialog
bool _sensitive
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 147 of file tempo_dialog.h.

Member Typedef Documentation

◆ LockStyles

typedef std::map<std::string, Temporal::TimeDomain> MeterDialog::LockStyles
private

Definition at line 169 of file tempo_dialog.h.

◆ NoteTypes

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

Definition at line 166 of file tempo_dialog.h.

Constructor & Destructor Documentation

◆ MeterDialog() [1/2]

MeterDialog::MeterDialog ( Temporal::TempoMap::SharedPtr const &  ,
Temporal::timepos_t const &  ,
const std::string &  action 
)

◆ MeterDialog() [2/2]

MeterDialog::MeterDialog ( Temporal::MeterPoint ,
const std::string &  action 
)

Member Function Documentation

◆ entry_key_press()

bool MeterDialog::entry_key_press ( GdkEventKey *  )
private

◆ entry_key_release()

bool MeterDialog::entry_key_release ( GdkEventKey *  )
private

◆ get_bbt_time()

bool MeterDialog::get_bbt_time ( Temporal::BBT_Time )

◆ get_bpb()

double MeterDialog::get_bpb ( )

◆ get_lock_style()

Temporal::TimeDomain MeterDialog::get_lock_style ( )

◆ get_note_type()

int MeterDialog::get_note_type ( )

◆ init()

void MeterDialog::init ( const Temporal::BBT_Time ,
double  ,
double  ,
bool  ,
bool  ,
Temporal::TimeDomain  style 
)
private

◆ is_user_input_valid()

bool MeterDialog::is_user_input_valid ( ) const
private

◆ lock_style_change()

void MeterDialog::lock_style_change ( )
private

◆ note_type_change()

void MeterDialog::note_type_change ( )
private

Member Data Documentation

◆ bpb_entry

Gtk::Entry MeterDialog::bpb_entry
private

Definition at line 172 of file tempo_dialog.h.

◆ cancel_button

Gtk::Button MeterDialog::cancel_button
private

Definition at line 177 of file tempo_dialog.h.

◆ lock_style

Gtk::ComboBoxText MeterDialog::lock_style
private

Definition at line 174 of file tempo_dialog.h.

◆ lock_styles

LockStyles MeterDialog::lock_styles
private

Definition at line 170 of file tempo_dialog.h.

◆ note_type

Gtk::ComboBoxText MeterDialog::note_type
private

Definition at line 173 of file tempo_dialog.h.

◆ note_types

NoteTypes MeterDialog::note_types
private

Definition at line 167 of file tempo_dialog.h.

◆ ok_button

Gtk::Button MeterDialog::ok_button
private

Definition at line 176 of file tempo_dialog.h.

◆ strings

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

Definition at line 175 of file tempo_dialog.h.

◆ when_bar_entry

Gtk::Entry MeterDialog::when_bar_entry
private

Definition at line 178 of file tempo_dialog.h.


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