made micro-draw-operations use 32-bit-ints instead of 16-bit-integers for performing better on 32-bit-platforms

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@776 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-03-08 09:18:02 +00:00
parent a3813eff2b
commit aa7d45f3ec
4 changed files with 9 additions and 9 deletions

View File

@@ -91,8 +91,8 @@ protected:
virtual void wheelEvent( QWheelEvent * _we );
int FASTCALL getLevel( int _y );
static inline void drawValueRect( QPainter & _p, Uint16 _x, Uint16 _y,
Sint16 _width, Sint16 _height,
static inline void drawValueRect( QPainter & _p, int _x, int _y,
int _width, int _height,
const bool _is_selected );
void removeSelection( void );
void selectAll( void );

View File

@@ -95,8 +95,8 @@ protected:
#endif
int FASTCALL getKey( int _y ) const;
static inline void drawNoteRect( QPainter & _p, Uint16 _x, Uint16 _y,
Sint16 _width,
static inline void drawNoteRect( QPainter & _p, int _x, int _y,
int _width,
const bool _is_selected,
const bool _is_step_note );
void removeSelection( void );