LafAppUi Class Reference

class LafAppUi

Application UI level LAF support.

Public Member Functions
IMPORT_C TBool CancelBubbleHelpOnEvent (const TPointerEvent &)
IMPORT_C TRect ClientRect (const CCoeEnv &, const MLafClientRectResolver &)
IMPORT_C TBool FadeWhenInBackground ()
IMPORT_C void ReduceRect ( TRect &)

Member Functions Documentation

CancelBubbleHelpOnEvent(const TPointerEvent &)

IMPORT_C TBool CancelBubbleHelpOnEvent ( const TPointerEvent & aEvent ) [static]

Tests if bubble help should be cancelled due to a specified pointer event.

This is called when processing a window server event in the AppUi.

Returns ETrue if bubble help should be cancelled due to the pointer event aPointerEvent. Called when processing a WServ event in the appUi.

Since
App-Framework_6.1

Parameters

const TPointerEvent & aEvent Pointer event

ClientRect(const CCoeEnv &, const MLafClientRectResolver &)

IMPORT_C TRect ClientRect ( const CCoeEnv & aEnv,
const MLafClientRectResolver & aClientRectResolver
) [static]

Gets the screen area available to a specified client application.

The screen area should exclude screen furniture such as menu bars and status panes.

Returns the client rect for this app thread.

Since
App-Framework_6.1

Parameters

const CCoeEnv & aEnv Application's control environment
const MLafClientRectResolver & aClientRectResolver Object that works out how screen furniture reduces the available screen area

FadeWhenInBackground()

IMPORT_C TBool FadeWhenInBackground ( ) [static]

Tests whether to attempt to fade all windows of an application when that application's window group moves into the background.

Determines whether to attempt to fade all app windows when an app's window group moves into the background

ReduceRect(TRect &)

IMPORT_C void ReduceRect ( TRect & aRect ) [static]

Adjusts a screen rectangle to allow room for any other applications that should always be visible.

Adjust aRect to allow room for any other apps that should always be visible

Parameters

TRect & aRect Pass in the rectangle to adjust; on return, the adjusted rectangle