zilongshanren
728e264e98
minor performance improvement
2017-05-22 18:09:44 +08:00
Wang Nan
925b6b269e
Merge pull request #1664 from zilongshanren/fix-richtext-size-notification
...
fix richtext content size change notification
2017-05-19 11:47:32 +08:00
zilongshanren
f796158239
fix richtext content size change notification
2017-05-19 11:42:49 +08:00
Jare Guo
3fcd0c8b46
no need to copy arguments for apply, see petkaantonov/bluebird#1389
2017-05-17 17:46:51 +08:00
pandamicro
34cd3c30b7
Remove arguments usage in jsb
2017-03-12 15:25:36 +08:00
zilongshanren
9c436f0bcc
add label outline to richtext
2017-01-05 16:59:49 +08:00
knoxHuang
bd8127aff7
optimization shader and tooltip for #fireball/issues/4771
2016-12-19 18:19:18 +08:00
Nan Wang
4dea8e7a8a
move all error logs to DebugInfos.js and only show error id in release build
2016-12-15 17:07:01 +08:00
zilongshanren
d18bc93283
fix richtext custom chinese font rendering issue
2016-12-07 15:25:04 +08:00
zilongshanren
baf4fbb3f3
simplify code
2016-11-23 11:22:33 +08:00
zilongshanren
7dde8471d9
don't trigger loadTTF when ttf is not exists
2016-11-23 11:20:12 +08:00
zilongshanren
fc9429a04f
remove unused code
2016-11-10 20:54:05 +08:00
zilongshanren
3aee3a4e4b
remove duplicated code
2016-11-10 16:29:04 +08:00
zilongshanren
086f092227
add custom font loader
...
add richtext font load
improve custom ttf font cache
fix almost the cases
fix for android mobile device
add custom font loader
fix font load issue
remove unneeded logs
2016-11-10 16:18:45 +08:00
zilongshanren
cc543d98cc
add custom font support
2016-11-10 16:18:39 +08:00
Nan Wang
032d2d2abd
fix api doc reference
2016-10-20 18:36:01 +08:00
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