equal
deleted
inserted
replaced
690 { |
690 { |
691 return IsOnTopOf(aCtrl); |
691 return IsOnTopOf(aCtrl); |
692 } |
692 } |
693 |
693 |
694 TBool CFepUiBaseCtrl::IsOnTopOf(CFepUiBaseCtrl* aCtrl) |
694 TBool CFepUiBaseCtrl::IsOnTopOf(CFepUiBaseCtrl* aCtrl) |
695 { |
695 { |
696 __ASSERT_DEBUG(aCtrl,EUiNullParam); |
|
697 |
|
698 return OrderPos() < aCtrl->OrderPos(); |
696 return OrderPos() < aCtrl->OrderPos(); |
699 } |
697 } |
700 |
698 |
701 |
699 |
702 TBool CFepUiBaseCtrl::Overlapped(CFepUiBaseCtrl* aCtrl) |
700 TBool CFepUiBaseCtrl::Overlapped(CFepUiBaseCtrl* aCtrl) |
1317 } |
1315 } |
1318 |
1316 |
1319 |
1317 |
1320 EXPORT_C void CFepUiBaseCtrl::SetParent(CFepUiBaseCtrl* aParent) |
1318 EXPORT_C void CFepUiBaseCtrl::SetParent(CFepUiBaseCtrl* aParent) |
1321 { |
1319 { |
1322 //parent control must be type of control group. |
1320 //parent control must be type of control group. |
1323 if(aParent) |
|
1324 { |
|
1325 __ASSERT_DEBUG(aParent->IsKindOfControl(ECtrlControlGroup),EUiLayoutBadParentType); |
|
1326 } |
|
1327 iParentCtrl = aParent; |
1321 iParentCtrl = aParent; |
1328 } |
1322 } |
1329 |
1323 |
1330 EXPORT_C void CFepUiBaseCtrl::SetOrdinalPos(TInt aPos) |
1324 EXPORT_C void CFepUiBaseCtrl::SetOrdinalPos(TInt aPos) |
1331 { |
1325 { |