equal
deleted
inserted
replaced
301 |
301 |
302 iControlGroupOrder.Reset(); |
302 iControlGroupOrder.Reset(); |
303 } |
303 } |
304 else |
304 else |
305 { |
305 { |
306 ShowControlGroupsInOrderL(*display); |
306 // ShowControlGroupsInOrderL(*display); |
307 } |
307 } |
308 |
308 |
309 // This is needed for Huitk BitBlit() to succeed |
309 // This is needed for Huitk BitBlit() to succeed |
310 |
310 |
311 #ifdef SYMBIAN_BUILD_GCE |
311 #ifdef SYMBIAN_BUILD_GCE |
435 aDisplay.Roster().Hide( *iControlGroupOrder[i] ); |
435 aDisplay.Roster().Hide( *iControlGroupOrder[i] ); |
436 } |
436 } |
437 } |
437 } |
438 } |
438 } |
439 |
439 |
440 void CAlfAppSrvSession::ShowControlGroupsInOrderL(CHuiDisplay& aDisplay) |
440 void CAlfAppSrvSession::ShowControlGroupsInOrderL(CHuiDisplay& /*aDisplay*/) |
441 { |
441 { |
442 #ifdef SYMBIAN_BUILD_GCE |
442 /*#ifdef SYMBIAN_BUILD_GCE |
443 iControlGroupOrder.Reset(); |
443 iControlGroupOrder.Reset(); |
444 // gather all the control groups that belong to this session |
444 // gather all the control groups that belong to this session |
445 for ( TInt g = 0 ; g < aDisplay.Roster().Count() ; g++ ) |
445 for ( TInt g = 0 ; g < aDisplay.Roster().Count() ; g++ ) |
446 { |
446 { |
447 // first append the bottom one |
447 // first append the bottom one |
472 aDisplay.Roster().ShowL( group, KAlfRosterShowAtBottom ); |
472 aDisplay.Roster().ShowL( group, KAlfRosterShowAtBottom ); |
473 #endif |
473 #endif |
474 iControlGroupOrder.Remove(iControlGroupOrder.Count()-1); |
474 iControlGroupOrder.Remove(iControlGroupOrder.Count()-1); |
475 } |
475 } |
476 } |
476 } |
477 iControlGroupOrder.Reset(); |
477 iControlGroupOrder.Reset();*/ |
478 } |
478 } |
479 |
479 |
480 void CAlfAppSrvSession::ReOrderControlGroupSessionsL( RPointerArray<CAlfSrvSubSessionBase>& aGroupSessions ) |
480 void CAlfAppSrvSession::ReOrderControlGroupSessionsL( RPointerArray<CAlfSrvSubSessionBase>& aGroupSessions ) |
481 { |
481 { |
482 if ( iControlGroupOrder.Count() && aGroupSessions.Count() > 1 ) |
482 if ( iControlGroupOrder.Count() && aGroupSessions.Count() > 1 ) |
1236 // hide |
1236 // hide |
1237 controlGroupSubSession.SetIsShown( EFalse ); |
1237 controlGroupSubSession.SetIsShown( EFalse ); |
1238 |
1238 |
1239 |
1239 |
1240 #ifdef SYMBIAN_BUILD_GCE |
1240 #ifdef SYMBIAN_BUILD_GCE |
1241 CHuiLayout* hostContainer = controlGroup.Control(0).ContainerLayout( NULL ); |
1241 CHuiLayout* hostContainer = controlGroup.Control(0).ContainerLayout( NULL ); |
|
1242 controlGroup.SetAcceptInput(EFalse); |
1242 if(hostContainer) |
1243 if(hostContainer) |
1243 hostContainer->SetFlags(EHuiVisualFlagUnderOpaqueHint); |
1244 hostContainer->SetFlags(EHuiVisualFlagUnderOpaqueHint); |
1244 #else |
1245 #else |
1245 // hide from the roster only if session is focused |
1246 // hide from the roster only if session is focused |
1246 if ( iFocused ) |
1247 if ( iFocused ) |