set track for knobs in order to make them automatable

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@778 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-03-08 09:23:58 +00:00
parent ee04ea3c74
commit 2c2156d3eb
2 changed files with 22 additions and 0 deletions

View File

@@ -1,5 +1,22 @@
2008-03-08 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* plugins/kicker/kicker.cpp:
set track for knobs in order to make them automatable
* include/automatable_model_templates.h:
fixed missing automationPattern-initialization (i.e.
setFirstValue()-call) which made automation-editor not work properly
if no events were drawn so far
* include/piano_roll.h:
* include/automation_editor.h:
* src/core/piano_roll.cpp:
* src/core/automation_editor.cpp:
made micro-draw-operations use 32-bit-ints instead of 16-bit-integers
for performing better on 32-bit-platforms
* data/locale/de.qm:
* data/locale/de.ts:
* include/mv_base.h:
* src/widgets/combobox.cpp:
* src/widgets/knob.cpp:

View File

@@ -65,6 +65,11 @@ kickerInstrument::kickerInstrument( instrumentTrack * _instrument_track ) :
m_distModel( 0.8f, 0.0f, 100.0f, 0.1f, this ),
m_gainModel( 1.0f, 0.1f, 5.0f, 0.05f, this )
{
m_startFreqModel.setTrack( _instrument_track );
m_endFreqModel.setTrack( _instrument_track );
m_decayModel.setTrack( _instrument_track );
m_distModel.setTrack( _instrument_track );
m_gainModel.setTrack( _instrument_track );
}