mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
fix color of MIDI notes during capture so that they are visible
This commit is contained in:
parent
492073e47d
commit
e06bd481a1
11 changed files with 12 additions and 2 deletions
|
|
@ -4316,7 +4316,9 @@ MidiRegionView::data_recorded (boost::weak_ptr<MidiSource> w)
|
|||
|
||||
assert (note->end_time() == std::numeric_limits<Temporal::Beats>::max());
|
||||
|
||||
add_note (note, true);
|
||||
NoteBase* nb = add_note (note, true);
|
||||
nb->item()->set_fill_color (UIConfiguration::instance().color ("recording note fill"));
|
||||
nb->item()->set_outline_color (UIConfiguration::instance().color ("recording note fill"));
|
||||
|
||||
/* fix up our note range */
|
||||
if (ev.note() < _current_range_min) {
|
||||
|
|
|
|||
|
|
@ -125,7 +125,6 @@ public:
|
|||
GhostRegion* add_ghost (TimeAxisView&);
|
||||
|
||||
NoteBase* add_note(const boost::shared_ptr<NoteType> note, bool visible);
|
||||
void resolve_note(uint8_t note_num, Temporal::Beats end_time);
|
||||
|
||||
void cut_copy_clear (Editing::CutCopyOp);
|
||||
bool paste (Temporal::timepos_t const & pos, const ::Selection& selection, PasteContext& ctx);
|
||||
|
|
|
|||
|
|
@ -342,6 +342,7 @@
|
|||
<ColorAlias name="record enable button: fill active" alias="alert:ruddy"/>
|
||||
<ColorAlias name="record enable button: led active" alias="alert:red"/>
|
||||
<ColorAlias name="recording rect" alias="alert:ruddy"/>
|
||||
<ColorAlias name="recording note" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform outline" alias="neutral:background2"/>
|
||||
<ColorAlias name="region list automatic" alias="theme:contrasting less"/>
|
||||
|
|
|
|||
|
|
@ -343,6 +343,7 @@
|
|||
<ColorAlias name="record enable button: fill active" alias="alert:ruddy"/>
|
||||
<ColorAlias name="record enable button: led active" alias="alert:red"/>
|
||||
<ColorAlias name="recording rect" alias="alert:ruddy"/>
|
||||
<ColorAlias name="recording note" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform outline" alias="neutral:background2"/>
|
||||
<ColorAlias name="region list automatic" alias="theme:contrasting less"/>
|
||||
|
|
|
|||
|
|
@ -343,6 +343,7 @@
|
|||
<ColorAlias name="record enable button: fill active" alias="alert:ruddy"/>
|
||||
<ColorAlias name="record enable button: led active" alias="alert:red"/>
|
||||
<ColorAlias name="recording rect" alias="alert:ruddy"/>
|
||||
<ColorAlias name="recording note" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform outline" alias="neutral:background2"/>
|
||||
<ColorAlias name="region list automatic" alias="theme:contrasting less"/>
|
||||
|
|
|
|||
|
|
@ -343,6 +343,7 @@
|
|||
<ColorAlias name="record enable button: fill active" alias="alert:ruddy"/>
|
||||
<ColorAlias name="record enable button: led active" alias="alert:red"/>
|
||||
<ColorAlias name="recording rect" alias="alert:ruddy"/>
|
||||
<ColorAlias name="recording note" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform outline" alias="neutral:background2"/>
|
||||
<ColorAlias name="region list automatic" alias="theme:contrasting less"/>
|
||||
|
|
|
|||
|
|
@ -343,6 +343,7 @@
|
|||
<ColorAlias name="record enable button: fill active" alias="alert:ruddy"/>
|
||||
<ColorAlias name="record enable button: led active" alias="alert:red"/>
|
||||
<ColorAlias name="recording rect" alias="alert:ruddy"/>
|
||||
<ColorAlias name="recording note" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform outline" alias="neutral:background2"/>
|
||||
<ColorAlias name="region list automatic" alias="theme:contrasting less"/>
|
||||
|
|
|
|||
|
|
@ -345,6 +345,7 @@
|
|||
<ColorAlias name="record enable button: fill active" alias="alert:ruddy"/>
|
||||
<ColorAlias name="record enable button: led active" alias="alert:red"/>
|
||||
<ColorAlias name="recording rect" alias="alert:ruddy"/>
|
||||
<ColorAlias name="recording note" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform outline" alias="neutral:background2"/>
|
||||
<ColorAlias name="region list automatic" alias="theme:contrasting less"/>
|
||||
|
|
|
|||
|
|
@ -343,6 +343,7 @@
|
|||
<ColorAlias name="record enable button: fill active" alias="alert:ruddy"/>
|
||||
<ColorAlias name="record enable button: led active" alias="alert:red"/>
|
||||
<ColorAlias name="recording rect" alias="alert:ruddy"/>
|
||||
<ColorAlias name="recording note" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform outline" alias="neutral:background2"/>
|
||||
<ColorAlias name="region list automatic" alias="theme:contrasting less"/>
|
||||
|
|
|
|||
|
|
@ -342,6 +342,7 @@
|
|||
<ColorAlias name="record enable button: fill active" alias="alert:ruddy"/>
|
||||
<ColorAlias name="record enable button: led active" alias="alert:red"/>
|
||||
<ColorAlias name="recording rect" alias="alert:ruddy"/>
|
||||
<ColorAlias name="recording note" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform outline" alias="neutral:background2"/>
|
||||
<ColorAlias name="region list automatic" alias="theme:contrasting less"/>
|
||||
|
|
|
|||
|
|
@ -343,6 +343,7 @@
|
|||
<ColorAlias name="record enable button: fill active" alias="alert:ruddy"/>
|
||||
<ColorAlias name="record enable button: led active" alias="alert:red"/>
|
||||
<ColorAlias name="recording rect" alias="alert:ruddy"/>
|
||||
<ColorAlias name="recording note" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform fill" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="recording waveform outline" alias="neutral:foregroundest"/>
|
||||
<ColorAlias name="region list automatic" alias="theme:contrasting less"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue