zilongshanren
bc1ec7cb1c
add missing property docs
2016-09-26 11:57:25 +08:00
zilongshanren
68884c4e70
add richtext image click event support
2016-09-26 11:19:25 +08:00
zilongshanren
a26aedd8eb
make web works
2016-09-23 18:29:21 +08:00
zilongshanren
c11e29f212
renaming functions
2016-09-22 13:38:54 +08:00
zilongshanren
20038b8fb9
unify CJK and space unicode in engine
2016-09-22 10:41:45 +08:00
zilongshanren
23fbed9cc9
replace sglabel fragment text
2016-09-22 10:37:18 +08:00
zilongshanren
31eeb4e61c
make fragment text more generic
2016-09-22 10:03:07 +08:00
zilongshanren
bb8a941e4f
move richtext common logic to CCTextUtils
2016-09-21 18:05:41 +08:00
zilongshanren
66eb9c6db9
make html text parser modular
2016-09-21 16:10:37 +08:00
zilongshanren
5670ff7524
optimize richtext status update
2016-09-13 10:13:46 +08:00
zilongshanren
17b8a74c8a
cache measureText label segment
2016-09-12 17:40:36 +08:00
zilongshanren
5466367f42
fix italic re-layout
2016-09-12 17:02:59 +08:00
zilongshanren
cf25027c87
sync rich text italics implementation with native
2016-09-12 14:19:34 +08:00
zilongshanren
58f1d4ac9b
fix wrap edge cases
2016-09-06 11:19:55 +08:00
zilongshanren
acf49462bf
add richtext element <br/> support
2016-09-02 14:58:33 +08:00
zilongshanren
a41f4505c0
fix richtext instantiate issue
2016-09-02 14:25:08 +08:00
zilongshanren
3f87d5b5fa
fix italic bold underline of richtext
2016-08-30 11:58:15 +08:00
zilongshanren
eb454e5ce0
add richtext bold/italics/underline
2016-08-30 11:25:24 +08:00
zilongshanren
5c2adc0539
refine lineOffsetX calculation
2016-08-26 17:52:42 +08:00
zilongshanren
4a89edb410
refactoring
2016-08-26 17:44:21 +08:00
zilongshanren
ad3cf8076d
add built-in color value support
2016-08-26 14:48:28 +08:00
zilongshanren
5c95065551
update i18n and fix some minor issues
2016-08-26 11:50:56 +08:00
zilongshanren
71aa9aaea1
fix jsb effect
2016-08-25 18:28:18 +08:00
zilongshanren
e2de6a3f2a
fix layout issue
2016-08-25 17:40:00 +08:00
zilongshanren
9f83695250
improve performance
2016-08-25 16:48:02 +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