Mercurial > hg > easaier-soundaccess
comparison data/model/SDLWidget.h @ 151:f2d2c1084e7c
very good zoom out :P
author | benoitrigolleau |
---|---|
date | Wed, 14 Nov 2007 17:27:42 +0000 |
parents | e63e8272dcb0 |
children | 2ac52ea3c1c4 |
comparison
equal
deleted
inserted
replaced
150:c946c19e6329 | 151:f2d2c1084e7c |
---|---|
21 virtual ~SDLWidget(); | 21 virtual ~SDLWidget(); |
22 void setInitSize(int w, int h); | 22 void setInitSize(int w, int h); |
23 | 23 |
24 signals: | 24 signals: |
25 void sizeChanged(int w, int h); | 25 void sizeChanged(int w, int h); |
26 void zoomfactorChanged(int factor); | 26 void zoomfactorChanged(float factor); |
27 void initSizeChanged(); | 27 void initSizeChanged(); |
28 | 28 |
29 public slots: | 29 public slots: |
30 void setZoomFactor( float ); | 30 void setZoomFactor( float ); |
31 void wheelEvent( QWheelEvent* ); | 31 void wheelEvent( QWheelEvent* ); |
41 | 41 |
42 protected slots: | 42 protected slots: |
43 void updateMinSize(); | 43 void updateMinSize(); |
44 | 44 |
45 private: | 45 private: |
46 float zoomFactor; | 46 float m_zoomFactor; |
47 }; | 47 }; |
48 | 48 |
49 | 49 |
50 #endif | 50 #endif |