Ardour
9.0-pre0-979-g7f6f3d64f1
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
g
h
i
k
l
m
n
p
s
v
w
x
z
Typedefs
a
b
c
d
e
f
g
i
k
l
m
n
p
r
s
t
u
v
x
z
Enumerations
b
e
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
pianoroll_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
#pragma once
20
21
#include "
ghost_event.h
"
22
#include "
velocity_display.h
"
23
24
class
PianorollVelocityDisplay
:
public
VelocityDisplay
25
{
26
public
:
27
PianorollVelocityDisplay
(
EditingContext
&,
MidiViewBackground
&,
MidiView
&,
ArdourCanvas::Rectangle
& base_rect,
Gtkmm2ext::Color
oc);
28
29
void
remove_note
(
NoteBase
*);
30
void
set_colors
();
31
void
set_height
(
double
);
32
33
private
:
34
ArdourCanvas::Container
*
_note_group
;
35
GhostEvent::EventList
events
;
36
GhostEvent::EventList::iterator
_optimization_iterator
;
37
38
bool
base_event
(
GdkEvent
*);
39
bool
lollevent
(
GdkEvent
*,
GhostEvent
*);
40
};
ArdourCanvas::Container
Definition:
canvas/canvas/container.h:40
ArdourCanvas::Rectangle
Definition:
canvas/canvas/rectangle.h:31
EditingContext
Definition:
editing_context.h:79
GhostEvent
Definition:
ghost_event.h:19
GhostEvent::EventList
std::unordered_map< std::shared_ptr< NoteType >, GhostEvent * > EventList
Definition:
ghost_event.h:34
MidiViewBackground
Definition:
midi_view_background.h:50
MidiView
Definition:
midi_view.h:103
NoteBase
Definition:
note_base.h:59
PianorollVelocityDisplay
Definition:
pianoroll_velocity.h:25
PianorollVelocityDisplay::set_height
void set_height(double)
PianorollVelocityDisplay::remove_note
void remove_note(NoteBase *)
PianorollVelocityDisplay::_optimization_iterator
GhostEvent::EventList::iterator _optimization_iterator
Definition:
pianoroll_velocity.h:36
PianorollVelocityDisplay::base_event
bool base_event(GdkEvent *)
PianorollVelocityDisplay::lollevent
bool lollevent(GdkEvent *, GhostEvent *)
PianorollVelocityDisplay::set_colors
void set_colors()
PianorollVelocityDisplay::PianorollVelocityDisplay
PianorollVelocityDisplay(EditingContext &, MidiViewBackground &, MidiView &, ArdourCanvas::Rectangle &base_rect, Gtkmm2ext::Color oc)
PianorollVelocityDisplay::events
GhostEvent::EventList events
Definition:
pianoroll_velocity.h:35
PianorollVelocityDisplay::_note_group
ArdourCanvas::Container * _note_group
Definition:
pianoroll_velocity.h:34
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
pianoroll_velocity.h
Generated on Sun Mar 16 2025 05:23:24 for Ardour by
1.9.1