bugfixes and some small improvements

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@95 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2006-03-01 11:19:33 +00:00
parent 1208dcc435
commit 5e7073b223
14 changed files with 210 additions and 38 deletions

View File

@@ -50,6 +50,15 @@ public:
*this = _t;
}
inline midiTime toNearestTact( void ) const
{
if( m_tact64th >= 32 )
{
return( m_tact * 64 + 64 );
}
return( m_tact * 64 );
}
inline midiTime & operator=( const midiTime & _t )
{
m_tact = _t.m_tact;

View File

@@ -87,11 +87,13 @@ public:
virtual midiTime length( void ) const;
note * FASTCALL addNote( const note & _new_note );
note * FASTCALL addNote( const note & _new_note,
const bool _quant_pos = TRUE );
void FASTCALL removeNote( const note * _note_to_del );
note * FASTCALL rearrangeNote( const note * _note_to_proc );
note * FASTCALL rearrangeNote( const note * _note_to_proc,
const bool _quant_pos = TRUE );
void clearNotes( void );

View File

@@ -151,6 +151,8 @@ private:
bool m_autoResize;
Sint16 m_initialMouseX;
textFloat * m_hint;
} ;