classicui_pub/popups_api/inc/aknpopuplayout.h
branchRCL_3
changeset 15 08e69e956a8c
parent 0 2f259fa3e83a
equal deleted inserted replaced
10:9f56a4e1b8ab 15:08e69e956a8c
     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".
   235      * Helper for building popup window layout
   235      * Helper for building popup window layout
   236      */
   236      */
   237     IMPORT_C static void MenuPopupWindowGraphics(TAknPopupWindowLayoutDef &aDef);
   237     IMPORT_C static void MenuPopupWindowGraphics(TAknPopupWindowLayoutDef &aDef);
   238 
   238 
   239     static TRect RectFromLayout(TRect aParent, const TAknWindowComponentLayout &aComponentLayout);
   239     static TRect RectFromLayout(TRect aParent, const TAknWindowComponentLayout &aComponentLayout);
       
   240 
       
   241 private:
       
   242     
       
   243     /**
       
   244      * Contains layout setup that is common for all popups.
       
   245      */
       
   246     static void CommonSetup( TAknPopupWindowLayoutDef& aDef,
       
   247                              const TAknWindowComponentLayout& aItemLayout,
       
   248                              TInt aNum,
       
   249                              TBool aHeading,
       
   250                              TBool aLayoutHeading );
   240     };
   251     };
   241 
   252 
   242 /** TAknPopupWindowLayoutDef
   253 /** TAknPopupWindowLayoutDef
   243  * collects all LAF specification lines that are needed for popup windows
   254  * collects all LAF specification lines that are needed for popup windows
   244  *
   255  *