?? ldmti_12appui.cpp
字號:
/* Copyright (c) 2008, Nokia. All rights reserved */
#include <avkon.hrh>
#include <aknnotewrappers.h>
#include "LDMTI_12.pan"
#include "LDMTI_12AppUi.h"
#include "LDMTI_12.hrh"
#include "RedView.h"
#include "CyanView.h"
#include "YellowView.h"
void CLDMTI_12AppUi::ConstructL()
{
BaseConstructL(EAknEnableSkin);
// iAppView = CLDMTI_12AppView::NewL(ClientRect());
// AddToStackL(iAppView);
m_pRedView = CRedView::NewL();
AddViewL(m_pRedView);
m_pCyanView = CCyanView::NewL();
AddViewL(m_pCyanView);
m_pYellowView = CYellowView::NewL();
AddViewL(m_pYellowView);
}
CLDMTI_12AppUi::CLDMTI_12AppUi()
{
// add any construction that cannot leave here
}
CLDMTI_12AppUi::~CLDMTI_12AppUi()
{
/* if (iAppView)
{
iEikonEnv->RemoveFromStack(iAppView);
delete iAppView;
iAppView = NULL;
}*/
}
void CLDMTI_12AppUi::HandleCommandL(TInt aCommand)
{
switch(aCommand)
{
case EEikCmdExit:
case EAknSoftkeyExit:
Exit();
break;
case ELDMTI_12Command1:
{
ActivateLocalViewL(m_pRedView->Id());
}
break;
case ELDMTI_12Command2:
{
ActivateLocalViewL(m_pCyanView->Id());
}
break;
case ELDMTI_12Command3:
{
ActivateLocalViewL(m_pYellowView->Id());
}
break;
default:
Panic(ELDMTI_12BasicUi);
break;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -