✨ feat(sim/oled): 移除未使用的头文件 "graphics.h" 和 "conio.h"
✨ feat(lib/CMakeLists.txt): 添加 LUI 库支持 ✨ feat(lib/utils/inc/argpase.h): 引入 "stdbool.h" 以支持布尔类型 ✨ feat(sim/display/sim_display.cpp): 重新引入 "graphics.h" 和 "conio.h" 以修复依赖 ✨ feat(sim/lvgl/lv_port_indev.cpp): 移除未使用的头文件 "graphics.h" 和 "easyx.h" ✨ feat(main.c): 添加 LUI 库支持以增强功能 ✨ feat(lib/lui/lame_ui.c): 新增 LUI 库实现以支持 UI 组件
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#include "sim_display.h"
|
||||
#include "graphics.h"
|
||||
#include <conio.h>
|
||||
|
||||
|
||||
#define GET_BIT(x, bit) ((x & (1 << bit)) >> bit)
|
||||
|
||||
@@ -20,6 +19,10 @@ uint32_t RGB565_to_ARGB8888(uint16_t rgb565, bool isBGR) {
|
||||
}
|
||||
}
|
||||
#ifndef USER_SDL3
|
||||
|
||||
#include "graphics.h"
|
||||
#include <conio.h>
|
||||
|
||||
static uint32_t pixelColor, backgroundColor;
|
||||
static int scaleFactor, w, h;
|
||||
uint8_t border;
|
||||
|
Reference in New Issue
Block a user