uifw/AvKon/src/aknindicatorpopupcontent.cpp
branchRCL_3
changeset 16 71dd06cfe933
parent 0 2f259fa3e83a
child 55 aecbbf00d063
equal deleted inserted replaced
15:08e69e956a8c 16:71dd06cfe933
     1 /*
     1 /*
     2 * Copyright (c) 2007,2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2007-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".
  1098 //
  1098 //
  1099 void CAknIndicatorPopupContent::ConstructL()
  1099 void CAknIndicatorPopupContent::ConstructL()
  1100     {
  1100     {
  1101     iClock = CAknDigitalClock::NewL( this );
  1101     iClock = CAknDigitalClock::NewL( this );
  1102     TAknTextLineLayout clockLayout(
  1102     TAknTextLineLayout clockLayout(
  1103         AknLayoutScalable_Avkon::uniindi_top_pane_t1( 1 ).LayoutLine() );
  1103         AknLayoutScalable_Avkon::uniindi_top_pane_t1( 0 ).LayoutLine() );
  1104 
  1104 
  1105     // Ensure that the left and right values of the clock text layout
  1105     // Ensure that the left and right values of the clock text layout
  1106     // are zero, currently the whole top area is set as the parent
  1106     // are zero, currently the whole top area is set as the parent
  1107     // for this layout, so it's narrowed by reducting the
  1107     // for this layout, so it's narrowed by reducting the
  1108     // signal pane area.
  1108     // signal and battery pane areas.
  1109     clockLayout.il = 0;
  1109     clockLayout.il = 0;
  1110     clockLayout.ir = 0;
  1110     clockLayout.ir = 0;
  1111     iClock->SetTimeLayout( clockLayout );
  1111     iClock->SetTimeLayout( clockLayout );
  1112     TRgb textColor;
  1112     TRgb textColor;
  1113 
  1113