|
| TransportClock (const std::string &clock_name, const std::string &widget_name, ClockDisposition d) |
|
Public Member Functions inherited from MainClock |
| MainClock (const std::string &clock_name, const std::string &widget_name, ClockDisposition d) |
|
void | set_session (ARDOUR::Session *s) |
|
ARDOUR::ClockDeltaMode | display_delta_mode () |
|
void | set_display_delta_mode (ARDOUR::ClockDeltaMode m) |
|
void | set (Temporal::timepos_t const &, bool force=false, bool round_to_beat=false) |
|
void | clock_value_changed () |
|
void | parameter_changed (std::string p) |
|
| 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) |
|
| ~AudioClock () |
|
Mode | mode () const |
|
void | set_off (bool yn) |
|
bool | off () const |
|
bool | on () 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_duration (Temporal::timecnt_t const &, bool force=false) |
|
void | set_from_playhead () |
|
void | locate () |
|
void | copy_text_to_clipboard () const |
|
std::string | name () const |
|
Temporal::timepos_t | last_when () const |
|
Temporal::timecnt_t | current_duration (Temporal::timepos_t position=Temporal::timepos_t()) const |
|
void | set_negative_allowed (bool yn) |
|
ArdourWidgets::ArdourButton * | left_btn () |
|
ArdourWidgets::ArdourButton * | right_btn () |
|
void | set_scale (double x, double y) |
|
| CairoWidget () |
|
virtual | ~CairoWidget () |
|
void | set_canvas_widget () |
|
void | use_nsglview (bool retina=true) |
|
void | use_image_surface (bool yn=true) |
|
void | queue_draw () |
|
void | queue_resize () |
|
int | get_width () const |
|
int | get_height () const |
|
void | size_allocate (Gtk::Allocation &) |
|
void | set_dirty (cairo_rectangle_t *area=0) |
|
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 () const |
|
void | set_draw_background (bool yn) |
|
uint32_t | background_color () |
|
virtual | ~CairoCanvas () |
|
Public Member Functions inherited from ARDOUR::SessionHandlePtr |
| SessionHandlePtr (ARDOUR::Session *s) |
|
| SessionHandlePtr () |
|
virtual | ~SessionHandlePtr () |
|
virtual ARDOUR::Session * | session () const |
|
|
Public Types inherited from MainClock |
enum | ClockDisposition { PrimaryClock
, SecondaryClock
} |
|
enum | Mode {
Timecode
, BBT
, MinSec
, Seconds
,
Samples
} |
|
static void | print_minsec (samplepos_t, char *buf, size_t bufsize, float sample_rate, int decimals=3) |
|
static void | provide_background_for_cairo_widget (Gtk::Widget &w, const Gdk::Color &bg) |
|
static void | set_source_rgb_a (cairo_t *cr, Gdk::Color, float a=1.0) |
|
static void | set_source_rgb_a (cairo_t *cr, Gtkmm2ext::Color, float a=1.0) |
|
static void | set_focus_handler (sigc::slot< void, Gtk::Widget * >) |
|
static void | set_flat_buttons (bool yn) |
|
static void | set_boxy_buttons (bool yn) |
|
static void | set_widget_prelight (bool yn) |
|
static bool | flat_buttons () |
|
static bool | boxy_buttons () |
|
static bool | widget_prelight () |
|
Public Attributes inherited from MainClock |
sigc::signal< bool, ARDOUR::ClockDeltaMode > | change_display_delta_mode_signal |
|
sigc::signal< void > | CanonicalClockChanged |
|
sigc::signal< void > | ValueChanged |
|
sigc::signal< void > | mode_changed |
|
sigc::signal< void > | StateChanged |
|
sigc::signal< bool > | QueueDraw |
|
sigc::signal< bool > | QueueResize |
|
static std::vector< AudioClock * > | clocks |
|
Protected Attributes inherited from MainClock |
ClockDisposition | _disposition |
|
Gtk::Menu * | ops_menu |
|
ArdourWidgets::ArdourButton | _left_btn |
|
ArdourWidgets::ArdourButton | _right_btn |
|
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 sigc::slot< void, Gtk::Widget * > | focus_handler |
|
TransportClock is a clock widget that reflects the state of the canonical MainClocks in ARDOUR_UI (either Primary or Secondary) there are multiple Primary and Secondary clock widgets, but from the user's perspective they all represent the "same clock" The current position, display mode, and 'delta mode' are globally shared across Primary and Secondary clocks. Other state, such as the editing/text-entry state, remains per-widget.
Definition at line 76 of file main_clock.h.