59 AudioClock (
const std::string& clock_name,
bool is_transient,
const std::string& widget_name,
60 bool editable,
bool follows_playhead,
bool duration =
false,
bool with_info =
false,
61 bool accept_on_focus_out =
false);
112 void render (Cairo::RefPtr<Cairo::Context>
const&, cairo_rectangle_t*);
Temporal::timecnt_t parse_as_distance(const std::string &)
void on_style_changed(const Glib::RefPtr< Gtk::Style > &)
std::string get_field(Field)
bool minsec_validate_edit(const std::string &)
void set_corner_radius(double)
std::vector< int > insert_map
Temporal::timecnt_t parse_as_timecode_distance(const std::string &)
void start_edit(Field f=Field(0))
Field index_to_field(int index) const
virtual void build_ops_menu()
void copy_text_to_clipboard() const
bool on_motion_notify_event(GdkEventMotion *ev)
This is a default handler for the signal signal_motion_notify_event().
bool on_focus_out_event(GdkEventFocus *)
This is a default handler for the signal signal_focus_out_event().
std::string pre_edit_string
Pango::AttrColor * foreground_attr
bool on_button_press_event(GdkEventButton *ev)
This is a default handler for the signal signal_button_press_event().
void set_bbt(Temporal::timecnt_t const &)
ArdourWidgets::ArdourButton _right_btn
Temporal::timecnt_t parse_as_samples_distance(const std::string &)
Temporal::timecnt_t current_duration(Temporal::timepos_t position=Temporal::timepos_t()) const
Pango::AttrColor * editing_attr
Field index_to_field() const
void set_minsec(Temporal::timepos_t const &)
ArdourWidgets::ArdourButton * left_btn()
void on_size_request(Gtk::Requisition *req)
This is a default handler for the signal signal_size_request().
bool on_button_release_event(GdkEventButton *ev)
This is a default handler for the signal signal_button_release_event().
void set_active_state(Gtkmm2ext::ActiveState s)
void set_seconds(Temporal::timepos_t const &)
samplepos_t samples_from_seconds_string(const std::string &) const
Temporal::timepos_t _limit_pos
Temporal::timepos_t last_when() const
ArdourWidgets::ArdourButton * right_btn()
ArdourWidgets::ArdourButton _left_btn
void end_edit_relative(bool)
samplepos_t sample_duration_from_bbt_string(Temporal::timepos_t const &, const std::string &) const
void render(Cairo::RefPtr< Cairo::Context > const &, cairo_rectangle_t *)
sigc::signal< void > mode_changed
static void print_minsec(samplepos_t, char *buf, size_t bufsize, float sample_rate, int decimals=3)
static std::vector< AudioClock * > clocks
void session_configuration_changed(std::string)
bool on_enter_notify_event(GdkEventCrossing *)
This is a default handler for the signal signal_enter_notify_event().
samplepos_t samples_from_minsec_string(const std::string &) const
void set_scale(double x, double y)
Pango::AttrList editing_attributes
void set_out_of_bounds(bool negative)
void show_edit_status(int length)
void set_session(ARDOUR::Session *s)
void on_realize()
This is a default handler for the signal signal_realize().
samplepos_t samples_from_bbt_string(Temporal::timepos_t const &, const std::string &) const
bool on_scroll_event(GdkEventScroll *ev)
This is a default handler for the signal signal_scroll_event().
sigc::signal< void > ValueChanged
int merge_input_and_edit_string()
bool get_is_duration() const
void set_widget_name(const std::string &name)
Temporal::timecnt_t parse_as_minsec_distance(const std::string &)
Glib::RefPtr< Pango::Layout > _layout
bool on_key_press_event(GdkEventKey *)
This is a default handler for the signal signal_key_press_event().
void set_clock_dimensions(Gtk::Requisition &)
virtual void set_mode(Mode)
void set_timecode(Temporal::timepos_t const &)
Temporal::timepos_t get_incremental_step(Field, Temporal::timepos_t const &pos=Temporal::timepos_t())
samplepos_t samples_from_timecode_string(const std::string &) const
samplepos_t samples_from_audiosamples_string(const std::string &) const
bool on_leave_notify_event(GdkEventCrossing *)
This is a default handler for the signal signal_leave_notify_event().
bool _accept_on_focus_out
void finish_set(Temporal::timepos_t const &, bool)
Pango::AttrList normal_attributes
virtual void set(Temporal::timepos_t const &, bool force=false, bool round_to_beat=false)
PBD::ScopedConnection tempo_map_connection
void set_duration(Temporal::timecnt_t const &, bool force=false)
Temporal::timecnt_t parse_as_seconds_distance(const std::string &)
bool bbt_validate_edit(std::string &)
Temporal::timecnt_t parse_as_bbt_distance(const std::string &)
Temporal::timecnt_t last_time
void set_editable(bool yn)
bool timecode_validate_edit(const std::string &)
AudioClock(const std::string &clock_name, bool is_transient, const std::string &widget_name, bool editable, bool follows_playhead, bool duration=false, bool with_info=false, bool accept_on_focus_out=false)
bool on_key_release_event(GdkEventKey *)
This is a default handler for the signal signal_key_release_event().
void set_samples(Temporal::timepos_t const &)
void set_negative_allowed(bool yn)
timepos_t const & position() const
PBD::PropertyDescriptor< timecnt_t > length
Temporal::samplepos_t samplepos_t