Ardour
9.0-pre0-582-g084a23a80d
midi_cue_velocity.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2024 Paul Davis <paul@linuxaudiosystems.com>
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License along
15
* with this program; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
*/
18
19
#ifndef __gtk2_ardour_midi_cue_velocity_h__
20
#define __gtk2_ardour_midi_cue_velocity_h__
21
22
#include "
ghost_event.h
"
23
#include "
velocity_display.h
"
24
25
class
MidiCueVelocityDisplay
:
public
VelocityDisplay
26
{
27
public
:
28
MidiCueVelocityDisplay
(
EditingContext
&,
MidiViewBackground
&,
MidiView
&,
ArdourCanvas::Rectangle
& base_rect,
Gtkmm2ext::Color
oc);
29
30
void
remove_note
(
NoteBase
*);
31
void
set_colors
();
32
void
set_height
(
double
);
33
34
private
:
35
ArdourCanvas::Container
*
_note_group
;
36
GhostEvent::EventList
events
;
37
GhostEvent::EventList::iterator
_optimization_iterator
;
38
39
bool
base_event
(
GdkEvent
*);
40
bool
lollevent
(
GdkEvent
*,
GhostEvent
*);
41
};
42
43
#endif
/* __gtk2_ardour_midi_cue_velocity_h__ */
ArdourCanvas::Container
Definition:
canvas/canvas/container.h:40
ArdourCanvas::Rectangle
Definition:
canvas/canvas/rectangle.h:31
EditingContext
Definition:
editing_context.h:76
GhostEvent
Definition:
ghost_event.h:19
GhostEvent::EventList
std::unordered_map< std::shared_ptr< NoteType >, GhostEvent * > EventList
Definition:
ghost_event.h:32
MidiCueVelocityDisplay
Definition:
midi_cue_velocity.h:26
MidiCueVelocityDisplay::remove_note
void remove_note(NoteBase *)
MidiCueVelocityDisplay::MidiCueVelocityDisplay
MidiCueVelocityDisplay(EditingContext &, MidiViewBackground &, MidiView &, ArdourCanvas::Rectangle &base_rect, Gtkmm2ext::Color oc)
MidiCueVelocityDisplay::_note_group
ArdourCanvas::Container * _note_group
Definition:
midi_cue_velocity.h:35
MidiCueVelocityDisplay::lollevent
bool lollevent(GdkEvent *, GhostEvent *)
MidiCueVelocityDisplay::events
GhostEvent::EventList events
Definition:
midi_cue_velocity.h:36
MidiCueVelocityDisplay::base_event
bool base_event(GdkEvent *)
MidiCueVelocityDisplay::set_height
void set_height(double)
MidiCueVelocityDisplay::set_colors
void set_colors()
MidiCueVelocityDisplay::_optimization_iterator
GhostEvent::EventList::iterator _optimization_iterator
Definition:
midi_cue_velocity.h:37
MidiViewBackground
Definition:
midi_view_background.h:50
MidiView
Definition:
midi_view.h:80
NoteBase
Definition:
note_base.h:59
VelocityDisplay
Definition:
velocity_display.h:42
ghost_event.h
Gtkmm2ext::Color
uint32_t Color
Definition:
colors.h:33
_GdkEvent
Definition:
gdkevents.h:517
velocity_display.h
gtk2_ardour
midi_cue_velocity.h
Generated on Wed Dec 25 2024 05:44:34 for Ardour by
1.9.1