epoc32/include/mw/grddef.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/mw/grddef.h	Wed Mar 31 12:27:01 2010 +0100
     1.3 @@ -0,0 +1,62 @@
     1.4 +// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// Some standard definitions used in GRID
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +#if !defined(__GRDDEF_H__)
    1.22 +#define __GRDDEF_H__
    1.23 +
    1.24 +/** Defines the direction and the amount by which a 
    1.25 +cursor is to move, when performing a scrolling operation.
    1.26 +@publishedAll
    1.27 +@released
    1.28 +@see CGridLay::PageScroll()
    1.29 +@see CGridImg::MoveCursorL() */
    1.30 +enum TMoveDirectionAndAmount
    1.31 +	{
    1.32 +	/** Move up by one row. */
    1.33 +	EMoveRowUp,
    1.34 +	/** Move down by one row. */
    1.35 +	EMoveRowDown,
    1.36 +	/** Move left by one column. */
    1.37 +	EMoveColumnLeft,
    1.38 +	/** Move right by one column. */
    1.39 +	EMoveColumnRight,
    1.40 +	/** Move up by one page. */
    1.41 +	EMovePageUp,
    1.42 +	/** Move down by one page. */
    1.43 +	EMovePageDown,
    1.44 +	/** Move left by one page. */
    1.45 +	EMovePageLeft,
    1.46 +	/** Move right by one page. */
    1.47 +	EMovePageRight,
    1.48 +	/** Move to the start of the row. */
    1.49 +	EMoveRowStart,
    1.50 +	/** Move to the end of the row */
    1.51 +	EMoveRowEnd,
    1.52 +	/** Move to the home position. */
    1.53 +	EMoveHome,
    1.54 +	/** Move to the end position. */
    1.55 +	EMoveEnd,
    1.56 +	/** Do not move the cursor. */
    1.57 +	EMoveNone,
    1.58 +	/** Move to the start of the column. */
    1.59 +	EMoveColumnStart,
    1.60 +	/** Move to the end of the column. */
    1.61 +	EMoveColumnEnd
    1.62 +	};
    1.63 +
    1.64 +
    1.65 +#endif