class LafMsgWin |
Provides LAF settings for the system environment's message windows ( CEikMsgWin ).
Public Member Functions | |
---|---|
IMPORT_C void | CompleteMessageWinConstructionL ( RMessageWindow &, const MLafEnv &) |
IMPORT_C void | ConfigureText ( TDisplayParameters &, const MLafEnv &) |
IMPORT_C void | HandleResourceChange ( RMessageWindow &, const MLafEnv &) |
IMPORT_C void | SetUpBlankWindow ( RBlankWindow &) |
IMPORT_C void | CompleteMessageWinConstructionL | ( | RMessageWindow & | aMessageWin, |
const MLafEnv & | aEnv | |||
) | [static] |
Completes the intitialisation of the message window.
This function should select a font and call RMessageWindow::ConstructL() for aMessageWin.
This method completes the intitialisation of the LafMsgWin . This method should set a font and call constructL on aMessageWin.
RMessageWindow & aMessageWin | Message window |
const MLafEnv & aEnv | LAF environment functions |
IMPORT_C void | ConfigureText | ( | TDisplayParameters & | aParams, |
const MLafEnv & | aEnv | |||
) | [static] |
Formats message text display.
The function should truncate the text in aParams.iTextToDisplay to fit the device display, and set aParms.iMsgWinSize and aParams.iMsgWinPosition appropriately, depending on the corner aParams.iDisplayCorner, and the font for the device.
aParams.iClientRect is provided for devices that wish to set the position relative to the client rect of the application rather than the screen rect.
This method should truncate the text in aParams.iTextToDisplay if this is needed on the device. It should also set aParms.iMsgWinSize and aParams.iMsgWinPosition of the message, depending on the corner aParams.iDisplayCorner, and the font for the device. aParams.iClientRect is provided for devices that wish to set the position relative to the client rect of the application rather than the screen rect.
TDisplayParameters & aParams | Display parameters |
const MLafEnv & aEnv | LAF environment functions |
IMPORT_C void | HandleResourceChange | ( | RMessageWindow & | aMessageWin, |
const MLafEnv & | aEnv | |||
) | [static] |
Handles a change to the system resources that may affect how the window is displayed.
The function should update aMessageWin appropriately.
RMessageWindow & aMessageWin | Message window |
const MLafEnv & aEnv | LAF environment functions |
IMPORT_C void | SetUpBlankWindow | ( | RBlankWindow & | aBlankWindow | ) | [static] |
Sets the shadow on the blank window which the message is contained in.
This method sets the shadow on the blank window which the Info Message or Busy message is contained in.
RBlankWindow & aBlankWindow | Message window |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.