22#ifndef LAYER_PREVIEW_H
23#define LAYER_PREVIEW_H
88 QMouseEvent* pEvent );
97 QMouseEvent* pEvent );
InstrumentLayer is part of an instrument each layer has it's own : gain which is the ration between...
Changes
Bitwise or-able options showing which part of the Preferences were altered using the PreferencesDialo...
virtual void mouseMoveEvent(QMouseEvent *ev) override
LayerPreview(QWidget *pParent)
virtual void mousePressEvent(QMouseEvent *ev) override
void showLayerEndVelocity(const std::shared_ptr< H2Core::InstrumentLayer > pLayer, QMouseEvent *pEvent)
display a layer's end velocity in a tooltip
static const int m_nLayerHeight
void setSelectedLayer(int nSelectedLayer)
void onPreferencesChanged(H2Core::Preferences::Changes changes)
virtual void drumkitLoadedEvent() override
virtual void mouseReleaseEvent(QMouseEvent *ev) override
void showLayerStartVelocity(const std::shared_ptr< H2Core::InstrumentLayer > pLayer, QMouseEvent *pEvent)
display a layer's start velocity in a tooltip
virtual void selectedInstrumentChangedEvent() override
virtual void updateSongEvent(int) override
void paintEvent(QPaintEvent *ev) override
std::shared_ptr< H2Core::Instrument > m_pInstrument
void set_selected_component(int SelectedComponent)
int getMidiVelocityFromRaw(const float raw)
convert a raw velocity value (0.0 to 1.0) into a MIDI velocity value (0 to 127)
int getPointSizeButton() const
Used to detect changed in the font.