Mercurial > hg > easaier-soundaccess
diff data/model/SDLWidget.h @ 139:2d883a374b79
Zoom with the mouse wheel, for the SDLWidget.
author | benoitrigolleau |
---|---|
date | Fri, 09 Nov 2007 13:21:34 +0000 |
parents | e236ce53a2e7 |
children | e63e8272dcb0 |
line wrap: on
line diff
--- a/data/model/SDLWidget.h Fri Nov 09 12:58:47 2007 +0000 +++ b/data/model/SDLWidget.h Fri Nov 09 13:21:34 2007 +0000 @@ -20,12 +20,22 @@ SDLWidget(); virtual ~SDLWidget(); +signals: + void sizeChanged(int w, int h); + +public slots: + void setZoomFactor( float ); + void wheelEvent( QWheelEvent* ); + protected: bool windowInitialized; SDL_Surface *screen; virtual void showEvent(QShowEvent *e); + +private: + float zoomFactor; };