Ardour  9.0-pre0-822-g12e3bc5c20
TimeCtlGUI Class Reference

#include <timectl_gui.h>

Inheritance diagram for TimeCtlGUI:
[legend]

Public Member Functions

 TimeCtlGUI (ARDOUR::Latent &, samplepos_t sample_rate, samplepos_t period_size)
 
 TimeCtlGUI (ARDOUR::TailTime &, samplepos_t sample_rate, samplepos_t period_size)
 
 ~TimeCtlGUI ()
 
void refresh ()
 

Private Member Functions

void init ()
 
void reset ()
 
void finish ()
 
void change_from_button (int dir)
 

Private Attributes

ARDOUR::Latent_latent
 
ARDOUR::TailTime_tailtime
 
samplepos_t sample_rate
 
samplepos_t period_size
 
bool _ignore_change
 
Gtk::Adjustment adjustment
 
TimeCtlBarController bc
 
Gtk::HBox hbox1
 
Gtk::HBox hbox2
 
Gtk::HButtonBox hbbox
 
Gtk::Button minus_button
 
Gtk::Button plus_button
 
Gtk::Button reset_button
 
Gtk::ComboBoxText units_combo
 

Static Private Attributes

static std::vector< std::string > unit_strings
 

Friends

class TimeCtlBarController
 
class TimeCtlGUIControllable
 

Detailed Description

Definition at line 85 of file timectl_gui.h.

Constructor & Destructor Documentation

◆ TimeCtlGUI() [1/2]

TimeCtlGUI::TimeCtlGUI ( ARDOUR::Latent ,
samplepos_t  sample_rate,
samplepos_t  period_size 
)

◆ TimeCtlGUI() [2/2]

TimeCtlGUI::TimeCtlGUI ( ARDOUR::TailTime ,
samplepos_t  sample_rate,
samplepos_t  period_size 
)

◆ ~TimeCtlGUI()

TimeCtlGUI::~TimeCtlGUI ( )
inline

Definition at line 90 of file timectl_gui.h.

Member Function Documentation

◆ change_from_button()

void TimeCtlGUI::change_from_button ( int  dir)
private

◆ finish()

void TimeCtlGUI::finish ( )
private

◆ init()

void TimeCtlGUI::init ( )
private

◆ refresh()

void TimeCtlGUI::refresh ( )

◆ reset()

void TimeCtlGUI::reset ( )
private

Friends And Related Function Documentation

◆ TimeCtlBarController

friend class TimeCtlBarController
friend

Definition at line 118 of file timectl_gui.h.

◆ TimeCtlGUIControllable

friend class TimeCtlGUIControllable
friend

Definition at line 119 of file timectl_gui.h.

Member Data Documentation

◆ _ignore_change

bool TimeCtlGUI::_ignore_change
private

Definition at line 105 of file timectl_gui.h.

◆ _latent

ARDOUR::Latent* TimeCtlGUI::_latent
private

Definition at line 99 of file timectl_gui.h.

◆ _tailtime

ARDOUR::TailTime* TimeCtlGUI::_tailtime
private

Definition at line 100 of file timectl_gui.h.

◆ adjustment

Gtk::Adjustment TimeCtlGUI::adjustment
private

Definition at line 106 of file timectl_gui.h.

◆ bc

TimeCtlBarController TimeCtlGUI::bc
private

Definition at line 107 of file timectl_gui.h.

◆ hbbox

Gtk::HButtonBox TimeCtlGUI::hbbox
private

Definition at line 110 of file timectl_gui.h.

◆ hbox1

Gtk::HBox TimeCtlGUI::hbox1
private

Definition at line 108 of file timectl_gui.h.

◆ hbox2

Gtk::HBox TimeCtlGUI::hbox2
private

Definition at line 109 of file timectl_gui.h.

◆ minus_button

Gtk::Button TimeCtlGUI::minus_button
private

Definition at line 111 of file timectl_gui.h.

◆ period_size

samplepos_t TimeCtlGUI::period_size
private

Definition at line 103 of file timectl_gui.h.

◆ plus_button

Gtk::Button TimeCtlGUI::plus_button
private

Definition at line 112 of file timectl_gui.h.

◆ reset_button

Gtk::Button TimeCtlGUI::reset_button
private

Definition at line 113 of file timectl_gui.h.

◆ sample_rate

samplepos_t TimeCtlGUI::sample_rate
private

Definition at line 102 of file timectl_gui.h.

◆ unit_strings

std::vector<std::string> TimeCtlGUI::unit_strings
staticprivate

Definition at line 121 of file timectl_gui.h.

◆ units_combo

Gtk::ComboBoxText TimeCtlGUI::units_combo
private

Definition at line 114 of file timectl_gui.h.


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