本文整理汇总了C++中CEikButtonGroupContainer::DrawDeferred方法的典型用法代码示例。如果您正苦于以下问题:C++ CEikButtonGroupContainer::DrawDeferred方法的具体用法?C++ CEikButtonGroupContainer::DrawDeferred怎么用?C++ CEikButtonGroupContainer::DrawDeferred使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CEikButtonGroupContainer
的用法示例。
在下文中一共展示了CEikButtonGroupContainer::DrawDeferred方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: ViewActivatedL
// Activates this view, called by framework
void CAafAppFileBrowserView::ViewActivatedL(const TVwsViewId &/*aPrevViewId*/, TUid /*aCustomMessageId*/, const TDesC8 &/*aCustomMessage*/)
{
// Set files to be displayed
SetFileListL(iBrowserEngine->GetCurrentDirectory());
// Set menubar and CBA
CEikonEnv* eikonEnv = CEikonEnv::Static();
MEikAppUiFactory* appUiFactory = eikonEnv->AppUiFactory();
CEikMenuBar* menuBar = appUiFactory->MenuBar();
CEikButtonGroupContainer* cba = appUiFactory->Cba();
// If any menubar is displayed - stop displaying
if (menuBar)
menuBar->StopDisplayingMenuBar();
menuBar->SetMenuTitleResourceId(R_AAF_FILEBROWSER_MENUBAR);
cba->SetCommandSetL(R_AAF_CBA_STANDART);
cba->DrawDeferred();
// Bring this view to the top of windows stack
Window().SetOrdinalPosition(0);
// Restore listbox item selection (if it's not empty)
if (iListBox->Model()->NumberOfItems())
iListBox->SetCurrentItemIndex(iCurrentItemIndex);
// Set view visible
MakeVisible(ETrue);
}
示例2: ShowSettingViewL
void CPingAppUi::ShowSettingViewL()
{
iAppView->MakeVisible( EFalse );
AppViewFromStack();
SettingViewToStackL();
iSettingView->MakeVisible( ETrue );
iSettingView->DrawNow();
CEikButtonGroupContainer *cba = ((CAknAppUi*)CEikonEnv::Static()->EikAppUi())->Cba();
cba->SetCommandSetL(R_SETTINGS_CBA);
cba->DrawDeferred();
// Make sure that scroll bars are shown if needed
iSettingView->ListBox()->ScrollBarFrame()->SetScrollBarVisibilityL(CEikScrollBarFrame::EOn, CEikScrollBarFrame::EAuto);
iSettingView->ListBox()->UpdateScrollBarsL();
}
示例3: ShowAppViewL
void CPingAppUi::ShowAppViewL()
{
iSettingView->MakeVisible( EFalse );
SettingViewFromStack();
AppViewToStackL();
iAppView->MakeVisible( ETrue );
iAppView->DrawNow();
CEikButtonGroupContainer *cba = ((CAknAppUi*)CEikonEnv::Static()->EikAppUi())->Cba();
cba->SetCommandSetL(R_PING_CBA);
cba->DrawDeferred();
// Make sure that setting view's scroll indicators are not shown in the app view
iSettingView->ListBox()->ScrollBarFrame()->SetScrollBarVisibilityL(CEikScrollBarFrame::EOff, CEikScrollBarFrame::EOff);
iSettingView->ListBox()->UpdateScrollBarsL();
}
示例4: ViewActivatedL
// Activates this view, called by framework
void CAafAppCameraView::ViewActivatedL(const TVwsViewId &aPrevViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage)
{
__LOGSTR_TOFILE("CAafAppCameraView::ViewActivatedL() ends");
if (!iContainer)
{
__LOGSTR_TOFILE("CAafAppCameraView::ViewActivatedL() iContainer initialization begins");
iContainer = CAafCameraContainer::NewL( Rect() );
iContainer->SetContainerWindowL( *this );
iContainer->ActivateL();
__LOGSTR_TOFILE("CAafAppCameraView::ViewActivatedL() iContainer initialization ends");
}
else
{
iContainer->ActivateL();
iContainer->InitCameraL();
}
// Set menubar and CBA
CEikonEnv* eikonEnv = CEikonEnv::Static();
MEikAppUiFactory* appUiFactory = eikonEnv->AppUiFactory();
CEikMenuBar* menuBar = appUiFactory->MenuBar();
CEikButtonGroupContainer* cba = appUiFactory->Cba();
// If any menubar is displayed - stop displaying
if (menuBar)
menuBar->StopDisplayingMenuBar();
menuBar->SetMenuTitleResourceId(R_AAF_CAMERA_VIEW_MENUBAR);
cba->SetCommandSetL(R_AAF_CBA_STANDART);
cba->DrawDeferred();
// Bring this view to the top of windows stack
Window().SetOrdinalPosition(0);
MakeVisible(ETrue);
__LOGSTR_TOFILE("CAafAppCameraView::ViewActivatedL() ends");
}
示例5: DoDeactivate
void Csymbian_ua_guiSettingItemListView::DoDeactivate()
{
// [[[ begin generated region: do not modify [Generated Contents]
CleanupStatusPane();
CEikButtonGroupContainer* cba = AppUi()->Cba();
if ( cba != NULL )
{
cba->MakeVisible( ETrue );
cba->DrawDeferred();
}
if ( iSymbian_ua_guiSettingItemList != NULL )
{
AppUi()->RemoveFromStack( iSymbian_ua_guiSettingItemList );
delete iSymbian_ua_guiSettingItemList;
iSymbian_ua_guiSettingItemList = NULL;
delete iSettings;
iSettings = NULL;
}
// ]]] end generated region [Generated Contents]
}