branch | RCL_3 |
changeset 34 | b68fcd923911 |
parent 25 | 91c2fb4b78df |
child 39 | b8d67d6176f5 |
31:ba54057fe027 | 34:b68fcd923911 |
---|---|
96 ConstructEditorFromResourceL( reader ); |
96 ConstructEditorFromResourceL( reader ); |
97 |
97 |
98 iFrameContext = CAknsFrameBackgroundControlContext::NewL( |
98 iFrameContext = CAknsFrameBackgroundControlContext::NewL( |
99 KAknsIIDNone, TRect(0,0,4,4), TRect(1,1,3,3), EFalse ); |
99 KAknsIIDNone, TRect(0,0,4,4), TRect(1,1,3,3), EFalse ); |
100 |
100 |
101 iFrameContext->SetFrame( KAknsIIDQsnFrCall2Rect ); |
101 iFrameContext->SetFrame( KAknsIIDQsnFrInput ); |
102 |
102 |
103 iFrameContext->SetParentContext( |
103 iFrameContext->SetParentContext( |
104 AknsDrawUtils::ControlContextOfParent(this) ); |
104 AknsDrawUtils::ControlContextOfParent(this) ); |
105 |
105 |
106 CleanupStack::PopAndDestroy(); // reader |
106 CleanupStack::PopAndDestroy(); // reader |
432 // Draw the skin background of the parent |
432 // Draw the skin background of the parent |
433 if ( !AknsDrawUtils::DrawFrame( skin, |
433 if ( !AknsDrawUtils::DrawFrame( skin, |
434 (CWindowGc&) gc, |
434 (CWindowGc&) gc, |
435 iOuterRect, |
435 iOuterRect, |
436 iInnerRect, |
436 iInnerRect, |
437 KAknsIIDQsnFrCall2Rect, |
437 KAknsIIDQsnFrInput, |
438 KAknsIIDDefault )) |
438 KAknsIIDDefault )) |
439 { |
439 { |
440 DIALER_PRINT("numberentry::Draw.Frame.failed"); |
440 DIALER_PRINT("numberentry::Draw.Frame.failed"); |
441 } |
441 } |
442 |
442 |
494 |
494 |
495 MAknsSkinInstance* skin = AknsUtils::SkinInstance(); |
495 MAknsSkinInstance* skin = AknsUtils::SkinInstance(); |
496 AknsDrawUtils::PrepareFrame( skin, |
496 AknsDrawUtils::PrepareFrame( skin, |
497 iOuterRect, |
497 iOuterRect, |
498 iInnerRect, |
498 iInnerRect, |
499 KAknsIIDQsnFrCall2Rect, |
499 KAknsIIDQsnFrInput, |
500 KAknsIIDDefault ); |
500 KAknsIIDDefault ); |
501 // Label layout |
501 // Label layout |
502 |
502 |
503 // Portrait variety is temporarily used also in landscape. |
503 // Portrait variety is temporarily used also in landscape. |
504 // Landscape layout data is now unavailable. |
504 // Landscape layout data is now unavailable. |