|
| MainClock (const std::string &clock_name, const std::string &widget_name, bool primary) |
|
| 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) |
|
| ~AudioClock () |
|
Mode | mode () const |
|
void | set_off (bool yn) |
|
bool | off () const |
|
void | set_widget_name (const std::string &name) |
|
void | set_active_state (Gtkmm2ext::ActiveState s) |
|
void | set_editable (bool yn) |
|
void | set_corner_radius (double) |
|
void | focus () |
|
void | set (framepos_t, bool force=false, ARDOUR::framecnt_t offset=0) |
|
void | set_from_playhead () |
|
void | locate () |
|
void | set_mode (Mode) |
|
void | set_bbt_reference (framepos_t) |
|
void | set_is_duration (bool) |
|
void | copy_text_to_clipboard () const |
|
std::string | name () const |
|
framepos_t | current_time (framepos_t position=0) const |
|
framepos_t | current_duration (framepos_t position=0) const |
|
void | set_session (ARDOUR::Session *s) |
|
void | set_negative_allowed (bool yn) |
|
void | set_scale (double x, double y) |
|
| CairoWidget () |
|
virtual | ~CairoWidget () |
|
void | set_dirty () |
|
Gtkmm2ext::ActiveState | active_state () const |
|
Gtkmm2ext::VisualState | visual_state () const |
|
virtual void | set_visual_state (Gtkmm2ext::VisualState) |
|
void | unset_active_state () |
|
void | unset_visual_state () |
|
void | set_active (bool) |
|
bool | get_active () |
|
void | set_draw_background (bool yn) |
|
Public Member Functions inherited from ARDOUR::SessionHandlePtr |
| SessionHandlePtr (ARDOUR::Session *s) |
|
| SessionHandlePtr () |
|
virtual | ~SessionHandlePtr () |
|
|
enum | Mode { Timecode,
BBT,
MinSec,
Frames
} |
|
static void | print_minsec (framepos_t, char *buf, size_t bufsize, float frame_rate) |
|
static void | provide_background_for_cairo_widget (Gtk::Widget &w, const Gdk::Color &bg) |
|
static void | set_flat_buttons (bool yn) |
|
static bool | flat_buttons () |
|
static void | set_widget_prelight (bool yn) |
|
static bool | widget_prelight () |
|
static void | set_source_rgb_a (cairo_t *cr, Gdk::Color, float a=1.0) |
|
static void | set_focus_handler (sigc::slot< void >) |
|
sigc::signal< void > | ValueChanged |
|
sigc::signal< void > | mode_changed |
|
sigc::signal< void > | ChangeAborted |
|
sigc::signal< void > | StateChanged |
|
static sigc::signal< void > | ModeChanged |
|
static std::vector< AudioClock * > | clocks |
|
void | render (cairo_t *, cairo_rectangle_t *) |
|
bool | get_is_duration () const |
|
bool | on_button_press_event (GdkEventButton *ev) |
|
bool | on_button_release_event (GdkEventButton *ev) |
|
bool | is_lower_layout_click (int y) const |
|
bool | is_right_layout_click (int x) const |
|
double | get_left_rect_width () const |
|
virtual bool | on_expose_event (GdkEventExpose *) |
|
void | on_size_allocate (Gtk::Allocation &) |
|
void | on_state_changed (Gtk::StateType) |
|
void | on_style_changed (const Glib::RefPtr< Gtk::Style > &) |
|
bool | on_button_press_event (GdkEventButton *) |
|
Gdk::Color | get_parent_bg () |
|
virtual void | on_name_changed () |
|
Protected Member Functions inherited from ARDOUR::SessionHandlePtr |
virtual void | session_going_away () |
|
Gtk::Menu * | ops_menu |
|
Gtkmm2ext::ActiveState | _active_state |
|
Gtkmm2ext::VisualState | _visual_state |
|
bool | _need_bg |
|
bool | _grabbed |
|
Protected Attributes inherited from ARDOUR::SessionHandlePtr |
ARDOUR::Session * | _session |
|
PBD::ScopedConnectionList | _session_connections |
|
static bool | _flat_buttons = false |
|
static bool | _widget_prelight = true |
|
static sigc::slot< void > | focus_handler |
|
A simple subclass of AudioClock that adds a few things to its context menu: `display delta to edit cursor' and edit/change tempo/meter
Definition at line 25 of file main_clock.h.