Commit 844a2f9
committed
重构跨平台运行时与图片加载机制,统一抽象
- 移除 LVGLSharp.Darwing,重命名为 LVGLSharp.Drawing,所有相关类型和引用同步调整
- 新增 IImageSource 接口,Image 通过注册工厂实现平台解耦,支持 Windows/Linux 动态加载图片
- 新增 PlatformRuntimeRegistration,统一运行时窗口、图片、鼠标等平台适配注册
- 删除自动生成的 targets/g.cs 运行时注册代码,改为反射注册
- 控件滚动行为优化,默认禁用 LVGL 滚动,部分控件可开启
- Demo 项目布局与图片变换逻辑优化,提升跨平台一致性
- 项目依赖精简,图片相关依赖移至各自 runtime
- 清理旧的运行时相关实现与全局 using,提升可维护性与扩展性1 parent 542ece2 commit 844a2f9
File tree
48 files changed
+798
-1652
lines changed- src
- Demos
- PictureBoxDemo
- WinFormsDemo
- LVGLSharp.Runtime.Linux
- buildTransitive
- LVGLSharp.WinForms
- Darwing
- Drawing
- Forms
- Runtime
- Core
- Linux
- Windows
- LVGLSharp.Windows
- buildTransitive
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
48 files changed
+798
-1652
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | | - | |
24 | | - | |
25 | 28 | | |
26 | | - | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
204 | 203 | | |
205 | 204 | | |
206 | 205 | | |
207 | | - | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments