Ardour  9.0-pre0-582-g084a23a80d
EditorCursor Class Reference

#include <editor_cursors.h>

Public Member Functions

 EditorCursor (EditingContext &, bool(EditingContext::*)(GdkEvent *, ArdourCanvas::Item *), std::string const &)
 
 EditorCursor (EditingContext &, std::string const &)
 
 ~EditorCursor ()
 
void set_position (samplepos_t)
 
void show ()
 
void hide ()
 
void set_color (Gtkmm2ext::Color)
 
void set_sensitive (bool)
 
samplepos_t current_sample () const
 
ArdourCanvas::Arrowcanvas_item ()
 

Public Attributes

PBD::Signal< void(samplepos_t)> PositionChanged
 

Private Attributes

EditingContext_editor
 
ArdourCanvas::Arrow_canvas_item
 
samplepos_t _current_sample
 

Detailed Description

Definition at line 33 of file editor_cursors.h.

Constructor & Destructor Documentation

◆ EditorCursor() [1/2]

EditorCursor::EditorCursor ( EditingContext ,
bool(EditingContext::*)(GdkEvent *, ArdourCanvas::Item *)  ,
std::string const &   
)

◆ EditorCursor() [2/2]

EditorCursor::EditorCursor ( EditingContext ,
std::string const &   
)

◆ ~EditorCursor()

EditorCursor::~EditorCursor ( )

Member Function Documentation

◆ canvas_item()

ArdourCanvas::Arrow& EditorCursor::canvas_item ( )
inline

Definition at line 52 of file editor_cursors.h.

◆ current_sample()

samplepos_t EditorCursor::current_sample ( ) const
inline

Definition at line 48 of file editor_cursors.h.

◆ hide()

void EditorCursor::hide ( )

◆ set_color()

void EditorCursor::set_color ( Gtkmm2ext::Color  )

◆ set_position()

void EditorCursor::set_position ( samplepos_t  )

◆ set_sensitive()

void EditorCursor::set_sensitive ( bool  )

◆ show()

void EditorCursor::show ( )

Member Data Documentation

◆ _canvas_item

ArdourCanvas::Arrow* EditorCursor::_canvas_item
private

Definition at line 60 of file editor_cursors.h.

◆ _current_sample

samplepos_t EditorCursor::_current_sample
private

Definition at line 61 of file editor_cursors.h.

◆ _editor

EditingContext& EditorCursor::_editor
private

Definition at line 59 of file editor_cursors.h.

◆ PositionChanged

PBD::Signal<void(samplepos_t)> EditorCursor::PositionChanged

Definition at line 56 of file editor_cursors.h.


The documentation for this class was generated from the following file: