Commit Graph

490 Commits

Author SHA1 Message Date
Huabing.Xu 11e47dbc7c fix bug when center is out of content size
add interface
2016-01-25 16:06:56 +08:00
Huabing.Xu 6967dbcf32 add variable in scale9 sprite
fix bugs
2016-01-22 18:37:03 +08:00
Huabing.Xu da4dec3509 raw version of radial works 2016-01-22 14:24:56 +08:00
Huabing.Xu b21c6db74d Merge branch 'master' into refineSprite 2016-01-20 10:19:56 +08:00
Jare Guo 8631c47c43 Merge pull request #271 from dabingnn/fix_sprite_trimMode
fix sprite
2016-01-20 10:09:50 +08:00
Huabing.Xu b300e12c4c fix sprite
1. sizeMode is not inited
2. trimmode is not synced to scale9 sprite
2016-01-20 09:59:25 +08:00
Huabing.Xu 55e9ef1f0d stash 2016-01-20 09:32:16 +08:00
Jare Guo 649e5e32ed Merge pull request #268 from jareguo/master
add scene launched event
2016-01-19 18:40:16 +08:00
Jare Guo 4493a4a618 add scene launched event 2016-01-19 18:39:08 +08:00
Huabing.Xu f5cdb07c25 Merge branch 'master' into refineSprite 2016-01-19 17:02:42 +08:00
Jare Guo 03df15ef63 Merge pull request #265 from dabingnn/add_originalContentSizeType
Add original content size type
2016-01-19 11:11:02 +08:00
Huabing.Xu 9f9850e4d6 add comments 2016-01-19 10:37:41 +08:00
Huabing.Xu fceda73a0d refine code 2016-01-19 09:59:22 +08:00
knoxHuang f719809878 Merge remote-tracking branch 'fireball/master' 2016-01-19 09:42:50 +08:00
knoxHuang 15df58923b fix notes error to CCCommon.js 2016-01-19 09:42:32 +08:00
Huabing.Xu f990ee6e82 rename enumerable Size mode 2016-01-18 18:14:24 +08:00
Huabing.Xu 46556d9b3a reformat code 2016-01-18 17:46:45 +08:00
Huabing.Xu 657544e3c9 add EC level code 2016-01-18 17:46:29 +08:00
zilongshanren dc1caef5cd fix label component init font size issue.
fix https://github.com/cocos-creator/fireball/issues/1612

fix https://github.com/cocos-creator/fireball/issues/1573
2016-01-18 17:39:52 +08:00
pandamicro 155da1500d Merge pull request #262 from zilongshanren/fixLayoutGrid
fix grid layout resize container issue
2016-01-18 15:29:23 +08:00
Jare Guo 0f458eded2 Merge pull request #263 from jareguo/master
CCClass now support async initialize properties via function
2016-01-18 15:24:21 +08:00
Jare Guo dd9cc99b83 CCClass now support async initialize properties via function to avoid cross reference problem 2016-01-18 15:19:33 +08:00
zilongshanren 88dca474c2 fix grid layout resize container issue 2016-01-18 14:58:25 +08:00
Huabing.Xu d3d99c9f7c add EC level code 2016-01-18 14:40:32 +08:00
Huabing.Xu 8bdcd4d7f2 fix scale9 sprite bug 2016-01-18 14:39:38 +08:00
Wang Nan 8bf9d18c6e Merge pull request #261 from cocos-creator/v0.7
merge v0.7
2016-01-18 11:50:39 +08:00
Huabing.Xu 3c764f5d98 scale 9 works on both trimmed content size and raw content size mode 2016-01-18 10:56:39 +08:00
Jare Guo 39d348da28 make code about CCClass more concise 2016-01-17 18:48:37 +08:00
pandamicro 697d585e39 Fix bmfont texture not handled in Canvas 2016-01-17 12:03:42 +08:00
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
pandamicro 1dbf6d3f43 Improve doc and code hint 2016-01-15 16:13:47 +08:00
Huabing.Xu b5dffdbed2 ...... 2016-01-15 15:39:05 +08:00
Huabing.Xu 0e389f2b55 fix label and sprite canvas rendering 2016-01-15 12:40:46 +08:00
Huabing.Xu 5e5459af3b fix label does not work on sougou browser 2016-01-15 11:10:00 +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
pandamicro 7932d986e8 Add documentation to accuse Baidu developer 2016-01-14 21:49:07 +08:00
pandamicro f135abd3a9 Merge pull request #239 from dabingnn/fix_labelttf_empty_line
fix empty line for label ttf
2016-01-14 20:03:03 +08:00
pandamicro 9b12b53ee7 Fixed indexOf issue on Baidu browser, damn you baidu browser guys ! 2016-01-14 19:01:19 +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
Jare Guo 5456aa241e add animatable attribute for CCClass 2016-01-14 13:55:01 +08:00
Huabing.Xu 6267c8cf4f temp slash 2016-01-14 11:56:31 +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
pandamicro 176925da48 Improve WebGL support detection 2016-01-14 10:17:26 +08:00
pandamicro b09919b23a Fix Android WEBGL detection issue 2016-01-13 22:50:31 +08:00
Jare Guo ade6bb5362 check component conflict 2016-01-13 15:26:58 +08:00
Nan Wang 62006f4a78 fix cc module wrong link issue. 2016-01-13 14:27:12 +08:00
Jare Guo 6604053da8 add _initSgNode for ComponentInSG 2016-01-13 14:05:24 +08:00
Wang Nan 8ee1d17a41 Merge pull request #241 from nantas/v0.7
update actions api module, back to cc
2016-01-13 13:37:50 +08:00