--- a/ui/widgets/glxzoomwidget/inc/glxzoomwidget.h Fri Jun 25 15:41:33 2010 +0530
+++ b/ui/widgets/glxzoomwidget/inc/glxzoomwidget.h Sat Jul 10 00:59:39 2010 +0530
@@ -53,6 +53,7 @@
* This is an overloaded function when an index is changes due to deletion
*/
void indexChanged();
+ void forceZoomToBackground();
signals:
void pinchGestureReceived(int index);
@@ -94,6 +95,8 @@
void finalizeWidgetTransform();
//get the focused image from the model
QPixmap getFocusedImage();
+ //set all the zoom parameters as per the circumstances
+ void setZoomParams();
//data members
private:
@@ -136,6 +139,8 @@
bool mPinchGestureOngoing;
//to check if decoded image is available
bool mDecodedImageAvailable;
+ //to check if the widget is actually in Foreground
+ bool mZoomOngoing;
int mTimerId;
};