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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __LAFAPPUI_H__
17 #define __LAFAPPUI_H__
27 /** Application UI level LAF support.
33 /** Tests whether to attempt to fade all windows of an application when that application's
34 window group moves into the background.
36 @return True to fade, otherwise false */
37 IMPORT_C static TBool FadeWhenInBackground();
38 /** Adjusts a screen rectangle to allow room for any other applications that should
41 @param aRect Pass in the rectangle to adjust; on return, the adjusted rectangle */
42 IMPORT_C static void ReduceRect(TRect& aRect);
43 /** Tests if bubble help should be cancelled due to a specified pointer event.
45 This is called when processing a window server event in the AppUi.
47 @param aEvent Pointer event
48 @return True if bubble help should be cancelled */
49 IMPORT_C static TBool CancelBubbleHelpOnEvent(const TPointerEvent& aEvent);
50 /** Gets the screen area available to a specified client application.
52 The screen area should exclude screen furniture such as menu bars and status
55 @param aEnv Application's control environment
56 @param aClientRectResolver Object that works out how screen furniture reduces
57 the available screen area
58 @return Available screen area */
59 IMPORT_C static TRect ClientRect(const CCoeEnv& aEnv,const MLafClientRectResolver& aClientRectResolver);
62 #endif //__LAFAPPUI_H__