Commit Graph

115 Commits

Author SHA1 Message Date
knoxHuang e90ba4313f Modify the _updateNodeSize timing for fireball/issues/6263 2017-08-17 17:32:11 +08:00
knoxHuang 565c42ff7f remove redundant code 2017-08-17 14:19:57 +08:00
knoxHuang 53cead8fdb Failed to refresh the size in time for fireball/issues/6263 2017-08-16 18:28:34 +08:00
pandamicro 3150f46f1b [missed] Use Label pool instead of new 2017-08-08 11:57:54 +08:00
Jare Guo c25563be14 Merge pull request #1843 from pandamicro/master
Remove ...args in engine
2017-07-26 18:04:46 +08:00
pandamicro 6533180e9d Remove ...args in engine 2017-07-26 18:03:58 +08:00
zilongshanren 21b4386502 fix ttf font size in web 2017-07-25 14:54:31 +08:00
zilongshanren c70c7a2989 improve ttf font creation performance 2017-07-25 14:39:53 +08:00
Jare Guo bf79d94fe6 remove extname used in require 2017-07-05 16:32:41 +08:00
zilongshanren 9a898d19c5 improve font API 2017-06-30 10:19:57 +08:00
zilongshanren e1405aa869 improve label api, fix jsb label issue 2017-06-30 09:53:55 +08:00
zilongshanren 31abe4a7b2 fix Editor sgLabel pool issue 2017-06-28 18:24:12 +08:00
zilongshanren 0dd063e663 improve label 2017-06-28 17:49:05 +08:00
zilongshanren 35ab075f4d Merge remote-tracking branch 'fireball/master' into optimize-bmfont-load-speed 2017-06-28 17:16:55 +08:00
pandamicro a6d10e7804 Add pool for recycling _ccsg.Label objects 2017-06-27 21:42:55 +08:00
zilongshanren d706ad6fcf fix jsb bmfont loader 2017-06-27 14:36:30 +08:00
zilongshanren cd6bcca25a refine layout scrollview label animatable property 2017-06-06 10:45:34 +08:00
zilongshanren af07d514ed finish engine modular
modular particle system

modular tiledmap

finish modular
2017-06-05 14:17:56 +08:00
Jare Guo 3fcd0c8b46 no need to copy arguments for apply, see petkaantonov/bluebird#1389 2017-05-17 17:46:51 +08:00
zilongshanren 680a6f05b4 add missing CC_DEV macro to component tooltip 2017-05-02 10:16:28 +08:00
zilongshanren 31eee86bcd remove visible property 2017-04-24 17:43:33 +08:00
zilongshanren 6b121a2be5 improve fontFamily property 2017-04-24 17:32:15 +08:00
zilongshanren 9f7f1d48f3 add system font fontFamily support 2017-04-24 16:46:57 +08:00
Jare Guo ecb242f046 fix JSB crash of label when texture not loaded 2017-04-18 17:23:43 +08:00
zilongshanren 59f826536b fix bmfont error 2017-03-22 16:52:48 +08:00
Wang Nan 41119032a4 Merge pull request #1545 from pandamicro/v1.4
Remove arguments usage in jsb
2017-03-16 11:44:10 +08:00
zilongshanren fd2d1a1bc2 use font asset as cache 2017-03-16 10:03:14 +08:00
zilongshanren 7aa42f1b41 fix bmfont parser cache 2017-03-15 19:58:01 +08:00
pandamicro 34cd3c30b7 Remove arguments usage in jsb 2017-03-12 15:25:36 +08:00
zilongshanren 4e1bd339aa only set spacingX when label is bmfont 2017-03-10 14:10:37 +08:00
zilongshanren 4a31d4bcac fix BMFont spacingX 2017-03-07 18:54:31 +08:00
zilongshanren 35dfa5e318 add spacingX for bmfont 2017-02-17 20:52:13 +08:00
zilongshanren feebb86fbf add spacingX property to label component 2017-02-17 20:26:03 +08:00
zhangbin ae50aeff1a Improve the initialization logic of Label with BitmapFont. 2017-02-17 11:06:15 +08:00
zhangbin 4f8e4ba6d5 Improve the initialization logic of Label with BitmapFont. 2017-02-16 10:36:24 +08:00
zilongshanren a514d4ddc6 make labelatlas inheritent from bitmapfont 2016-12-23 21:18:41 +08:00
zilongshanren 025f92da24 finish labelatlas 2016-12-23 17:43:38 +08:00
zilongshanren e1efd09378 rename some variables 2016-12-22 10:01:41 +08:00
zilongshanren 0d0d18c1b7 add bmfont batch rendering
commit 68c7b5ed8e174238514b4b680634f197a976de60
Author: zilongshanren <guanghui8827@126.com>
Date:   Wed Dec 21 11:19:21 2016 +0800

    finish web bmfont batch

commit 3d038e14128a375848efec99f3706c0e252cdbd0
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Dec 16 17:25:05 2016 +0800

    bitmap support spriteframe on web

commit 87d371410de223956c50bd5a4b85958973181c11
Author: zilongshanren <guanghui8827@126.com>
Date:   Fri Dec 16 16:42:51 2016 +0800

    make bitmap depends on spriteframe
2016-12-21 16:49:09 +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 f82062160a fix label jsb resize height dimensions issue 2016-11-23 14:46:32 +08:00
zilongshanren 8b20d1de85 fix system font toggle 2016-11-09 12:00:08 +08:00
Nan Wang 032d2d2abd fix api doc reference 2016-10-20 18:36:01 +08:00
zilongshanren 4a1eb9e0d9 only reset node height in resize_height 2016-10-10 18:15:23 +08:00
zilongshanren 0d31817eb0 move debounce function in ctor 2016-10-09 18:19:25 +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
Wang Nan e6201c7ffc Merge pull request #923 from zilongshanren/refactoring-layout-widget-label
refactoring layout and label update timing
2016-07-18 17:24:03 +08:00
zilongshanren 5f350544ac refactoring layout and label update timing 2016-07-18 16:57:40 +08:00
Johnny Wu a462ce79e4 change inspector url 2016-07-12 18:22:28 +08:00