|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Some standard definitions used in GRID |
|
15 // |
|
16 // |
|
17 |
|
18 #if !defined(__GRDDEF_H__) |
|
19 #define __GRDDEF_H__ |
|
20 |
|
21 /** Defines the direction and the amount by which a |
|
22 cursor is to move, when performing a scrolling operation. |
|
23 @publishedAll |
|
24 @released |
|
25 @see CGridLay::PageScroll() |
|
26 @see CGridImg::MoveCursorL() */ |
|
27 enum TMoveDirectionAndAmount |
|
28 { |
|
29 /** Move up by one row. */ |
|
30 EMoveRowUp, |
|
31 /** Move down by one row. */ |
|
32 EMoveRowDown, |
|
33 /** Move left by one column. */ |
|
34 EMoveColumnLeft, |
|
35 /** Move right by one column. */ |
|
36 EMoveColumnRight, |
|
37 /** Move up by one page. */ |
|
38 EMovePageUp, |
|
39 /** Move down by one page. */ |
|
40 EMovePageDown, |
|
41 /** Move left by one page. */ |
|
42 EMovePageLeft, |
|
43 /** Move right by one page. */ |
|
44 EMovePageRight, |
|
45 /** Move to the start of the row. */ |
|
46 EMoveRowStart, |
|
47 /** Move to the end of the row */ |
|
48 EMoveRowEnd, |
|
49 /** Move to the home position. */ |
|
50 EMoveHome, |
|
51 /** Move to the end position. */ |
|
52 EMoveEnd, |
|
53 /** Do not move the cursor. */ |
|
54 EMoveNone, |
|
55 /** Move to the start of the column. */ |
|
56 EMoveColumnStart, |
|
57 /** Move to the end of the column. */ |
|
58 EMoveColumnEnd |
|
59 }; |
|
60 |
|
61 |
|
62 #endif |