zilongshanren
1484a038b9
add ready to play event to videoplayer
2016-10-17 12:04:35 +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
c11e29f212
renaming functions
2016-09-22 13:38:54 +08:00
zilongshanren
b7b3f440e5
add cyrillic language support
2016-09-22 11:46:37 +08:00
zilongshanren
def203cddc
fix bmfont
2016-09-22 10:56:28 +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
cf25027c87
sync rich text italics implementation with native
2016-09-12 14:19:34 +08:00
Wang Nan
d7952024b7
Merge pull request #1092 from zilongshanren/fix-label-shrink
...
fix label shrink effect
2016-09-07 10:39:15 +08:00
Wang Nan
83908b2ea3
Merge pull request #1097 from dabingnn/v1.2_fix_ttf_loading
...
refine ttf file loading
2016-09-07 10:38:07 +08:00
Huabing.Xu
dd62837856
small adjusts
2016-09-07 10:13:49 +08:00
Huabing.Xu
4734c20e22
refine ttf file loading
2016-09-06 18:02:00 +08:00
zilongshanren
d15b82f476
fix label shrink effect
2016-09-06 10:41:03 +08:00
zilongshanren
7a745fa740
refactoring code
2016-09-02 15:24:07 +08:00
zilongshanren
9173a9c0a6
fix newline rich text element
2016-09-02 14:01:32 +08:00
zilongshanren
54d0467fb5
add newline richtext element
2016-09-01 22:35:35 +08:00
Wang Nan
f8e6e55d6a
Merge pull request #1077 from zilongshanren/fix-label-shrink-bug-richtext
...
fix shrink bug
2016-09-01 10:35:21 +08:00
zilongshanren
f893152aa2
fix shrink bug
2016-08-31 17:58:16 +08:00
Nan Wang
2ec8bf2c6b
merged
2016-08-31 14:30:54 +08:00
zilongshanren
eb454e5ce0
add richtext bold/italics/underline
2016-08-30 11:25:24 +08:00
zilongshanren
66fa31d3e1
add bold/italic/underline support
2016-08-30 11:06:32 +08:00
zilongshanren
a15c2cf750
add bold and italic support
2016-08-29 16:47:23 +08:00
zilongshanren
4a89edb410
refactoring
2016-08-26 17:44:21 +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
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
zilongshanren
b107896350
rename member variables
2016-08-19 17:09:51 +08:00
zilongshanren
18632258a0
fix possible memory leaks
2016-08-19 16:55:08 +08:00
pandamicro
722f1a0574
Fix Label render command break BMFont batching
2016-08-18 16:06:43 +08:00
zilongshanren
5e5b143308
fix edge cases when using outline
2016-08-16 15:24:19 +08:00
Huabing.Xu
ccf41f1fd1
fix label rendering bug
2016-08-16 10:43:09 +08:00
Huabing.Xu
17734ed874
fix label ttf webGL rendering
2016-08-05 10:35:31 +08:00
pandamicro
030c9ee26b
Merge pull request #1002 from pandamicro/v1.2
...
Fix label color being applied twice
2016-08-02 11:33:07 +08:00
pandamicro
862a8e9f0e
Fix label color being applied twice
2016-08-02 11:31:14 +08:00
Huabing.Xu
6a1322b572
fix dirty region not updated correctly for label
2016-08-01 16:46:15 +08:00
Huabing.Xu
06b612be01
refine rendering of canvas for scaleX and scaleY
2016-07-21 11:44:38 +08:00
pandamicro
321e9d13ca
Add culling for Sprite & Label Canvas render command, fix issues
2016-07-15 15:50:55 +08:00
pandamicro
13c66797ab
Use renderCmd _needDraw for culling in Scale9Sprite & Label
2016-07-15 13:50:43 +08:00
pandamicro
4ef771c043
Fix remained issues in new renderer
2016-07-13 14:04:25 +08:00
pandamicro
b4e6234010
Issue fixes
2016-07-12 16:33:52 +08:00
pandamicro
07e592dced
Upgrade Scale9Sprite renderer & set index buffer dynamically
2016-07-12 16:33:52 +08:00
pandamicro
c532c09eff
Merge Cocos2d-html5 v3.12 webgl renderer
2016-07-12 16:33:51 +08:00
pandamicro
7c170b69d5
Merge pull request #866 from dabingnn/optimise_canvas_rendering
...
Optimise canvas rendering
2016-07-08 11:44:39 +08:00
zilongshanren
09c80402ba
fix some bugs of shrink label
...
it also improve the perfomance issue of shrinked label
calculate font size divide by 2
add font height cache
keep the label lineheight the same as before
2016-07-06 17:39:21 +08:00
Huabing.Xu
26e8d7fcdb
roll back scaleX scaleY
2016-07-05 15:41:08 +08:00
zilongshanren
4df512cc99
minor improve line height of shrinked text
2016-07-03 10:12:37 +08:00
zilongshanren
570b41cb69
fix Chinese label shrink effect
2016-07-02 14:23:29 +08:00
zilongshanren
5ad4e6fca9
fix web system font shrink wrap effect
...
fix label font size
add measure text height
make a skeleton of label ttf shrink algorithm
add debounce method for node string
finish no \n wrap
add debounced font size to label
finish web ttf shrink
2016-07-01 18:13:26 +08:00