Commit Graph

208 Commits

Author SHA1 Message Date
Jare Guo 23de32c9b6 Merge commit 'e921a2ca4cfd2c24d90796db2ed879ab3a90b34a'
# Conflicts:
#	cocos2d/core/components/CCSprite.js
2016-01-15 17:08:37 +08:00
Jare Guo 9bb7bbdea0 sprite should not display if disabled in scene 2016-01-15 16:55:58 +08:00
Jare Guo b471af8678 Merge pull request #251 from zilongshanren/addLayoutResizeChildren
add grid layout and finish all the layout fature
2016-01-15 10:49:31 +08:00
zilongshanren 60a163f42b add missing docs 2016-01-15 10:47:18 +08:00
zilongshanren a27a9b3528 add grid layout and finish all the layout fature
finish none mode of layout

add resize none mode for horizontal and vertical

refactor horizontal layout algorithm

refactoring

add row break logic

make row break working

rename margin to padding

grid layout start axis works

refactoring

finish y axis grid layout

add grid layout resize container feature.

add resize container for grid vertical layout

fix horizontal  layout issue

fix some issues when in grid resize container mode

finish layout feature
2016-01-14 15:54:57 +08:00
Wang Nan 0db9dc47b7 Merge pull request #248 from fireball-x/v0.7
merge v0.7
2016-01-14 10:19:11 +08:00
Jare Guo 6604053da8 add _initSgNode for ComponentInSG 2016-01-13 14:05:24 +08:00
pandamicro 8f65363fc5 Fix issue when Mask is created without being loaded 2016-01-13 09:36:00 +08:00
Wang Nan c25078ef42 Merge pull request #227 from fireball-x/v0.7
merge v0.7
2016-01-11 21:48:34 +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
zilongshanren 47b39fa2cb fixup! fix scrollview brake with large content size. 2016-01-11 17:23:37 +08:00
zilongshanren ec7111c900 fix scrollview brake with large content size.
fixed: https://github.com/fireball-x/fireball/issues/1487
2016-01-11 17:06:39 +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
zilongshanren 91065e322f add bmfont NONE mode support
fix switch font file in resize height mode

don't resize when label overflow is NONE

fixup! add bmfont NONE mode support
2016-01-11 15:04:31 +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
Wang Nan 503ab6092c Merge pull request #209 from fireball-x/v0.7
merge v0.7
2016-01-08 21:57:32 +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
Huabing.Xu 4fbad8590a Label NONE mode works on ttf 2016-01-08 10:32:34 +08:00
pandamicro 55b182ae70 Remove all listeners for Component 2016-01-07 20:56:49 +08:00
Nan Wang ce7af67a9b Merge branch 'v0.7' of github.com:fireball-x/engine 2016-01-06 23:58:29 +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
Jare Guo dedaf5a6d8 Merge commit 'c344bbecd9070dc68f03fefae5e0d37f5f16e8ba' 2016-01-04 11:28:13 +08:00
Jare Guo e3998f21df component should inherit the node's name 2016-01-04 11:26:02 +08:00
pandamicro ea39a62997 Fix scheduler issues in JSB 2016-01-04 00:20:49 +08:00
Jare Guo e789f1fc48 remove unused files 2015-12-31 16:31:57 +08:00
Jare Guo 132bf5e382 Merge pull request #175 from fireball-x/v0.7
merge from 0.7
2015-12-31 11:31:45 +08:00
Wang Nan eab2a09794 Merge pull request #173 from nantas/master
fix removeAllChildren
2015-12-30 22:26:47 +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 8c2a6142f7 Merge pull request #167 from fireball-x/v0.7
V0.7
2015-12-30 19:36:52 +08:00
Jare Guo 83d758d49f should not cause an infinite loops if re-activated in onLoad 2015-12-30 18:48:03 +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