NO-OP: clang-format

This commit is contained in:
Robin Gareus 2023-09-24 14:25:14 +02:00
parent ad24d397f5
commit 184bd500f7
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 449 additions and 463 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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);
} }