equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
1855 /** |
1855 /** |
1856 * Setup a graphic element for a column listbox using aknlayout.dll |
1856 * Setup a graphic element for a column listbox using aknlayout.dll |
1857 */ |
1857 */ |
1858 IMPORT_C static void SetupListboxPos(CEikListBox& aListBox, |
1858 IMPORT_C static void SetupListboxPos(CEikListBox& aListBox, |
1859 const TAknWindowLineLayout &aLayout); |
1859 const TAknWindowLineLayout &aLayout); |
1860 |
|
1861 /** |
|
1862 * This function returns a correct offset to revise layout data. |
|
1863 * |
|
1864 * Attention: The function is only effective for QHD lanscape model. |
|
1865 * It always return 0 in QVGA, QVGA2, VGA and VAG3. |
|
1866 * A panic will take place if it is used in other models. |
|
1867 * |
|
1868 * @since S60 5.0 |
|
1869 * |
|
1870 * @param aScreenRect Size of Screen. |
|
1871 * @return Offset of listscroll_menu_pane's layout |
|
1872 */ |
|
1873 static TInt AdjustPopupLayoutData( const TRect& aScreenRect ); |
|
1874 }; |
1860 }; |
1875 |
1861 |
1876 /** |
1862 /** |
1877 * General utilities relating to listboxes |
1863 * General utilities relating to listboxes |
1878 * |
1864 * |