Commit Graph
1031 Commits
Author SHA1 Message Date
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
Liu Chao ee878f8fcc Rename LCUI_Exit* to LCUI_Free* 2017-07-03 22:31:58 +08:00
Liu Chao 54bee18e3e Add wcsdup2() 2017-07-02 20:15:23 +08:00
Liu Chao 7e8019ba4e Add Universal Windows Platform (UWP) support code 2017-07-02 20:15:15 +08:00
Liu Chao 37d54bb5ec Fix mainlop memory leak bug 2017-06-27 00:48:54 +08:00
Liu Chao b43935a25b Add position and box-sizing setter 2017-06-25 22:55:31 +08:00
Liu Chao bba0d4384b Update windows drivers, add LCUI_Exit() and LCUI_Paint event 2017-06-25 22:54:38 +08:00
Liu Chao dfdc3d08b2 Update widget invalid area processing 2017-06-25 22:46:08 +08:00
Liu Chao e0867a5768 Add widget.c 2017-06-25 22:43:40 +08:00
Liu Chao 5e761742ed roundi() -> iround() 2017-06-25 22:40:47 +08:00
Liu Chao 9b7661cafe Add css_fontstyle.c, update textview 2017-06-18 21:25:58 +08:00
Liu Chao 7b760f9434 Update textlayer line height processing. #94 2017-06-17 16:00:11 +08:00
Liu Chao f2176ba57f Improve widget background image loader 2017-06-12 22:55:09 +08:00
Liu Chao 85bf6be748 Fix some memory leak bugs. #52 2017-06-10 17:20:56 +08:00
Liu Chao 18658988b0 Fix some memory leak bugs. #52 2017-06-07 22:23:18 +08:00
Liu Chao 67ceb7cd8d Add Widget_ComputeMaxAvaliableWidth() 2017-06-05 23:04:34 +08:00
Liu Chao f7b453583e Update widget style compute 2017-06-04 23:21:13 +08:00
Liu Chao 0931ca1bb7 Improve widget size compute method. #89 2017-05-21 18:22:53 +08:00
Liu Chao 9431db6dc7 Clear compiler warnings and errors 2017-05-15 22:29:05 +08:00
Liu Chao 8c4db984db Add test_scaling_support.c 2017-05-15 22:28:44 +08:00