camerauis/cameraapp/generic/src/camlinevfgriddrawer.cpp
branchRCL_3
changeset 25 2c87b2808fd7
parent 24 bac7acad7cb3
--- a/camerauis/cameraapp/generic/src/camlinevfgriddrawer.cpp	Wed Sep 01 12:30:54 2010 +0100
+++ b/camerauis/cameraapp/generic/src/camlinevfgriddrawer.cpp	Tue Sep 14 20:46:07 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). 
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -13,17 +13,6 @@
 *
 * Description:  Implemantation for CCamLineVfGridDrawer class.
 *
-*  Copyright © 2007 Nokia.  All rights reserved.
-*  This material, including documentation and any related computer
-*  programs, is protected by copyright controlled by Nokia.  All
-*  rights are reserved.  Copying, including reproducing, storing,
-*  adapting or translating, any or all of this material requires the
-*  prior written consent of Nokia.  This material also contains
-*  confidential information which may not be disclosed to others
-*  without the prior written consent of Nokia.
-
-*
-*
 */
 
 
@@ -275,6 +264,7 @@
     {
     // Max used to make sure no div-by-zero
     TInt currentY = ((i+indexOffset)*height) / Max(1,aHorizontalLines+countOffset) - KPenHeight/2;
+    currentY += aDrawingRect.iTl.iY; //Offset, due to NHD viewfinder on VGA display
     iLineArray.Append( TRect( leftX, currentY, rightX, currentY ) );
     i++;
     }