NO-OP: clang-format
This commit is contained in:
parent
ad24d397f5
commit
184bd500f7
File diff suppressed because it is too large
Load Diff
@ -20,18 +20,18 @@
|
|||||||
#ifndef __ardour_gtk2_midi_list_editor_h_
|
#ifndef __ardour_gtk2_midi_list_editor_h_
|
||||||
#define __ardour_gtk2_midi_list_editor_h_
|
#define __ardour_gtk2_midi_list_editor_h_
|
||||||
|
|
||||||
#include <gtkmm/treeview.h>
|
|
||||||
#include <gtkmm/table.h>
|
|
||||||
#include <gtkmm/box.h>
|
#include <gtkmm/box.h>
|
||||||
#include <gtkmm/liststore.h>
|
#include <gtkmm/liststore.h>
|
||||||
#include <gtkmm/scrolledwindow.h>
|
#include <gtkmm/scrolledwindow.h>
|
||||||
|
#include <gtkmm/table.h>
|
||||||
|
#include <gtkmm/treeview.h>
|
||||||
|
|
||||||
#include "ardour/session_handle.h"
|
#include "ardour/session_handle.h"
|
||||||
|
|
||||||
#include "ardour_window.h"
|
#include "ardour_window.h"
|
||||||
|
|
||||||
namespace Evoral {
|
namespace Evoral {
|
||||||
template<typename Time> class Note;
|
template <typename Time> class Note;
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace ARDOUR {
|
namespace ARDOUR {
|
||||||
@ -46,14 +46,14 @@ class MidiListEditor : public ArdourWindow
|
|||||||
public:
|
public:
|
||||||
typedef Evoral::Note<Temporal::Beats> NoteType;
|
typedef Evoral::Note<Temporal::Beats> NoteType;
|
||||||
|
|
||||||
MidiListEditor(ARDOUR::Session*, std::shared_ptr<ARDOUR::MidiRegion>,
|
MidiListEditor (ARDOUR::Session*, std::shared_ptr<ARDOUR::MidiRegion>,
|
||||||
std::shared_ptr<ARDOUR::MidiTrack>);
|
std::shared_ptr<ARDOUR::MidiTrack>);
|
||||||
~MidiListEditor();
|
~MidiListEditor ();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
struct MidiListModelColumns : public Gtk::TreeModel::ColumnRecord
|
struct MidiListModelColumns : public Gtk::TreeModel::ColumnRecord {
|
||||||
{
|
MidiListModelColumns ()
|
||||||
MidiListModelColumns() {
|
{
|
||||||
add (channel);
|
add (channel);
|
||||||
add (note);
|
add (note);
|
||||||
add (note_name);
|
add (note_name);
|
||||||
@ -62,18 +62,18 @@ private:
|
|||||||
add (length);
|
add (length);
|
||||||
add (_note);
|
add (_note);
|
||||||
};
|
};
|
||||||
Gtk::TreeModelColumn<uint8_t> channel;
|
Gtk::TreeModelColumn<uint8_t> channel;
|
||||||
Gtk::TreeModelColumn<uint8_t> note;
|
Gtk::TreeModelColumn<uint8_t> note;
|
||||||
Gtk::TreeModelColumn<std::string> note_name;
|
Gtk::TreeModelColumn<std::string> note_name;
|
||||||
Gtk::TreeModelColumn<uint8_t> velocity;
|
Gtk::TreeModelColumn<uint8_t> velocity;
|
||||||
Gtk::TreeModelColumn<std::string> start;
|
Gtk::TreeModelColumn<std::string> start;
|
||||||
Gtk::TreeModelColumn<std::string> length;
|
Gtk::TreeModelColumn<std::string> length;
|
||||||
Gtk::TreeModelColumn<std::shared_ptr<NoteType> > _note;
|
Gtk::TreeModelColumn<std::shared_ptr<NoteType>> _note;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct NoteLengthColumns : public Gtk::TreeModel::ColumnRecord
|
struct NoteLengthColumns : public Gtk::TreeModel::ColumnRecord {
|
||||||
{
|
NoteLengthColumns ()
|
||||||
NoteLengthColumns() {
|
{
|
||||||
add (ticks);
|
add (ticks);
|
||||||
add (name);
|
add (name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user