当前位置: 首页 > news >正文

深圳的网站建设公司的外文名是一站式海外推广平台

深圳的网站建设公司的外文名是,一站式海外推广平台,简述网络营销的概念与特点,网站标志的原则DebugPrinter类是一种在显示屏上打印调试消息的简单方法#xff0c;无需向屏幕添加控件。 在使用DebugPrinter之前#xff0c;需要分配一个实例并将其传递给Application类#xff0c;且DebugPrinter实例必须兼容所使用的LCD类。 该表列出了DebugPrinter类名称#xff1a; …DebugPrinter类是一种在显示屏上打印调试消息的简单方法无需向屏幕添加控件。 在使用DebugPrinter之前需要分配一个实例并将其传递给Application类且DebugPrinter实例必须兼容所使用的LCD类。 该表列出了DebugPrinter类名称 LCD 类DebugPrinter类LCD1bppLCD1DebugPrinterLCD2bppLCD2DebugPrinterLCD4bppLCD4DebugPrinterLCD8bpp_ARGB2222LCD8ARGB2222DebugPrinterLCD8bpp_ABGR2222LCD8ABGR2222DebugPrinterLCD8bpp_RGBA2222LCD8RGBA2222DebugPrinterLCD8bpp_BGRA2222LCD8BGRA2222DebugPrinterLCD16bppLCD16DebugPrinterLCD16bppSerialFlashLCD16DebugPrinterLCD24bppLCD24DebugPrinterLCD32bppLCD32DebugPrinter 例如这可以在FrontendApplication的构造函数中实现。 #include gui/common/FrontendApplication.hpp #include touchgfx/lcd/LCD16DebugPrinter.hppLCD16DebugPrinter lcd16DebugPrinter;FrontendApplication::FrontendApplication(Model m, FrontendHeap heap): FrontendApplicationBase(m, heap) {lcd16DebugPrinter.setPosition(0, 0, 240, 40);lcd16DebugPrinter.setScale(3);lcd16DebugPrinter.setColor(0x00); //blackApplication::setDebugPrinter(lcd16DebugPrinter); } 此时我们已经将DebugPrinter配置为左上角240 x 40像素写入。 现在可以编写程序打印字符串: #ifndef SCREENVIEW_HPP #define SCREENVIEW_HPP#include gui_generated/screen_screen/screenViewBase.hpp #include gui/screen_screen/screenPresenter.hppclass screenView : public screenViewBase { public:screenView();virtual ~screenView() {}virtual void setupScreen();virtual void tearDownScreen();virtual void handleTickEvent(); protected:private:int count;char debugStringBuffer[30]; };#endif // SCREENVIEW_HPP #include gui/screen_screen/screenView.hpp #include stdio.hscreenView::screenView() {count 0; }void screenView::setupScreen() {screenViewBase::setupScreen(); }void screenView::tearDownScreen() {screenViewBase::tearDownScreen(); }void screenView::handleTickEvent() {count;snprintf(debugStringBuffer, sizeof(debugStringBuffer), tick: %d, count);Application::getDebugPrinter()-setString(debugStringBuffer);Application::invalidateDebugRegion(); } 其实不必在应用程序中多次调用DebugPrinter::setString。 只需要更改缓存区的内容但是请调用invalidateDebugRegion这将使DebugPrinter绘制新内容。
http://www.hkea.cn/news/14308091/

相关文章:

  • 做的网站在ie会乱码联通入股腾讯
  • 网上做任务网站有哪些网站申请注册 免备案
  • 制作网站的费用迅速上排名网站优化
  • 公司网站建设款计什么科目怎么给网站做快照
  • 手机网站要求注册网络平台怎么注册
  • 旅游网站技术流程图有没有专门做装修的网站
  • 网站开发的经济可行性分析网络优化app
  • 做海报的网站有哪些内容北京专业网站开发公司
  • 动态效果的网站建设杭州cms建站模板下载
  • 个人做网站被骗广州建站费用
  • 通州网站建设公司门户网站自查整改情况报告
  • 怎么做类似淘宝一样的网站太原百度关键词优化
  • 苏州企业网站建设开发与制作做好网站建设的重要性
  • 天津企业网站开发小米路由2 做网站
  • 网站建设模板源代码电商网站设计思想
  • 阳泉集团网站建设网站的制作步骤包括
  • 濮阳市做网站公司网站建设需要什么人
  • dede网站怎么设置首页ip地址免费
  • 成都网站制作公司电话微信短网址生成
  • 泉州建站模板厂家做网络教育录播网站
  • 网站一级导航怎么做网站弄论坛形式怎么做
  • 海沧做网站重庆设计有限公司
  • 搜索引擎优化网站搜索排名优化价格
  • 织梦网站模块政协门户网站建设方案
  • 网站悬浮二维码免费的app软件大全
  • 建设网站加快网站平台建设
  • 做网站商wordpress 加载 蛮
  • 做网站需要做手机版吗网站建设 全包
  • 黑科技软件合集网站英文网站 字体大小
  • 河南省建设厅督察网站长沙网红打卡地方有哪些