mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
AudioClock: drop other unused stuff
This commit is contained in:
parent
6ae1f44c17
commit
88d4145b02
2 changed files with 3 additions and 17 deletions
|
|
@ -97,8 +97,6 @@ AudioClock::AudioClock (const string& clock_name, bool transient, const string&
|
||||||
, corner_radius (4)
|
, corner_radius (4)
|
||||||
, font_size (10240)
|
, font_size (10240)
|
||||||
, editing (false)
|
, editing (false)
|
||||||
, last_pdelta (0)
|
|
||||||
, last_sdelta (0)
|
|
||||||
, dragging (false)
|
, dragging (false)
|
||||||
, drag_field (Field (0))
|
, drag_field (Field (0))
|
||||||
, xscale (1.0)
|
, xscale (1.0)
|
||||||
|
|
@ -1474,7 +1472,6 @@ AudioClock::on_key_press_event (GdkEventKey* ev)
|
||||||
|
|
||||||
case GDK_Escape:
|
case GDK_Escape:
|
||||||
end_edit (false);
|
end_edit (false);
|
||||||
ChangeAborted(); /* EMIT SIGNAL */
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case GDK_Delete:
|
case GDK_Delete:
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,6 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr
|
||||||
void set_from_playhead ();
|
void set_from_playhead ();
|
||||||
void locate ();
|
void locate ();
|
||||||
void set_mode (Mode);
|
void set_mode (Mode);
|
||||||
void set_bbt_reference (Temporal::timepos_t const &);
|
|
||||||
|
|
||||||
void copy_text_to_clipboard () const;
|
void copy_text_to_clipboard () const;
|
||||||
|
|
||||||
|
|
@ -106,7 +105,6 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr
|
||||||
|
|
||||||
sigc::signal<void> ValueChanged;
|
sigc::signal<void> ValueChanged;
|
||||||
sigc::signal<void> mode_changed;
|
sigc::signal<void> mode_changed;
|
||||||
sigc::signal<void> ChangeAborted;
|
|
||||||
|
|
||||||
static std::vector<AudioClock*> clocks;
|
static std::vector<AudioClock*> clocks;
|
||||||
|
|
||||||
|
|
@ -136,7 +134,6 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr
|
||||||
bool edit_is_negative;
|
bool edit_is_negative;
|
||||||
|
|
||||||
Temporal::timepos_t _limit_pos;
|
Temporal::timepos_t _limit_pos;
|
||||||
Temporal::timepos_t duration_position;
|
|
||||||
|
|
||||||
Glib::RefPtr<Pango::Layout> _layout;
|
Glib::RefPtr<Pango::Layout> _layout;
|
||||||
|
|
||||||
|
|
@ -156,10 +153,6 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr
|
||||||
double corner_radius;
|
double corner_radius;
|
||||||
uint32_t font_size;
|
uint32_t font_size;
|
||||||
|
|
||||||
static const double info_font_scale_factor;
|
|
||||||
static const double separator_height;
|
|
||||||
static const double x_leading_padding;
|
|
||||||
|
|
||||||
enum Field {
|
enum Field {
|
||||||
Timecode_Hours = 1,
|
Timecode_Hours = 1,
|
||||||
Timecode_Minutes,
|
Timecode_Minutes,
|
||||||
|
|
@ -194,9 +187,6 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr
|
||||||
|
|
||||||
Temporal::timecnt_t last_time;
|
Temporal::timecnt_t last_time;
|
||||||
|
|
||||||
bool last_pdelta;
|
|
||||||
bool last_sdelta;
|
|
||||||
|
|
||||||
bool dragging;
|
bool dragging;
|
||||||
double drag_start_y;
|
double drag_start_y;
|
||||||
double drag_y;
|
double drag_y;
|
||||||
|
|
@ -244,7 +234,6 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr
|
||||||
void start_edit (Field f = Field (0));
|
void start_edit (Field f = Field (0));
|
||||||
void end_edit (bool);
|
void end_edit (bool);
|
||||||
void end_edit_relative (bool);
|
void end_edit_relative (bool);
|
||||||
void edit_next_field ();
|
|
||||||
|
|
||||||
Temporal::timecnt_t parse_as_distance (const std::string&);
|
Temporal::timecnt_t parse_as_distance (const std::string&);
|
||||||
Temporal::timecnt_t parse_as_timecode_distance (const std::string&);
|
Temporal::timecnt_t parse_as_timecode_distance (const std::string&);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue