本文整理汇总了C++中CEikStatusPane::IsVisible方法的典型用法代码示例。如果您正苦于以下问题:C++ CEikStatusPane::IsVisible方法的具体用法?C++ CEikStatusPane::IsVisible怎么用?C++ CEikStatusPane::IsVisible使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CEikStatusPane
的用法示例。
在下文中一共展示了CEikStatusPane::IsVisible方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: StatusPane
// -----------------------------------------------------------------------------
// COsmo4AppUi::HandleCommandL()
// Takes care of command handling.
// -----------------------------------------------------------------------------
//
void COsmo4AppUi::HandleCommandL( TInt aCommand )
{
GF_Err e;
#ifndef GPAC_GUI_ONLY
switch( aCommand ) {
case EAknSoftkeyBack:
if (view_mode==1) TogglePlaylist();
break;
case EEikCmdExit:
case EAknSoftkeyExit:
iAppView->Shutdown();
Exit();
break;
/*PLAYLIST commands*/
case EOsmo4PlayListAdd:
iPlaylist->PlaylistAct(Osmo4PLAdd);
break;
case EOsmo4PlayListRem:
iPlaylist->PlaylistAct(Osmo4PLRem);
break;
case EOsmo4PlayListMoveUp:
iPlaylist->PlaylistAct(Osmo4PLMoveUp);
break;
case EOsmo4PlayListMoveDown:
iPlaylist->PlaylistAct(Osmo4PLMoveDown);
break;
case EOsmo4PlayListClear:
iPlaylist->PlaylistAct(Osmo4PLClear);
break;
case EOsmo4PlayListMode:
iPlaylist->PlaylistAct(Osmo4PLToggleMode);
break;
case EOsmo4PlayListAllFiles:
iPlaylist->PlaylistAct(Osmo4PLToggleAllFiles);
break;
/*FILE menu command*/
case EOsmo4PlayListView:
TogglePlaylist();
break;
case EOsmo4OpenURL:
break;
case EOsmo4Fullscreen:
break;
case EOsmo4ViewMaxSize:
{
CEikStatusPane* statusPane = StatusPane();
if (statusPane->IsVisible()) statusPane->MakeVisible(EFalse);
else statusPane->MakeVisible(ETrue);
}
break;
case EOsmo4AROriginal:
gf_term_set_option(iAppView->m_term, GF_OPT_ASPECT_RATIO, GF_ASPECT_RATIO_KEEP);
break;
case EOsmo4ARFillScreen:
gf_term_set_option(iAppView->m_term, GF_OPT_ASPECT_RATIO, GF_ASPECT_RATIO_FILL_SCREEN);
break;
case EOsmo4AR4_3:
gf_term_set_option(iAppView->m_term, GF_OPT_ASPECT_RATIO, GF_ASPECT_RATIO_4_3);
break;
case EOsmo4AR16_9:
gf_term_set_option(iAppView->m_term, GF_OPT_ASPECT_RATIO, GF_ASPECT_RATIO_16_9);
break;
case EOsmo4NavReset:
gf_term_set_option(iAppView->m_term, GF_OPT_NAVIGATION_TYPE, 0);
break;
case EOsmo4NavNone:
gf_term_set_option(iAppView->m_term, GF_OPT_NAVIGATION, GF_NAVIGATE_NONE);
break;
case EOsmo4NavSlide:
e = gf_term_set_option(iAppView->m_term, GF_OPT_NAVIGATION, GF_NAVIGATE_SLIDE);
if (e) {
GF_LOG(GF_LOG_ERROR, GF_LOG_CORE, ("Cannot set navigation: %s", gf_error_to_string(e) ));
}
break;
case EOsmo4NavWalk:
gf_term_set_option(iAppView->m_term, GF_OPT_NAVIGATION, GF_NAVIGATE_WALK);
break;
case EOsmo4NavFly:
gf_term_set_option(iAppView->m_term, GF_OPT_NAVIGATION, GF_NAVIGATE_FLY);
break;
case EOsmo4NavExamine:
gf_term_set_option(iAppView->m_term, GF_OPT_NAVIGATION, GF_NAVIGATE_EXAMINE);
break;
case EOsmo4NavHeadlight:
gf_term_set_option(iAppView->m_term, GF_OPT_HEADLIGHT, !gf_term_get_option(iAppView->m_term, GF_OPT_HEADLIGHT) );
break;
case EOsmo4CollideNone:
gf_term_set_option(iAppView->m_term, GF_OPT_COLLISION, GF_COLLISION_NONE);
break;
case EOsmo4CollideSimple:
gf_term_set_option(iAppView->m_term, GF_OPT_COLLISION, GF_COLLISION_NORMAL);
break;
case EOsmo4CollideDisp:
//.........这里部分代码省略.........