LafAppUi Class Reference

class LafAppUi

Application UI level LAF support.

Public Member Functions
IMPORT_C TBoolCancelBubbleHelpOnEvent(const TPointerEvent &)
IMPORT_C TRectClientRect(const CCoeEnv &, const MLafClientRectResolver &)
IMPORT_C TBoolFadeWhenInBackground()
IMPORT_C voidReduceRect(TRect &)

Member Functions Documentation

CancelBubbleHelpOnEvent(const TPointerEvent &)

IMPORT_C TBoolCancelBubbleHelpOnEvent(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 & aEventPointer event

ClientRect(const CCoeEnv &, const MLafClientRectResolver &)

IMPORT_C TRectClientRect(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 & aEnvApplication's control environment
const MLafClientRectResolver & aClientRectResolverObject that works out how screen furniture reduces the available screen area

FadeWhenInBackground()

IMPORT_C TBoolFadeWhenInBackground()[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 voidReduceRect(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 & aRectPass in the rectangle to adjust; on return, the adjusted rectangle