[ucgui] 对话框6——触屏位置简单例子
>_<:直接调用函数获得触屏位置:
- xPhys = GUI_TOUCH_GetxPhys(); /* Get the A/D mesurement result in x */
- yPhys = GUI_TOUCH_GetyPhys(); /* Get the A/D mesurement result in y */
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAy4AAAIGCAIAAAA9WUwTAAAbGElEQVR4nO3dS3BU950v8F7PirLL+9zKjacq+6m6e22DNqjYWGR2GLwwqTFmlhec8BDYPOwpJ3HsIDCpcjAOIhNiHrENGPGUEKDmYUk8xEsInMfcyeZOzS3uoh863ef040iNfgJ/PvUtVev0+T+6m8W3TreaQiFhMQAA86JQV8K6u7u3bd8xdPH6nQd/FREREZGnlPGbdwcOHOju7i4XssWLF//4x/98dvjKV8PjIiIiIjIPuT4++eMf/3OhUCh0d3efHb7y1YUJEREREZm3XB+fLCxevHjDhs3HLkyIiIiIyDynsHjx4qGL14+P3BARERGReU5h8eLF09/+5/GLN0VERERknlOuYicu3hQRERGReU65in196ZaIiIiIzHPKVezk5dsiIiIiMs8pV7HB0cnM/I//+fJ02w6euNBoHhEREXmOc+TU1X/befCnWz/pbP5t58Ejp64+T0uk06KKTU9PH2vbokWLwv8piIiIyPxny/v7j568fGn8fmdz9OTlLe/vf56WSKdcxU4V72SmVMX6+/sHKu7duzc9XaymenxwcHDRokWN5hEREZHnOD/d+snIN/e+OD/W2Yx8c++nWz95npZIp1zFTl+5m5lSFRsYGDh27Njf//73H/6w8NJLNVm0aNGiRYuqVazRPJInw5te7fmXvfO13LGdr3S/vunYbIfv3dj16s7f5xv1x3/p3vhR/PMsIiIdy8+2/fbS2P0vh8Y7m0tj93+27beBS3wxNPbF0Fjl9viXQ+Nfnq/N0PiXQ2Nfnq/+HP9iaOauL4bGv6hdIp1yFTtz9V5mklXsyZPiSy8VCoXXSvnqq38oFgvFYuG11wrVKlY7/ELfqz1v7EtP+/kb3T1dpfzvz6tndlUPdm/8dYP9lIe/uvMPV++d2bfxlfcvpOZ8ve941qjj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ijigEAhFHFAADCqGIAAGFUMQCAMKoYAEAYVQwAIIwqBgAQRhUDAAijigEAhFHFAADCqGIAAGFUMQCAMKoYAEAYVQwAIIwqBgAQRhUDAAijigEAhFHFAADCqGIAAGFUMQCAMKoYAEAYVQwAIIwqBgAQRhUDAAijigEAhFHFAADCqGIAAGFUMQCAMKoYAEAYVQwAIIwqBgAQRhUDAAijigEAhFHFAADCqGIAAGFUMQCAMKoYAEAYVQwAIIwqBgAQRhUDAAijigEAhFHFAADCqGIAAGFUMQCAMKoYAEAYVQwAIIwqBgAQRhUDAAijigEAhFHFAADCqGIAAGFUMQCAMKoYAEAYVQwAIIwqBgAQRhUDAAijigEAhFHFAADCqGIAAGFUMQCAMKoYAEAYVQwAIIwqBgAQRhUDAAijigEAhFHFAADCqGIAAGFUMQCAMKoYAEAYVQwAIIwqBgAQRhUDAAijigEAhFHFAADCqGIAAGFUMQCAMKoYAEAYVQwAIIwqBgAQRhUDAAijigEAhFHFAADCqGIAAGFUMQCAMKoYAEAYVQwAIIwqBgAQRhUDAAijigEAhFHFAADCqGIAAGFUMQCAMKoYAEAYVQwAIIwqBgAQRhUDAAijigEAhFHFAADCqGIAAGFyVDERERERedpRxURERETCooqJiIiIhEUVExEREQmLKiYiIiISFlVMREREJCzlKiYiIiIi85/CjwAACPL/AUk4lQtNVfyOAAAAAElFTkSuQmCC" alt="" width="611" height="389" />
void MainTask_touch(void) {
GUI_Init();
GUI_CURSOR_Show();
GUI_CURSOR_Select(&GUI_CursorCrossL);
GUI_SetBkColor(GUI_WHITE);
GUI_SetColor(GUI_BLACK);
GUI_Clear();
GUI_DispString("Measurement of\nA/D converter values");
while () {
GUI_PID_STATE TouchState;
int xPhys, yPhys;
GUI_TOUCH_GetState(&TouchState); /* Get the touch position in pixel */
xPhys = GUI_TOUCH_GetxPhys(); /* Get the A/D mesurement result in x */
yPhys = GUI_TOUCH_GetyPhys(); /* Get the A/D mesurement result in y */
/* Display the measurement result */
GUI_SetColor(GUI_BLUE);
GUI_DispStringAt("Analog input:\n", , );
GUI_GotoY(GUI_GetDispPosY() + );
GUI_DispString("x:");
GUI_DispDec(xPhys, );
GUI_DispString(", y:");
GUI_DispDec(yPhys, );
/* Display the according position */
GUI_SetColor(GUI_RED);
GUI_GotoY(GUI_GetDispPosY() + );
GUI_DispString("\nPosition:\n");
GUI_GotoY(GUI_GetDispPosY() + );
GUI_DispString("x:");
GUI_DispDec(TouchState.x,);
GUI_DispString(", y:");
GUI_DispDec(TouchState.y,);
/* Wait a while */
GUI_Delay();
};
}
[ucgui] 对话框6——触屏位置简单例子的更多相关文章
- cocos2d-x触屏事件(单点触屏)
转自:http://blog.csdn.net/onerain88/article/details/7550009 一般经常用到的触屏的情况有两种:一种是Layer统一接收触屏消息,然后由程序根据需要 ...
- js touch触屏原理分析
之前我们做过许多触屏的特效,那么,今天,我们来分析下js的触屏原理.事实上,大家百度一下js touch基本上可以找到这文章“指尖下的js ——多触式web前端开发之一:对于Touch的处理”,我想这 ...
- wxpython 简单例子:显示文本框的窗口显示鼠标位置
简单例子来自教程: #!/bin/env python import wx class MyFrame(wx.Frame): def __init__(self): wx.Frame.__init__ ...
- jquery触屏幻灯片
一.前言 去年接触了移动Web开发,做了些手机端的网站及应用,还有些小的微信游戏和活动页面.每个项目里或多或少的都会有一些触屏事件等.其中有两个用到了jquery触屏幻灯片.刚开始的时候也在百度上搜索 ...
- WPF环境下多点触屏开发的一些经验(转)
本系列将介绍Multi-Touch(MT)多点触控技术的相关内容,使开发人员了解如何在Windows 平台中开发出具有MT 功能的应用程序.众所周知Windows 7 操作系统自身已经支持具有MT 功 ...
- (转)iOS Wow体验 - 第七章 - 操作图例与触屏人机工学
本文是<iOS Wow Factor:Apps and UX Design Techniques for iPhone and iPad>第七章译文精选,其余章节将陆续放出.上一篇:Wow ...
- 原生js实现网页触屏滑动
前言: 我有一个html格式的2048游戏,可以用键盘上下左右操作,但是放到手机上就抓瞎了.于是想修改一下代码,将键盘事件改成手机触屏事件. html5 的touch事件 html5支持touch事件 ...
- HTML5学习总结-09 拖放和手机触屏事件
一 拖放 拖放(Drag 和 drop)是 HTML5 标准的组成部分.拖放是一种常见的特性,即抓取对象以后拖到另一个位置.在 HTML5 中,拖放是标准的一部分,任何元素都能够拖放. 课程参考 ht ...
- html5 touch事件实现触屏页面上下滑动(二)
五一小长假哪都没去,睡了三天,今天晕晕沉沉的投入工作了,但还是做出了一点点效果 上周用html5的touch事件把简单的滑动做出来了,实现了持续页面上下滑动的效果,参考之前 的文章及代码html5 t ...
随机推荐
- 记录今天学习python中for与while循环针对break和continue的用法
python中有两个主要的循环for与while,其中针对这两个循环有两种不同的中断用法break与continue. 首先先看下面的循环代码: 1: for i in range(10):#变量i带 ...
- Karma +Jasmine+ require JS进行单元测试并生成测试报告、代码覆盖率报告
1. 关于Karma Karma是一个基于Node.js的JavaScript测试执行过程管理工具(Test Runner). 该工具可用于测试所有主流Web浏览器,也可集成到CI(Continuou ...
- C/C++操作MySQL数据库——增、删、改、查
1.数据库链接 int cppDatebase::DatabaseConnect(sBit8 *uName,sBit8 *pWord,sBit8 *dbName) { dbHandle = mysql ...
- flex中通过sprite在地图上画柱状图主要代码
1.主要代码: var sprite:Sprite = new Sprite(); var columnSys:ColumnSymbol = new ColumnSymbol(); v ...
- Ubuntu 10.04 32位桌面版+OpnERP 6.1.1
1.准备环境: sudo apt-get install denyhosts sudo apt-get update sudo apt-get dist-upgrade sudo adduser ...
- poj 2060 Taxi Cab Scheme (二分匹配)
Taxi Cab Scheme Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 5710 Accepted: 2393 D ...
- ZT 趋势移动安全apk
趋势移动安全 应用截图 应用简介 趋势移动安全( Mobile Security) 是一款专业的Android移动安全软件.利用趋势科技世界领先的云安全技术,保护用户避免被移动恶意程序骚扰,避免个 ...
- Java 容器:Collection 初探之 List
1 ///: JavaBasic//com.cnblogs.pattywgm.day1//CollectionTest.java 2 3 package com.cnblogs.pattywgm.da ...
- HttpServletRequest
javaweb学习总结(十)——HttpServletRequest对象(一) 一.HttpServletRequest介绍 HttpServletRequest对象代表客户端的请求,当客户端通过HT ...
- SAP 常用函数
1. 访问本地 或别的服务器上文件 函数 CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE EXPORTING DOCUME ...