图像更新

This commit is contained in:
Glz
2024-03-03 17:55:49 +08:00
parent b6bb69d24c
commit f4c41eeeae
7 changed files with 264 additions and 256 deletions

View File

@@ -2,6 +2,10 @@
#include "page_ui_widget.h"
#include "page.h"
#include "jj_param.h"
#include "gl_data.h"
#include "gl_garage.h"
#include "gl_cross.h"
#include "gl_circle.h"
// #define LINE_HEAD 1
// #define LINE_END 7
// static int8_t Curser = LINE_HEAD; // 定义光标位置
@@ -46,8 +50,11 @@ static void Loop()
// 刷新参数数值
ips200_show_float(90, 18 + 2, *((float *)(Param_Data[delta_x].p_data)), 4, 5);
ips200_show_float(90, 18 + 20, *((float *)(Param_Data[delta_x].p_data)), 4, 5);
ips200_show_int(90, 18 + 38, track_type, 1);
ips200_show_int(90, 18 + 56, garage_type, 1);
ips200_show_int(90, 18 + 74, cross_type, 1);
ips200_show_int(90, 18 + 92, circle_type, 1);
}
/**
* @brief 页面事件
* @param btn:发出事件的按键