📄 pdfs60appview.cpp
字号:
//
// PdfS60AppView.cpp
//
#include "PdfS60AppView.h"
// UI
#include "Pdf.hrh"
#include "PdfController.h"
// Other methods
void CPdfS60AppView:HandleCommandL(TInt aCommand)
{
switch (aCommand)
{
case EPdfCmdGoToPage:
// Other commands handled by the controller
iController->HandleCommandL(aCommand);
break;
// Avkon-specific commands can be handled here, like switching between full screen mode and
// normal screen mode. This command is Avkon-specific because the mechanism to set a full
// screen is Avkon-specific.
case EPdfCmdFullScreen:
case EPdfCmdNormalScreen:
CmdSetFullScreen(aCommand == EPdfCmdFullSCreen);
break;
// The AppUi handles other commands
// The AppUi itself will delegate most commands to the controller again.
default:
iAppUi->HandleCommandL(aCommand);
break;
}
}
void CPdfS60AppView:DrawNewPage() const
{
DrawNow();
UpdatePageNumber();
}
void CPdfS60AppView:SetController(CPdfController* aController)
{
iController = aController;
}
// etc.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -