williamr@2: // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@4: // under the terms of "Eclipse Public License v1.0" williamr@2: // which accompanies this distribution, and is available williamr@4: // at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // Some standard definitions used in GRID williamr@2: // williamr@2: // williamr@2: williamr@2: #if !defined(__GRDDEF_H__) williamr@2: #define __GRDDEF_H__ williamr@2: williamr@2: /** Defines the direction and the amount by which a williamr@2: cursor is to move, when performing a scrolling operation. williamr@2: @publishedAll williamr@2: @released williamr@2: @see CGridLay::PageScroll() williamr@2: @see CGridImg::MoveCursorL() */ williamr@2: enum TMoveDirectionAndAmount williamr@2: { williamr@2: /** Move up by one row. */ williamr@2: EMoveRowUp, williamr@2: /** Move down by one row. */ williamr@2: EMoveRowDown, williamr@2: /** Move left by one column. */ williamr@2: EMoveColumnLeft, williamr@2: /** Move right by one column. */ williamr@2: EMoveColumnRight, williamr@2: /** Move up by one page. */ williamr@2: EMovePageUp, williamr@2: /** Move down by one page. */ williamr@2: EMovePageDown, williamr@2: /** Move left by one page. */ williamr@2: EMovePageLeft, williamr@2: /** Move right by one page. */ williamr@2: EMovePageRight, williamr@2: /** Move to the start of the row. */ williamr@2: EMoveRowStart, williamr@2: /** Move to the end of the row */ williamr@2: EMoveRowEnd, williamr@2: /** Move to the home position. */ williamr@2: EMoveHome, williamr@2: /** Move to the end position. */ williamr@2: EMoveEnd, williamr@2: /** Do not move the cursor. */ williamr@2: EMoveNone, williamr@2: /** Move to the start of the column. */ williamr@2: EMoveColumnStart, williamr@2: /** Move to the end of the column. */ williamr@2: EMoveColumnEnd williamr@2: }; williamr@2: williamr@2: williamr@2: #endif