Audacity 3.2.0
|
#include "NoteTrackControls.h"
#include "NoteTrackDisplayData.h"
#include "AColor.h"
#include "AllThemeResources.h"
#include "../../ui/PlayableTrackButtonHandles.h"
#include "NoteTrackButtonHandle.h"
#include "NoteTrackSliderHandles.h"
#include "../../../../TrackArtist.h"
#include "../../../../TrackPanel.h"
#include "../../../ui/CommonTrackInfo.h"
#include "../../../../TrackPanelMouseEvent.h"
#include "NoteTrack.h"
#include "../../../../widgets/PopupMenuTable.h"
#include "ProjectHistory.h"
#include "../../../../ProjectWindows.h"
#include "../../../../RefreshCode.h"
#include "Theme.h"
#include <wx/frame.h>
#include "../../../../widgets/ASlider.h"
#include "../../../../TrackPanelDrawingContext.h"
#include "ViewInfo.h"
#include "../../../ui/ChannelView.h"
Go to the source code of this file.
Classes | |
class | NoteTrackMenuTable |
struct | NoteTrackTCPLines |
Namespaces | |
namespace | anonymous_namespace{NoteTrackControls.cpp} |
Macros | |
#define | CHANNEL_ON_IS_DOWN 1 |
Typedefs | |
using | TCPLine = TrackInfo::TCPLine |
using | DoGetNoteTrackControls = DoGetControls::Override< NoteTrack > |
using | GetDefaultNoteTrackHeight = GetDefaultTrackHeight::Override< NoteTrack > |
Enumerations | |
enum | { OnUpOctaveID = 30000 , OnDownOctaveID } |
enum | : int { kMidiCellWidth = ( ( kTrackInfoWidth - CommonTrackInfo::Margin * 2) / 4) , kMidiCellHeight = kTrackInfoBtnSize } |
Functions | |
BeginSection ("Basic") | |
AppendItem ("Up", OnUpOctaveID, XXO("Up &Octave"), POPUP_MENU_FN(OnChangeOctave)) | |
AppendItem ("Down", OnDownOctaveID, XXO("Down Octa&ve"), POPUP_MENU_FN(OnChangeOctave)) | |
EndSection () | |
void | anonymous_namespace{NoteTrackControls.cpp}::GetMidiControlsHorizontalBounds (const wxRect &rect, wxRect &dest) |
void | anonymous_namespace{NoteTrackControls.cpp}::SliderDrawFunction (LWSlider *(*Selector)(const wxRect &sliderRect, const NoteTrack *t, bool captured, wxWindow *), wxDC *dc, const wxRect &rect, const Track *pTrack, wxWindow *pParent, bool captured, bool highlight) |
void | anonymous_namespace{NoteTrackControls.cpp}::VelocitySliderDrawFunction (TrackPanelDrawingContext &context, const wxRect &rect, const Track *pTrack) |
static void | anonymous_namespace{NoteTrackControls.cpp}::DrawLabelControls (const NoteTrack *pTrack, wxDC &dc, const wxRect &rect, int highlightedChannel) |
void | anonymous_namespace{NoteTrackControls.cpp}::MidiControlsDrawFunction (TrackPanelDrawingContext &context, const wxRect &rect, const Track *pTrack) |
DEFINE_ATTACHED_VIRTUAL_OVERRIDE (DoGetNoteTrackControls) | |
Variables | |
NoteTrackTCPLines | noteTrackTCPLines |
std::unique_ptr< LWSlider > | anonymous_namespace{NoteTrackControls.cpp}::gVelocityCaptured |
std::unique_ptr< LWSlider > | anonymous_namespace{NoteTrackControls.cpp}::gVelocity |
#define CHANNEL_ON_IS_DOWN 1 |
Definition at line 395 of file NoteTrackControls.cpp.
Definition at line 404 of file NoteTrackControls.cpp.
using TCPLine = TrackInfo::TCPLine |
Definition at line 143 of file NoteTrackControls.cpp.
anonymous enum |
Enumerator | |
---|---|
OnUpOctaveID | |
OnDownOctaveID |
Definition at line 100 of file NoteTrackControls.cpp.
anonymous enum : int |
Enumerator | |
---|---|
kMidiCellWidth | |
kMidiCellHeight |
Definition at line 146 of file NoteTrackControls.cpp.
AppendItem | ( | "Down" | , |
OnDownOctaveID | , | ||
XXO("Down Octa&ve") | , | ||
POPUP_MENU_FN(OnChangeOctave) | |||
) |
AppendItem | ( | "Up" | , |
OnUpOctaveID | , | ||
XXO("Up &Octave") | , | ||
POPUP_MENU_FN(OnChangeOctave) | |||
) |
BeginSection | ( | "Basic" | ) |
DEFINE_ATTACHED_VIRTUAL_OVERRIDE | ( | DoGetNoteTrackControls | ) |
Definition at line 396 of file NoteTrackControls.cpp.
EndSection | ( | ) |
|
static |