Ardour  9.0-pre0-582-g084a23a80d
bbt_marker_dialog.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 Paul Davis <paul@linuxaudiosystems.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #pragma once
20 
21 #include <gtkmm/box.h>
22 #include <gtkmm/entry.h>
23 #include <gtkmm/label.h>
24 #include <gtkmm/spinbutton.h>
25 
26 #include "temporal/tempo.h"
27 #include "temporal/types.h"
28 
29 #include "ardour_dialog.h"
30 #include "audio_clock.h"
31 
33 {
34 public:
37 
40  std::string name() const;
41 
42 private:
43  void init (bool add);
47 
53 
57 };
58 
Gtk::Label bar_label
Gtk::Label name_label
BBTMarkerDialog(Temporal::timepos_t const &, Temporal::BBT_Time const &)
BBTMarkerDialog(Temporal::MusicTimePoint &)
void init(bool add)
Temporal::MusicTimePoint * _point
Temporal::BBT_Time _bbt
std::string name() const
Temporal::timepos_t _position
Temporal::BBT_Time bbt_value() const
Gtk::SpinButton bar_entry
Gtk::Label beat_label
Gtk::Entry name_entry
Temporal::timepos_t position() const
Gtk::SpinButton beat_entry
virtual void add(Widget &widget)