Commit Graph
959 Commits
Author SHA1 Message Date
Liu Chao a3fc2db3f4 Improve some code 2017-03-21 23:20:06 +08:00
Liu Chao 65f3af617b Update color parser 2017-03-14 23:21:23 +08:00
Liu Chao d6496d0a6d Update LCUI_IMEHandler struct, Improve text input focus processing 2017-03-12 21:30:51 +08:00
Liu Chao 1b95b7fe1d Update event process, Fix some bugs
Fix: Widget_PostEvent() will send event to widget in trash.
Fix: Event bubbling does not work.
2017-03-09 23:17:14 +08:00
Liu Chao d60539ed61 Update Widget_PushInvalidArea(), fix #78 2017-03-05 18:08:18 +08:00
Liu Chao c07533074a Improve event handle, fix unbind event bug 2017-03-03 23:24:33 +08:00
Liu Chao d373d49785 Update error handle for jpeg reader 2017-03-03 23:21:31 +08:00
Liu Chao 1a2f7baf1c Fix some memory leak bug 2017-02-26 11:08:58 +08:00
Liu Chao 24c67e180d Update image reader and testcase 2017-02-25 00:03:39 +08:00
Liu Chao 02088bbd15 Change the log output function from put to vprintf 2017-02-22 23:02:30 +08:00
Liu Chao 075255a82e Update image reader, add bmp reader 2017-02-21 23:45:29 +08:00
Liu Chao e8590707ce Update image reader, add jpeg reader 2017-02-19 23:18:47 +08:00
Liu Chao c5c752d4f7 Update display driver 2017-02-15 23:50:15 +08:00
Liu Chao 361278209e Add min_width and min_height for widget 2017-02-15 23:47:58 +08:00
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