22#ifndef LAYER_PREVIEW_H
23#define LAYER_PREVIEW_H
87 void showLayerStartVelocity(
const std::shared_ptr<H2Core::InstrumentLayer> pLayer,
const QMouseEvent* pEvent );
95 void showLayerEndVelocity(
const std::shared_ptr<H2Core::InstrumentLayer> pLayer,
const QMouseEvent* pEvent );
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, const 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
virtual void selectedInstrumentChangedEvent() override
virtual void updateSongEvent(int) override
void paintEvent(QPaintEvent *ev) override
std::shared_ptr< H2Core::Instrument > m_pInstrument
void showLayerStartVelocity(const std::shared_ptr< H2Core::InstrumentLayer > pLayer, const QMouseEvent *pEvent)
display a layer's start velocity in a tooltip
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.