|
Ardour
9.0-pre0-1952-gc5e0b21049
|
#include <hit.h>
Public Types | |
| typedef Evoral::Note< Temporal::Beats > | NoteType |
Public Types inherited from NoteBase | |
| typedef Evoral::Note< Temporal::Beats > | NoteType |
Public Member Functions | |
| Hit (MidiView ®ion, ArdourCanvas::Item *parent, double size, const std::shared_ptr< NoteType > note=std::shared_ptr< NoteType >(), bool with_events=true) | |
| ~Hit () | |
| void | show () |
| void | hide () |
| ArdourCanvas::Coord | x0 () const |
| ArdourCanvas::Coord | y0 () const |
| ArdourCanvas::Coord | x1 () const |
| ArdourCanvas::Coord | y1 () const |
| ArdourCanvas::Duple | position () |
| void | set_position (ArdourCanvas::Duple) |
| void | set_height (ArdourCanvas::Coord) |
| void | set_outline_color (uint32_t) |
| void | set_fill_color (uint32_t) |
| void | set_ignore_events (bool) |
| void | move_event (double, double) |
| bool | big_enough_to_trim () const |
| double | visual_velocity () const |
Public Member Functions inherited from NoteBase | |
| NoteBase (MidiView ®ion, bool, const std::shared_ptr< NoteType > note=std::shared_ptr< NoteType >()) | |
| virtual | ~NoteBase () |
| void | set_item (ArdourCanvas::Item *) |
| ArdourCanvas::Item * | item () const |
| bool | valid () const |
| void | invalidate () |
| void | validate () |
| bool | selected () const |
| void | set_selected (bool yn) |
| void | set_hide_selection (bool yn) |
| uint32_t | base_color () |
| void | show_velocity () |
| void | hide_velocity () |
| void | on_channel_selection_change (uint16_t selection) |
| virtual void | set_velocity (double) |
| float | mouse_x_fraction () const |
| float | mouse_y_fraction () const |
| const std::shared_ptr< NoteType > | note () const |
| MidiView & | midi_view () const |
| bool | mouse_near_ends () const |
Static Public Member Functions | |
| static ArdourCanvas::Points | points (ArdourCanvas::Distance height) |
Static Public Member Functions inherited from NoteBase | |
| static uint32_t | base_color (int velocity, ARDOUR::ColorMode color_mode, Gtkmm2ext::Color, int channel, bool selected) |
| static void | set_colors () |
| static Gtkmm2ext::Color | meter_style_fill_color (uint8_t vel, bool selected) |
| static uint32_t | calculate_outline (uint32_t color, bool showing_selection=false) |
| calculate outline colors from fill colors of notes More... | |
Private Attributes | |
| ArdourCanvas::Polygon * | _polygon |
Additional Inherited Members | |
Static Public Attributes inherited from NoteBase | |
| static const uint32_t | midi_channel_colors [16] |
| hue circle divided into 16 equal-looking parts, courtesy Thorsten Wilms More... | |
Protected Types inherited from NoteBase | |
| enum | State { None , Pressed , Dragging } |
Protected Member Functions inherited from NoteBase | |
| void | set_mouse_fractions (GdkEvent *) |
Protected Attributes inherited from NoteBase | |
| MidiView & | _view |
| ArdourCanvas::Item * | _item |
| ArdourCanvas::Text * | _text |
| State | _state |
| const std::shared_ptr< NoteType > | _note |
| bool | _with_events |
| bool | _own_note |
| Flags | _flags |
| bool | _valid |
| float | _mouse_x_fraction |
| float | _mouse_y_fraction |
| typedef Evoral::Note<Temporal::Beats> Hit::NoteType |
| Hit::Hit | ( | MidiView & | region, |
| ArdourCanvas::Item * | parent, | ||
| double | size, | ||
| const std::shared_ptr< NoteType > | note = std::shared_ptr< NoteType >(), |
||
| bool | with_events = true |
||
| ) |
| Hit::~Hit | ( | ) |
|
inlinevirtual |
|
virtual |
Implements NoteBase.
|
virtual |
Implements NoteBase.
|
static |
| ArdourCanvas::Duple Hit::position | ( | ) |
|
virtual |
Implements NoteBase.
| void Hit::set_height | ( | ArdourCanvas::Coord | ) |
|
virtual |
Implements NoteBase.
|
virtual |
Implements NoteBase.
| void Hit::set_position | ( | ArdourCanvas::Duple | ) |
|
virtual |
Implements NoteBase.
|
virtual |
Implements NoteBase.
|
virtual |
Implements NoteBase.
|
virtual |
Implements NoteBase.
|
virtual |
Implements NoteBase.
|
virtual |
Implements NoteBase.
|
private |