Commit Graph
1050 Commits
Author SHA1 Message Date
Liu Chao d7d078d3c2 fix(renderer): widget border rendering is incomplete (#108) 2018-01-30 22:49:21 +08:00
Liu Chao 0b26f57c4f refactor(display): add painter.c 2018-01-30 22:30:30 +08:00
Liu Chao 9193c0a562 feat(textview): add word-break property support
close #71
2018-01-19 23:18:55 +08:00
Liu Chao d53958c57a refactor(css): rename LCUI_StyleParser to LCUI_CSSPropertyParser 2018-01-19 23:17:19 +08:00
Liu Chao 8c5db1f144 style: clear compiler warnings 2018-01-18 22:07:39 +08:00
Liu Chao e58244c569 fix(linux): set "--enable-video-ouput=no" will make the linker output errors 2018-01-18 21:54:59 +08:00
Liu Chao 0616d855e4 feat(mainloop): set mainloop to processing only one task per frame 2018-01-13 21:34:03 +08:00
Liu Chao ad3468b319 style: remove unused enums and type 2018-01-13 21:29:44 +08:00
Liu Chao adc8ba30e8 feat(textlayer): add i tag support (#115) 2018-01-07 16:20:13 +08:00
Liu Chao 1ad22d2b70 Add Widget_GetChild() 2018-01-06 20:07:26 +08:00
Liu Chao d2f6ad9137 Use size_t for LinkedListRec_::length 2018-01-06 20:07:09 +08:00
Liu Chao 7198caec28 Improve widget size computation 2018-01-01 23:35:16 +08:00
Liu Chao d1491e41e7 Use correct type 2018-01-01 21:25:54 +08:00
Liu Chao 86056b4b3f Add Widget_UnbindEventByHandlerId() 2017-12-31 20:19:54 +08:00
Liu Chao 362994ce36 Improve widget size computation 2017-12-29 22:18:38 +08:00
Liu Chao 547f937bbf Update widget width computation 2017-12-23 22:36:32 +08:00
Liu Chao d83ac20dd9 Add Widget_ComputeMaxContentWidth() 2017-12-21 22:16:50 +08:00
Liu Chao 374a414f57 Improve flex layout processing and style parsing (#117) 2017-12-20 23:59:14 +08:00
Liu Chao 6ffa09e2cf Update widget layout processing, add justify-content support (#117) 2017-12-18 22:22:45 +08:00
Liu Chao 80aac94eed Update Widget_Append(), add Widget_UpdateStyle() call 2017-12-17 16:30:41 +08:00
Liu Chao 3e80463fb3 Use key_display to control widget visible 2017-12-16 21:33:56 +08:00
Liu Chao ced8d28c78 Add LCUI_GetFrameCount() 2017-12-16 21:32:24 +08:00
Liu Chao 3ac68ab03a Update widget renderer, add return the count of rendered widgets 2017-12-14 23:01:24 +08:00
Liu Chao 9b6439232f Add LCUI_PostAsyncTaskTo() for font file loader
The font library are not thread-safe, so we need to operate it on single thread.
2017-12-04 23:00:27 +08:00
Liu Chao f392a07a4e Update textlayer style cache processing 2017-12-04 22:55:21 +08:00
Liu Chao 3ad89c1d24 Update font-weight and font-style parsing and computation 2017-12-04 22:54:02 +08:00
Liu Chao 85f1ef66ba Rename detech to detect, Correct LCUIFont_DetectStyle() return value 2017-12-03 17:52:26 +08:00
Liu Chao ad81038178 Fix: ‘Font’ redeclared as different kind of symbol at X11/Xlib.h 2017-12-03 14:55:47 +08:00
Liu Chao 3bf8e9d239 Remove including css_parser.h from widget_base.h 2017-12-03 14:53:04 +08:00
Liu Chao 6995e56ba1 Improve the font library query, add the font weight support (#112) 2017-12-02 23:08:47 +08:00
Liu Chao d9eb92d76d Improve font data storage and operation method 2017-11-30 21:55:53 +08:00
Liu Chao 16f90da799 Add bgcolor tag support, Update LCUI_TextStyle struct naming (#110) 2017-11-27 23:51:58 +08:00
Liu Chao d6d1b3e0d9 Clear compiler warnings and errors 2017-11-26 16:07:23 +08:00
Liu Chao d6e13040c1 Add ParseUrl(), Update style parser functions (#98) 2017-11-26 15:15:55 +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 1074889f5c Rename LCUI_FontStyle to LCUI_CSSFontStyle 2017-11-25 23:31:51 +08:00
Liu Chao ec07c09e06 Add CSS @font-face rule parser (#95) 2017-11-21 22:24:35 +08:00
Liu Chao 3cd702b6e9 Fix stylesheet selection bug (#113) 2017-11-18 18:34:39 +08:00
Liu Chao a49140741a Set type of the widget state to LCUI_WidgetState (#114) 2017-11-17 21:26:19 +08:00
Liu Chao b56504f78c Add word-break for textlayer (#71) 2017-11-08 23:37:23 +08:00
Liu Chao f268b8b584 Add WTT_RESIZE_WITH_SURFACE task (#104) 2017-11-06 21:38:14 +08:00
Liu Chao 89c4866836 Add anchor widget (#105) 2017-10-31 22:12:19 +08:00
Liu Chao fcaa6aed46 Clear compile warnings, Add TextView_SetMulitiline() 2017-10-30 23:48:38 +08:00
Liu Chao 27bbdd2e46 Add worker.c and task.c for async task support (#106) 2017-10-30 21:39:26 +08:00
Liu Chao 9d32c15631 Add content trimming support for TextView (#97) 2017-10-15 19:45:28 +08:00
Liu Chao 14d4f94587 Clear compile warnings 2017-07-10 22:57:38 +08:00
Liu Chao 373d4afc6a Add refresh() method for widget prototype, update textview widget 2017-07-09 20:40:27 +08:00
Liu Chao b2db8ee573 Clear compiler errors 2017-07-03 22:42:05 +08:00
Liu Chao d8d5501526 Update Makefile.am 2017-07-03 22:32:01 +08:00
Liu Chao 4cfd2775fe Add widget_helper.c 2017-07-03 22:31:59 +08:00