stemwin数值显示学习笔记

指定位置显示数值

GUI_DispDecAt(200,x,y,3); //显示数值200

指定位置显示浮点数值

GUI_GotoXY(x+150,y+20); //移动光标
GUI_DispFloat(49.35,5); //显示浮点数49.35
/先定位光标位置然后显示/

定位光标位置函数

char GUI_GotoXY(int x, int y);
char GUI_GotoX(int x);
char GUI_GotoY(int y);

x 新的 X 轴位置 (单位:像素, 0 表示左边界)。
y 新的 Y 轴位置 (单位:像素, 0 表示顶部边界)。

猜你喜欢

转载自blog.csdn.net/shenlong1356/article/details/80209120
今日推荐