Piano roll GUI enhancements. Reset LFO counter on song start

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@935 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock
2008-04-25 05:09:11 +00:00
parent 8ac8fb5ca2
commit b5ec90ea39
5 changed files with 78 additions and 8 deletions

View File

@@ -74,7 +74,7 @@ float controller::value( int _offset )
// Get position in frames
int controller::runningFrames()
unsigned int controller::runningFrames()
{
return s_frames;
}
@@ -91,6 +91,10 @@ void controller::triggerFrameCounter( void )
{
for( int i = 0; i < s_controllers.size(); ++i )
{
// This signal is for updating values for both stubborn knobs and for
// painting. If we ever get all the widgets to use or at least check
// currentValue() then we can throttle the signal and only use it for
// GUI.
emit s_controllers.at(i)->valueChanged();
}