⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 appview.cpp

📁 symbian7.0环境应用程序开发
💻 CPP
字号:
#include "tp-viewtest.h"
#include "AppView.h"


CAppView* CAppView::NewL(const TRect& aRect)
  {
  CAppView * self = new(ELeave) CAppView;
  CleanupStack::PushL(self);
  self->ConstructL(aRect);
  CleanupStack::Pop();
  return self;
  }
	
CAppView::~CAppView()
  {
  }

void CAppView::ConstructL(const TRect& aRect)
  {
  CreateWindowL();
  SetRect(aRect);
  ActivateL();
  }

void CAppView::Draw(const TRect& /*aRect*/) const
  {
  // Window graphics context
  CWindowGc& gc = SystemGc();
  // Start with a clear screen
  gc.Clear();
  TRect rect = Rect();
  gc.DrawRect(rect);
  }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -