Commit Graph

136 Commits

Author SHA1 Message Date
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
Jare Guo 73269fd4f3 Merge pull request #125 from jareguo/hide-sprite
sprite should be hidden if sprite frame deleted
2015-12-25 12:09:16 +08:00
Jare Guo b62b80ecd0 sprite should be hidden if sprite frame deleted 2015-12-25 11:48:18 +08:00
zilongshanren d6febd8cf6 rename LayoutType to Type 2015-12-25 10:27:44 +08:00
zilongshanren f75925209c improve ui components 2015-12-25 10:22:22 +08:00
Jare Guo aa3217feb2 Merge pull request #120 from zilongshanren/addLayout
Panel组件开发
2015-12-24 15:29:39 +08:00
zilongshanren fd185047be refine the coding style 2015-12-24 15:20:40 +08:00
zilongshanren 3ba13cfe38 Finish layout
add children change event

add child-added and child-remove event to basenode

add layout dirty skeleton

finish layout in one direction

add layout doc string.
2015-12-24 14:21:17 +08:00
zilongshanren 8fbc0e94c4 add defensive technical to scrollview 2015-12-24 14:21:16 +08:00
zilongshanren 97af241136 Finish layout 2015-12-24 14:20:56 +08:00
knoxHuang fe193f01fe cc.Audio ranname cc.AudioSource 2015-12-24 09:41:28 +08:00
Jare Guo fd57ed9a52 make codes more concise 2015-12-23 19:41:56 +08:00
2youyouo2 7b76c5cb3b Merge branch 'master' of github.com:fireball-x/engine 2015-12-22 18:09:51 +08:00
2youyouo2 b25b73ef6d fixed animation may not play 2015-12-22 17:47:56 +08:00
Jare Guo 6b7f5d34cd Merge pull request #104 from zilongshanren/addScrollViewInterface
add scrollview interface
2015-12-22 17:25:25 +08:00
zilongshanren 16f30cc3e6 done 2015-12-22 17:20:52 +08:00
zilongshanren be088f9f05 add comments to scrollview public APIs. 2015-12-22 17:07:06 +08:00
zilongshanren d8b89b99d5 refine the delta move logic 2015-12-22 15:06:58 +08:00
zilongshanren e1202d4ce3 fix typo 2015-12-22 11:48:25 +08:00
zilongshanren 0d15a65b2f don't show scrollbar at start time. 2015-12-22 11:39:15 +08:00
zilongshanren 72c871dd09 clamp percent value to 1-100 2015-12-22 11:00:26 +08:00
zilongshanren 608cb572f1 add scrollto interface
fixed issue https://github.com/fireball-x/fireball/issues/1002

add jumpToXXX interfaces

add scroll to percent api.
2015-12-22 10:53:27 +08:00
Jare Guo 9c4f5ea483 Merge pull request #100 from 2youyouo2/794
add defaultClip to clips if defaultClip is not added to clips
2015-12-21 21:30:06 +08:00
2youyouo2 49c7844189 update defaultClip check 2015-12-21 21:25:59 +08:00
Wang Nan 4f2347c84b Merge pull request #103 from dabingnn/s9SpritescrollbackToTrimmed
refactor to use data after trimmed
2015-12-21 20:48:11 +08:00
Huabing.Xu e2e45121e6 refactor to use data after trimmed 2015-12-21 20:22:35 +08:00
2youyouo2 4fd03f00ed add defaultClip for cc.Animation 2015-12-21 19:23:10 +08:00
Wang Nan 6abd037e4f Merge pull request #98 from zilongshanren/fixScrollView_v2
Improve Scrollview and refine the properties
2015-12-21 18:39:55 +08:00
Jare Guo cd9fab1107 Revert "fix CCSprite bug" 2015-12-21 18:29:00 +08:00
knoxHuang 5903ce5646 fix CCSprite bug 2015-12-21 17:57:13 +08:00
zilongshanren e9287d3037 Improve Scrollview and refine the properties
Squashed commit of the following:

commit d10bd73f87fae6ba39858e190921155475ede586
Merge: b174d7c 2ed54b8
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 21 17:44:25 2015 +0800

    Merge remote-tracking branch 'fireball/master' into fixScrollView

commit b174d7cd36fffccf78659b4018940d03da5a6587
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 21 17:20:53 2015 +0800

    fix content size smaller than scrollvie size

commit 8a3ff65f1d2f0e1a6a569a037b7fad1ec9e235e8
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 21 16:24:45 2015 +0800

    add new brake logic

commit 84da9372a148caa7fd6518f3d12f5fe191454729
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 21 15:05:08 2015 +0800

    renaming the properties

commit f3c40a8e7ad6e6097bf07399201ac82e8d5fa72b
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 21 14:21:38 2015 +0800

    fix scrollbar positioning

commit d3eb25ddd34a6634737804f55b65e355c003938b
Author: zilongshanren <guanghui8827@126.com>
Date:   Mon Dec 21 13:54:05 2015 +0800

    fix scrollview doesn't respect to content anchor.
2015-12-21 17:47:55 +08:00
knoxHuang 38cae90d05 update CCButton and CCSprite and deprecated 2015-12-21 17:43:00 +08:00
knoxHuang 6e673df485 Merge remote-tracking branch 'origin/master' into sprite 2015-12-21 17:29:24 +08:00
knoxHuang 9945eeb559 spriteRender renname sprite 2015-12-21 17:06:49 +08:00
Wang Nan 500cee7430 Merge pull request #94 from nantas/master
add tooltip for node and component title.
2015-12-21 16:56:04 +08:00
Nan Wang 47f4933de2 add tooltip for node and component title. 2015-12-21 16:51:12 +08:00
Huabing.Xu bc10ca822b refine CCSpriteRender according to low level changes 2015-12-21 16:24:01 +08:00
2youyouo2 2b82023eb1 add defaultClip to clips if defaultClip is not added to clips 2015-12-21 16:03:16 +08:00
Wang Nan ab88fd50ef Merge pull request #89 from nantas/master
update i18n component tooltip.
2015-12-21 11:51:48 +08:00
Nan Wang 682363d12d update i18n component tooltip. 2015-12-21 11:49:40 +08:00
2youyouo2 c20d8c9563 update cc.Animation api 2015-12-21 10:50:51 +08:00
2youyouo2 91fa5815ab Merge branch 'master' of github.com:fireball-x/engine 2015-12-21 09:25:02 +08:00
Nan Wang bb5a297413 update scrollview menu path. 2015-12-20 23:22:13 +08:00
2youyouo2 8e9a68def8 Merge branch 'master' of github.com:fireball-x/engine
Conflicts:
	cocos2d/core/components/CCAnimation.js
2015-12-19 21:36:28 +08:00
Wang Nan 26ceb5072b Merge pull request #84 from nantas/master
更新组件属性 tooltip
2015-12-19 18:18:25 +08:00
Nan Wang d099c7b73b add tooltip for component up to label. 2015-12-19 18:11:43 +08:00
2youyouo2 dff392cf99 fixed cc.Button hittest 2015-12-19 16:15:44 +08:00
2youyouo2 972e475566 improve cc.Animation api 2015-12-19 14:18:53 +08:00