Commit Graph
42 Commits
Author SHA1 Message Date
Liu 31dee2494d fix(gui): the horizontal scroll bar does not work (#219) 2021-05-15 22:50:49 +08:00
James DuongandJames Duong 1b8c6e6863 feat: add settings api (#191) (#211) (#212)
- Add API for retrieving and modifying global settings
- Utilize this API in the codebase
- Add event for when global settings are changed
- Add event handler for updating the frame rate cap
- Add event handler to notify paint flashing changes
- Add unit tests

Fixes #192

Co-authored-by: James Duong <jduong@dremio.com>

feat: add settings api (#191) (#211) (#212)

Restore and re-implement LCUIDisplay_EnablePaintFlashing.

Fixes #191
2020-07-02 15:22:28 +08:00
James DuongandJames Duong 17d7d86530 test: update to use libtest.h (#197) (#208)
Change tests to use libtest.h as specified in
Issue #197.

Co-authored-by: James Duong <jduong@dremio.com>
2020-06-17 22:31:08 +08:00
Liu b93aa2d6fb test: update output 2020-04-06 17:48:41 +08:00
Liu 3758e21939 test: add test_mainloop.c 2020-03-28 21:19:06 +08:00
Liu 4ff0689ab7 test: update tests 2020-03-01 20:16:27 +08:00
Liu 68a5adbedd test: disable logger 2020-02-16 17:44:01 +08:00
Liu 07d2911372 feat(css): add flexbox property parser 2020-02-16 17:43:51 +08:00
Liu eab71b05de test: add test_block_layout 2020-02-16 17:43:45 +08:00
Liu 1a50aeca37 refactor(gui): improve widget update processing
BREAKING CHANGE: Some widget operation functions have been renamed or removed.
2020-02-16 17:43:35 +08:00
Liu 09d33abdbe test: add test_widget_event.c 2020-01-19 17:48:26 +08:00
Liu Chao 904fc6b6d2 test: exclude test_widget() from test.c 2019-10-07 14:14:32 +08:00
Liu 241c6522f7 feat(util): add object wrapper and operation set 2019-06-17 21:57:46 +08:00
Liu 51eef6837f fix(gui): TextEdit_SetTextW() does not clear the previous content 2019-03-09 15:25:50 +08:00
Liu cb0612db6e test: add test linkedlist 2019-03-04 22:48:40 +08:00
Liu ac3ac068ba test: add test widget 2019-03-04 22:48:39 +08:00
Liu c843df1201 feat(util): add strpool 2019-03-04 22:48:30 +08:00
Liu 366cd3ff37 test: update test_widget_opacity 2018-11-18 22:46:50 +08:00
Liu Chao 66681657be fix(renderer): transparent widgets are rendered incorrectly 2018-08-29 21:48:30 +08:00
Liu Chao 31e0582cf0 fix(textview): size not updated after setting text 2018-08-19 17:23:53 +08:00
Liu Chao 1efd8567d7 perf(charset): improve utf-8 and unicode string convert 2018-08-13 23:38:16 +08:00
Liu Chao a076aa5dfe test: update test 2018-03-19 20:40:36 +08:00
Liu Chao 8dae96fe29 fix(worker): worker did not enter the blocked state waiting for task (#134) 2018-02-09 14:46:08 +08:00
Liu Chao cb7749d39e feat(widget): add "disabled" attribute processing 2018-01-16 21:55:54 +08:00
Liu Chao 4c11722491 Add test for inline block layout 2017-12-29 22:22:22 +08:00
Liu Chao b0b98cbcd0 Add tests for flex layout 2017-12-21 22:18:02 +08:00
Liu Chao 317670ab05 Enable some tests 2017-12-15 21:12:46 +08:00
Liu Chao e5f137f4c3 Add test for font load 2017-12-04 23:00:56 +08:00
Liu Chao 50f282ed92 Enable some tests 2017-11-26 15:16:28 +08:00
Liu Chao 4dea270b5b Add async font loader for css font-face rule parser (#95) 2017-11-25 23:49:29 +08:00
Liu Chao b62434a117 Add test_widget_rect.c 2017-06-25 22:56:20 +08:00
Liu Chao e826b994dc Update test cases 2017-06-07 22:20:43 +08:00
Liu Chao 161c969b7a Update test cases, add widget layout test. #90 2017-06-04 23:51:59 +08:00
Liu Chao d6d8785b44 Enable css parser testcase 2017-04-15 21:52:26 +08:00
Liu Chao f51da8a885 Disable test_css_parser() 2017-03-19 20:40:53 +08:00
Liu Chao 614350b4d0 Fix some memory leak bug #52 2017-03-19 13:24:36 +08:00
Liu Chao 9eda88fa1c Update test.c 2017-03-09 23:17:42 +08:00
Liu Chao 127d066f78 Disable css parser test cases 2017-02-26 11:51:01 +08:00
Liu Chao a212939e35 Add image reader testcase 2017-02-21 23:48:07 +08:00
Liu Chao a96fb4d3c7 补充测试用例 2016-11-20 18:27:11 +08:00
Liu Chao a80535b842 lib 目录重命名为 util,补充 linux 支持代码,消除linux下的编译警告和错误。 2016-04-16 21:57:09 +08:00
Liu Chao 9ef27aaac5 添加测试代码 2016-01-17 22:40:09 +08:00