Commit Graph
1955 Commits
Author SHA1 Message Date
Liu Chao 3230914cd4 Add w->proto valid check for Widget_CheckType() 2017-12-17 16:31:35 +08:00
Liu Chao 80aac94eed Update Widget_Append(), add Widget_UpdateStyle() call 2017-12-17 16:30:41 +08:00
Liu Chao 403fec6fbe Add opacity parsing, update LCUI_PrintStyleSheet() 2017-12-16 21:35:55 +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 637ae86573 Fix widget shadow render bug 2017-12-15 21:08:23 +08:00
Liu Chao 75b0d77a20 using FreeType direct to get space width 2017-12-14 23:03:36 +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 988963f2b9 Add support to parse "line-height: 1" 2017-12-12 20:57:53 +08:00
Liu Chao 3b8a397b6a Add support to parse "border: 0" 2017-12-12 20:57:33 +08:00
Liu Chao 9cc51642d5 Add LCUI_WidgetRenderer, refactor old code 2017-12-10 22:25:01 +08:00
Liu Chao 4fcb7bcb3f Rename data-placeholder to placeholder 2017-12-10 22:22:57 +08:00
Liu Chao 3e51e42e5a Improve CSS parser fault tolerance, ignore invalid style name 2017-12-10 22:22:37 +08:00
Liu Chao d71e64389b Update semibold font weight detection 2017-12-08 21:12:55 +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 25821ee98e Update LCUI_PrintStyleLink() output format 2017-12-04 22:56:26 +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 fa8ff61d8d Fix: segment fault bug in Graph_FillRectARGB() (#110) 2017-12-03 18:23:06 +08:00
Liu Chao 85f1ef66ba Rename detech to detect, Correct LCUIFont_DetectStyle() return value 2017-12-03 17:52:26 +08:00
Liu Chao 885d97ad4f Fix: memory leak bug in fontlibrary.c 2017-12-03 15:16:55 +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 088db410fc Fix: use of uninitialised value 2017-12-01 21:03:09 +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 cc2522621f Update ParseUrl() absolute path check 2017-11-27 23:44:36 +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 27c192ed7b Set LCUI_PostAsyncTask() direct run task when worker are not active 2017-11-25 23:34:03 +08:00
Liu Chao 1074889f5c Rename LCUI_FontStyle to LCUI_CSSFontStyle 2017-11-25 23:31:51 +08:00
Liu Chao 21958229e7 Clear compiler warnings 2017-11-23 23:13:07 +08:00
Liu Chao 14e04f0d0d Improve ending token check for font-face rule data 2017-11-22 22:29:48 +08:00
Liu Chao ec07c09e06 Add CSS @font-face rule parser (#95) 2017-11-21 22:24:35 +08:00
Liu Chao 769f6add22 Split code of LCUI_LoadCSSBlock() (#95) 2017-11-19 15:42:09 +08:00
Liu Chao 9748f48501 Improve widget content size computation 2017-11-18 22:22:15 +08:00
Liu Chao 7a63ecace7 Update max width computation 2017-11-18 20:25:13 +08:00
Liu Chao 3cd702b6e9 Fix stylesheet selection bug (#113) 2017-11-18 18:34:39 +08:00
Liu Chao b21dd6d845 Fix text layer infinite loop typeset bug 2017-11-15 21:35:52 +08:00
Liu Chao b7b237cf06 Add "loaded.anchor" event for anchor widget 2017-11-13 23:17:47 +08:00
Liu Chao 7a8de7b220 Fix widget event bubble propagation bug 2017-11-13 23:10:01 +08:00
Liu Chao 76071577b9 Update widget attribute processing 2017-11-13 23:07:10 +08:00
Liu Chao 4415bf9209 Clear compiler warnings from anchor.c 2017-11-12 11:31:15 +08:00
Liu Chao ced426751a Fix textview height compute error (#111) 2017-11-12 11:21:53 +08:00
Liu Chao b56504f78c Add word-break for textlayer (#71) 2017-11-08 23:37:23 +08:00
Liu Chao ba2c790d1c Update widget layout processing (#107) 2017-11-07 23:27:52 +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