Commit Graph

12 Commits

Author SHA1 Message Date
zilongshanren 1a799671e5 finish outline tag parser 2017-01-05 16:37:14 +08:00
zilongshanren 8a89d303d9 add more outline tests 2017-01-05 16:17:46 +08:00
zilongshanren 98c151c405 add outline color 2017-01-04 16:55:50 +08:00
zilongshanren 98f2938542 add rich element image parser support 2016-09-23 13:55:31 +08:00
zilongshanren 2bd9d08262 add img test 2016-09-23 10:20:27 +08:00
zilongshanren a41f4505c0 fix richtext instantiate issue 2016-09-02 14:25:08 +08:00
zilongshanren 9173a9c0a6 fix newline rich text element 2016-09-02 14:01:32 +08:00
zilongshanren 8f072ece92 add more br element test 2016-09-02 11:10:22 +08:00
zilongshanren 54d0467fb5 add newline richtext element 2016-09-01 22:35:35 +08:00
zilongshanren 57e17c73b9 add RichText component
A minimal working prototype

try and fix

fix richtext color

make richtext properties tweakable

temp

refine

add measure text

fix fragment text

finish non \n case

make non maxWidth working

adjust calling order

fix wired bugs

get first word

still one bug remained

fix wrap error

refactoring

update lineOffsetX

refactoring

refactoring

fix a return issue

don't display vertical alignment

improve performance

refactoring almost done

refactoring

refactoring

improve setColor

use shared htmlTextParser

fix contentSize change issue

add click event handler

add hoverin and hoverout event handler

fix a issue

remove mousein and mouseover

done
2016-08-25 16:47:59 +08:00
zilongshanren feca3e5780 add more tests 2016-08-19 17:36:21 +08:00
zilongshanren e2fbf3de2c add bbcode parser
commit 98767c294a5b5ac1272d320358a65821b8adbbe4
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 18:41:16 2016 +0800

    fix tag

commit 4f6bde4e147b69d8c4c91f149140be6e81a41bbd
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 18:11:40 2016 +0800

    add bold/italic/underline

commit 69a498c44b38f302c448f23e6e544a13e419c2ea
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 17:31:07 2016 +0800

    finish nested tag test

commit 0a7328a8cf9752612de4f8a4cababf00c8e74427
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 15:44:08 2016 +0800

    finish tag parsing

commit d375700850ea52e18710d44d39626f8f22d677ba
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 11:53:16 2016 +0800

    refactoring done

commit 38b567c3439a8b0858b59645ff81cd458ce235a9
Merge: a30fa24 c6cab77
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 11:49:44 2016 +0800

    Merge branch 'master' into add-rich-text-support

commit a30fa24f7127a3cae3945ad994458744766894dc
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 11:48:30 2016 +0800

    refactor tag parsing

commit f123f52c24b3c994769f8c17de1b3a4099af72cd
Merge: ad6e15b f8f9f72
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 09:56:44 2016 +0800

    Merge branch 'master' into add-rich-text-support

commit ad6e15b0124c93fa51c551a9d25d71e2d08c85da
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Aug 12 09:50:42 2016 +0800

    parse event tag

commit 88cf8a900318408da6f1efba9660efebb2f7469f
Author: zilongshanren <guanghui8827@126.com>
Date:   Wed Aug 10 15:11:03 2016 +0800

    add event handler

commit a409e294b8b39c0bfc79c1e9872bca7339d06e93
Author: zilongshanren <guanghui8827@126.com>
Date:   Wed Aug 10 11:30:53 2016 +0800

    add size parser

commit 15406e1884da24f1d9aade74664f18ce055c91cd
Author: zilongshanren <guanghui8827@126.com>
Date:   Wed Aug 10 10:22:58 2016 +0800

    make color parsing works

commit 6a5e1966e33ed6bf7aa253c1c4d8df52c5906d4c
Author: zilongshanren <guanghui8827@126.com>
Date:   Tue Aug 9 18:31:20 2016 +0800

    support color value

commit 5ee73d1fbbaac7b2e2183182dd095ec3ffa76c20
Author: zilongshanren <guanghui8827@126.com>
Date:   Tue Aug 9 18:21:38 2016 +0800

    add basic tag parser

commit 05a4de6da69a7101376432e19b4a28c098db22ac
Author: zilongshanren <guanghui8827@126.com>
Date:   Thu Jul 14 14:37:09 2016 +0800

    add escape symbol test
2016-08-19 17:36:21 +08:00