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