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

贵阳做网站的公司搜索引擎优化的具体措施

贵阳做网站的公司,搜索引擎优化的具体措施,深圳公司网站建立,什么视频网站可以做链接DebugPrinter类是一种在显示屏上打印调试消息的简单方法,无需向屏幕添加控件。 在使用DebugPrinter之前,需要分配一个实例并将其传递给Application类,且DebugPrinter实例必须兼容所使用的LCD类。 该表列出了DebugPrinter类名称: …

DebugPrinter类是一种在显示屏上打印调试消息的简单方法,无需向屏幕添加控件。

在使用DebugPrinter之前,需要分配一个实例并将其传递给Application类,且DebugPrinter实例必须兼容所使用的LCD类。 该表列出了DebugPrinter类名称:

LCD 类DebugPrinter类
LCD1bppLCD1DebugPrinter
LCD2bppLCD2DebugPrinter
LCD4bppLCD4DebugPrinter
LCD8bpp_ARGB2222LCD8ARGB2222DebugPrinter
LCD8bpp_ABGR2222LCD8ABGR2222DebugPrinter
LCD8bpp_RGBA2222LCD8RGBA2222DebugPrinter
LCD8bpp_BGRA2222LCD8BGRA2222DebugPrinter
LCD16bppLCD16DebugPrinter
LCD16bppSerialFlashLCD16DebugPrinter
LCD24bppLCD24DebugPrinter
LCD32bppLCD32DebugPrinter

 

例如,这可以在FrontendApplication的构造函数中实现。

#include <gui/common/FrontendApplication.hpp>
#include <touchgfx/lcd/LCD16DebugPrinter.hpp>LCD16DebugPrinter 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.hpp>class 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.h>screenView::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.shuangfujiaoyu.com/news/33261.html

相关文章:

  • 不备案网站推广文章的推广渠道
  • 官网的网站开发费用yande搜索引擎官网入口
  • 唐山做网站建设公司长沙网红奶茶
  • 哪个网站做外贸年费比较便宜百度小说app
  • 网站主体注销seo外链
  • 重庆做网站电话北京百度网讯科技有限公司
  • it行业培训机构一般多少钱seo网站外包公司
  • 网站可以做无形资产青岛seo公司
  • 视频聊天室网站开发武汉seo收费
  • 做注册任务赚钱的网站电商网站开发平台
  • 黄石网站建外链发布工具
  • 去除 做网站就用建站之星软文台
  • 广州专门做网站的公司北京网站优化培训
  • 网站免费建站叉手谷歌seo网站运营
  • 网站建设手机端官网朝阳seo建站
  • 做旅游宣传图的网站有哪些软文范例大全1000字
  • 广州网站建设大公司seo简单优化
  • 江门网站制作维护网站模板免费下载
  • 微商怎么引流被别人加app排名优化
  • 做网站怎么导入源码郑州网站建设推广
  • 外贸网站建设维护手机流畅优化软件
  • 北京建设执业网站平台推广费用
  • 上饶网站建设企业外包公司的优势和劣势
  • 简洁中文网站模板下载网络销售新手入门
  • 建设银行租房网站建立免费个人网站
  • 专业的网站首页建设公司seo网站优化软件价格
  • 重庆网站建设哪家有手机百度登录入口
  • php做的购物网站系统下载seo课程培训视频
  • 天津武清做网站的公司网站模板哪里好
  • 有什么网站做可以国外的生意站长工具seo查询