1295 Commits
Author SHA1 Message Date
Liu Chao 22f075b0b7 Clear compiler errors on linux 2017-02-14 23:28:14 +08:00
Liu Chao 9e2b4deec9 Improve the main loop, update the windows display driver 2017-02-14 23:18:53 +08:00
Liu Chao d265a85c59 Add image reader, update image operation functions 2017-02-11 21:49:48 +08:00
Liu Chao c8c063bee4 Merge UI thread in to main thread
Previously, LCUI initialized to create a thread as a UI thread, other threads in the operation of the widgets need to lock mutex lock, this will affect the UI thread rendering performance, but also need to deal with thread-safety issues, increased the complexity of LCUI.
2017-02-06 22:49:01 +08:00
Liu Chao 3fcf808aa8 Update the calculation of the drawing area 2017-02-02 22:53:13 +08:00
Liu Chao 0ee74f8a46 Add math.c 2017-02-02 22:47:50 +08:00
Liu Chao 1ec46455a6 Remove compiler warnings 2017-02-01 21:38:04 +08:00
Liu Chao 80ceeab034 改用浮点数表示部件的坐标、尺寸等属性的值 #67 2017-02-01 21:05:39 +08:00
Liu Chao 3a78429c4d ToString -> CodeToString,避免命名冲突 2017-01-09 23:23:27 +08:00
Liu Chao 99adbb05bc 补充 remove 和 destroy 事件的触发处理 2017-01-06 23:33:33 +08:00
Liu Chao aabf9131ea 调整文件夹操作函数的返回值,更新变量命名 2017-01-06 23:31:48 +08:00
Liu Chao 0147f599c1 添加圆角边框绘制功能 #42
修改自以前的代码
2016-12-19 22:23:27 +08:00
Liu Chao 9e4830814b 为 Widget 添加 Attributes 成员变量 #72 2016-12-17 18:19:02 +08:00
Liu Chao 6bffaaa1b4 添加 dblclick 事件 2016-12-17 17:13:07 +08:00
Liu Chao 93f152f4b2 为 textedit 添加密码屏蔽符设置功能,解决其它问题 #70 2016-12-10 21:33:13 +08:00
Liu Chao 18596e2996 更新 makefile,消除生成测试程序时出现的错误 2016-12-08 23:41:24 +08:00
Liu Chao ce3271d781 清除 linux 下的编译错误 2016-12-08 22:52:19 +08:00
Liu Chao a6cc696dc2 调整按键键值定义、补充版权声明、解决输入法无效的问题 2016-12-08 22:30:31 +08:00
Liu Chao e6ad608f23 调整事件循环驱动接口 2016-11-30 21:44:48 +08:00
Liu Chao bed3bd2dcb 添加 LinkedListNode_Delete()、改用宏代替鼠标键值 2016-11-29 23:22:18 +08:00
Liu Chao 96c6abe093 添加宽字符版的日志输出接口 2016-11-27 20:52:19 +08:00
Liu Chao 99200a1ae3 printf() -> LOG() 2016-11-26 23:40:23 +08:00
Liu Chao 4fa60b45be 修改图形输出驱动接口,调整 LCUI 的初始化接口 2016-11-26 23:36:06 +08:00
Liu Chao 031e82f659 调整代码,解决一些小问题 2016-11-26 23:27:27 +08:00
Liu Chao 4595e2b484 添加 logger.c 2016-11-26 23:23:45 +08:00
Liu Chao bfd0affa46 完善 WinMain() 的命令行参数分割功能 2016-11-20 18:24:29 +08:00
Liu Chao 73f2f04ec2 添加 DET_READY 事件和 LCUIDisplay_BindEvent() 函数 2016-11-13 22:11:40 +08:00
Liu Chao da85e30b2c LCUI_RBTree -> RBTree,基础数据结构不使用 LCUI_ 前缀 2016-11-12 23:10:48 +08:00
Liu Chao 9308df91d9 纠正 UnsetStyle() 的定义,更新 textedit 的尺寸计算,调整 button 样式 2016-11-06 16:48:07 +08:00
Liu Chao 2f8e134bd5 移除 LCUI_StyleRec 结构体中的 is_cahnged 成员 2016-11-03 22:59:31 +08:00
Liu Chao 063be74cc3 添加 Widget_UnsetStyle() 和 UnsetStyle() 2016-11-03 22:58:50 +08:00
Liu Chao 67735cd331 补充 textview 的尺寸自适应策略 2016-10-30 22:54:45 +08:00
Liu Chao 8ef734b93d 解决编译错误 2016-10-26 00:34:39 +08:00
Liu Chao 87e2b74b15 解决头文件引入到 C++ 代码里后,编译时报错的问题
有的头文件少了 LCUI_END_HEADER,不能使用 new 和 delete 作为成员变量名。
2016-10-25 23:14:03 +08:00
Liu Chao 1a34f63329 更改 LCUIWidget_NewPrototype() 函数的参数
既然第一个参数是字符串,那第二个参数也改成字符串好了,省得调用时还要先调用 LCUIWidget_GetPrototype() 获取父原型。
2016-10-09 22:45:35 +08:00
Liu Chao ac8f1be1f7 stricmp -> _stricmp 2016-10-09 22:43:28 +08:00
Liu Chao 7e8b756d1f 更新文件列表 2016-10-08 22:48:19 +08:00
Liu Chao d1fa02bca2 纠正部分错误,删除无用代码 2016-10-08 22:20:15 +08:00
Liu Chao 9a412b3b79 改用原型(Prototype)代替类(Class)机制
待测试。
2016-10-07 21:04:21 +08:00
Liu Chao b5ce0d69c1 删除多余注释 2016-10-04 16:05:26 +08:00
Liu Chao 6c9ce7662e 添加 Widget_SetStyle()、Widget_SetBorder() 2016-10-04 16:04:45 +08:00
Liu Chao 1065d03fd5 修改字体载入方式,补充支持载入包含多风格的字体文件 #53
之前是一个字体文件只载入一个字体风格,对于包含多个风格的字体文件,只会载入第一个,其余的都会忽略掉,现在已经解决。
2016-10-02 14:35:57 +08:00
Liu Chao caf1fb6a5d Merge branch 'develop' of github.com:lc-soft/LCUI into develop 2016-10-01 13:59:02 +08:00
Liu Chao fdf112924d 删除 memdebug.c
检查内存泄露可以用 valgrind 等工具。
2016-10-01 21:39:22 +08:00
Liu Chao db8457c137 改用 RectList_Clear() 销毁矩形列表 2016-10-01 13:57:42 +08:00
Liu Chao dcd56cafeb 更新 Widget_Append() 和 Widget_Prepend() 函数 2016-09-25 22:14:19 +08:00
Liu Chao 365c83cb11 添加针对 top 和 left 值为百分比的情况下的处理 2016-09-25 10:42:47 +08:00
Liu Chao cbd91543d3 添加 Widget_Preppend() 函数
现在,Widget_Append() 和 Widget_Prepend() 函数可以用于后置/前置部件。
2016-09-24 22:04:56 +08:00
Liu Chao 6ad9d87f68 解决当部件整体半透明时子部件消失的问题
问题出现在 LC-Finder 中,“集锦”视图在重新布局后会有淡入淡出效果,在这个效果持续过程中,其子级 textview 部件会消失。

原因是在渲染 opacity 属性值小于 1.0 的部件时会创建一个独立的位图缓存,像素格式为 ARGB,要正确绘制出子级部件内容需将 paint->with_alpha 设置为 TRUE,否则会因绘制时未填充 alpha 通道而导致内容是全透明的。
2016-09-22 23:58:13 +08:00
Liu Chao b35e8e00b6 为 dirent.c 补充 linux 环境下的实现 #47 2016-09-17 17:45:17 +08:00