1 Star 1 Fork 1

sniper15 / lv_sim_visual_studio_sdl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
LVGL.Simulator.cpp 930 Bytes
一键复制 编辑 原始数据 按行查看 历史
/*
* PROJECT: LVGL PC Simulator using Visual Studio
* FILE: LVGL.Simulator.cpp
* PURPOSE: Implementation for LVGL ported to Windows Desktop
*
* LICENSE: The MIT License
*
* DEVELOPER: Mouri_Naruto (Mouri_Naruto AT Outlook.com)
*/
#include <Windows.h>
#include "resource.h"
#if _MSC_VER >= 1200
// Disable compilation warnings.
#pragma warning(push)
// nonstandard extension used : bit field types other than int
#pragma warning(disable:4214)
// 'conversion' conversion from 'type1' to 'type2', possible loss of data
#pragma warning(disable:4244)
#endif
#include "lvgl/lvgl.h"
#include "lvgl/examples/lv_examples.h"
#include "lvgl/demos/lv_demos.h"
#if _MSC_VER >= 1200
// Restore compilation warnings.
#pragma warning(pop)
#endif
int main()
{
lv_init();
lv_demo_widgets();
//lv_demo_benchmark();
while (true)
{
lv_task_handler();
Sleep(1);
}
return 0;
}
1
https://gitee.com/sniper15/lv_sim_visual_studio_sdl.git
git@gitee.com:sniper15/lv_sim_visual_studio_sdl.git
sniper15
lv_sim_visual_studio_sdl
lv_sim_visual_studio_sdl
master

搜索帮助