--- a/emailuis/uicomponents/src/fscontrolbarmodel.cpp Thu Dec 17 08:39:21 2009 +0200
+++ b/emailuis/uicomponents/src/fscontrolbarmodel.cpp Thu Jan 07 12:38:38 2010 +0200
@@ -496,6 +496,26 @@
}
}
+// ---------------------------------------------------------------------------
+// Set new position and size
+// ---------------------------------------------------------------------------
+//
+void CFsControlBarModel::SetRect( const TRect& aRect )
+ {
+ iSize = aRect.Size();
+ iWidthUseDefault = EFalse;
+ iHeightUseDefault = EFalse;
+ iTl = aRect.iTl;
+ }
+
+// ---------------------------------------------------------------------------
+// Get top-left position of the bar
+// ---------------------------------------------------------------------------
+//
+TPoint CFsControlBarModel::Pos() const
+ {
+ return iTl;
+ }
// ---------------------------------------------------------------------------
// Sets width in pixels of controlbar and refreshes control.