Commit Graph

183 Commits

Author SHA1 Message Date
Nan Wang cca9a7fb36 fixed api doc typo. add ccaudio as api. 2016-01-26 13:53:48 +08:00
Jare Guo 9bb7bbdea0 sprite should not display if disabled in scene 2016-01-15 16:55:58 +08:00
pandamicro 8f65363fc5 Fix issue when Mask is created without being loaded 2016-01-13 09:36:00 +08:00
Wang Nan 28d0e11cd9 Merge pull request #226 from nantas/v0.7
move mask and canvas to ui group in component menu.
2016-01-11 21:41:55 +08:00
Nan Wang 89c76e7f97 move mask and canvas to ui group in component menu. 2016-01-11 21:40:19 +08:00
pandamicro 777a0380b6 Fix retain/release usage on WEB 2016-01-11 16:38:23 +08:00
pandamicro e54456b22c Fix Mask retain/release issue in JSB 2016-01-11 16:32:26 +08:00
Huabing.Xu 8f78a76dd0 using DrawPoly instead of drawRect 2016-01-11 15:58:29 +08:00
Huabing.Xu 5a8af44cd2 clean up code 2016-01-11 15:16:19 +08:00
Huabing.Xu c989a83146 using drawnode for stecil in mask component 2016-01-11 15:06:30 +08:00
pandamicro 93fc5681e9 Fix CCButton _hitTest usage 2016-01-11 10:40:29 +08:00
pandamicro 8a8d139e1c Roll back some mistaken changes to Button/ScrollView, my bad 2016-01-11 10:17:13 +08:00
pandamicro e0e741884d Fix event handling issues in Button/ScrollView 2016-01-10 03:29:06 +08:00
pandamicro ee95edb494 Merge pull request #207 from pandamicro/v0.7
Fix audio source issue in jsb
2016-01-08 18:06:51 +08:00
pandamicro e64e2623a2 Fix audio source issue in jsb 2016-01-08 18:06:21 +08:00
Jare Guo 7ed4ea56fb tweak api syntax 2016-01-08 17:41:58 +08:00
pandamicro 55b182ae70 Remove all listeners for Component 2016-01-07 20:56:49 +08:00
pandamicro 38f270aaba Support older version (<= v3.9) of JSB 2016-01-06 19:33:34 +08:00
Huabing.Xu a07ab99b24 treat None as Clamp in label
hack in ccLabel component when overflow is NONE
2016-01-05 19:26:05 +08:00
zilongshanren b55ccb8438 fix label jsb
fix ttf config

fix label overflow issue

improving coding style

make code more cleaner

remove cc._Label from cc namespace
2016-01-05 11:27:28 +08:00
pandamicro ea39a62997 Fix scheduler issues in JSB 2016-01-04 00:20:49 +08:00
pandamicro b527f36222 Fix more bugs in entity components 2015-12-30 22:18:13 +08:00
Jare Guo f73efdb7ac disabled sprite should not display when changing sprite frame 2015-12-30 20:26:55 +08:00
Jare Guo b9cae11310 sprite should not response the resized event if emit by itself 2015-12-30 14:08:22 +08:00
Wang Nan 5bab7a52ce Merge pull request #163 from nantas/v0.7
update tooltip
2015-12-30 10:42:14 +08:00
Nan Wang c213e720ab update i18n for layout tooltip. 2015-12-30 10:35:48 +08:00
Jare Guo bdd691296b Merge pull request #162 from knoxHuang/master
CCSprite.js update
2015-12-30 10:18:36 +08:00
knoxHuang de429aa237 CCSprite js update 2015-12-30 10:06:09 +08:00
Jare Guo 3ba88724df Merge pull request #161 from zilongshanren/improveLayout
only doLayout when count of children > 0
2015-12-30 10:01:45 +08:00
zilongshanren 32464f4f66 add defensive programming 2015-12-30 09:53:59 +08:00
zilongshanren 28c79dd17d only doLayout when count of children > 0 2015-12-30 09:43:40 +08:00
Jare Guo e623270d3b refactoring sprite 2015-12-30 01:46:34 +08:00
Jare Guo ea5a1469ab Merge pull request #158 from zilongshanren/improveLayout
Improve layout
2015-12-29 21:23:09 +08:00
zilongshanren c4b48a4c89 fix layout child anchor change issue.
1. fix base-node getBoundingBox issue
2015-12-29 21:21:21 +08:00
zilongshanren 56f6c329fd finish none layout 2015-12-29 20:42:04 +08:00
2youyouo2 d22f8e1481 sync master to 0.7 2015-12-29 20:01:30 +08:00
zilongshanren ca0334062a Merge remote-tracking branch 'fireball/v0.7' into improveLayout 2015-12-29 19:45:09 +08:00
Jare Guo d826f3948e sprite should emit size event for node 2015-12-29 18:05:32 +08:00
zilongshanren dd5c4cc72d add basic layout logic 2015-12-29 16:54:53 +08:00
zilongshanren d70ced1897 add autoResize property and refactor spacing. 2015-12-29 16:54:52 +08:00
pandamicro 9d9418c46e Merge pull request #147 from zilongshanren/improveButtonScrollViewEvent
Improve button and scroll touch dispatch
2015-12-29 16:52:37 +08:00
zilongshanren 643247a53f fix auto scroll time issue 2015-12-29 16:49:53 +08:00
zilongshanren 3ce238070d don't do hitTest in touch move and touch ended 2015-12-29 15:11:29 +08:00
pandamicro 4a8b893e2e fireball-x/fireball#1231: Made Node hit test taking count of Mask parent 2015-12-28 22:34:27 +08:00
zilongshanren 2a471bae7b Improve button and scroll touch dispatch
Squashed commit of the following:

commit 8fcc4f4d116372072959d4c8a6192247d953d0ae
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 28 21:51:25 2015 +0800

    refactor button and scrollview to use new event.

commit f3c1bc2153c85ee913a3a674c8f418087384146d
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 28 17:04:06 2015 +0800

    fix touch move out and in, button state is wrong.

commit 57ad4c7d887b879a1f71281798347057652decff
Merge: 7b3fe78 7c6f572
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 28 15:39:03 2015 +0800

    Merge remote-tracking branch 'fireball/v0.7' into fixButtonClickEvent

commit 7b3fe785dee943abfcfdc04ad5c228b4247bbd2f
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 28 15:38:24 2015 +0800

    remove self emit touch event

commit c1afba5131e3f3735ca236fdb693a72cff52ba4b
Merge: 6939b66 45e877a
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 28 11:44:59 2015 +0800

    Merge remote-tracking branch 'fireball/v0.7' into fixButtonClickEvent

commit 6939b66f6c2bbe4de1adc26b81613ddd40828b6e
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 28 11:44:28 2015 +0800

    fix typo
2015-12-28 21:53:27 +08:00
pandamicro a278c783f3 Remove scheduleUpdate for Component 2015-12-28 21:14:02 +08:00
Jare Guo 742015dc1e throw warning if property overrided without specifing override keyword 2015-12-28 18:30:23 +08:00
pandamicro 3c0e1b5e17 Support Scheduler in Component instead of Node 2015-12-25 21:09:04 +08:00
Jare Guo 481ab838fb Merge pull request #127 from 2youyouo2/master
should not sample in updateClip
2015-12-25 17:33:03 +08:00
2youyouo2 af8c69a827 should not sample in updateClip 2015-12-25 17:16:19 +08:00