Commit Graph

1797 Commits

Author SHA1 Message Date
Huabing.Xu 6967dbcf32 add variable in scale9 sprite
fix bugs
2016-01-22 18:37:03 +08:00
zilongshanren 7c66c1e4b6 add EditBox component.
rename editbox to sgEditBox

add editbox components

add background scale9sprite to editbox

add function to change editbox bgsprite size

add editbox properties

add string property

sync all the interfaces

refactor button event handler

finish single line editobox

finish multiline editbox

add editbox component
2016-01-22 18:08:04 +08:00
Huabing.Xu da4dec3509 raw version of radial works 2016-01-22 14:24:56 +08:00
Jare Guo 2b8ec985e4 add cc.Float, cc.Boolean, cc.String, cc.Integer 2016-01-22 13:58:56 +08:00
Jare Guo dd31716186 minor fix 2016-01-22 02:17:04 +08:00
Jare Guo 163170729e fix 'sender' is not defined in CCSpriteFrame 2016-01-22 01:43:42 +08:00
Jare Guo 5e75462c6b destroyed object should be nullify when instantiating (+1 squashed commit)
Squashed commits:
[50e59fb] update package.json
2016-01-21 16:58:51 +08:00
Jare Guo 348ba361aa Merge pull request #274 from jareguo/master
allows to replace scene for prefab edit mode
2016-01-21 01:25:33 +08:00
Jare Guo 87220547fe allows to replace scene for prefab edit mode 2016-01-21 01:23:26 +08:00
pandamicro 2be250202a Made ActionManager support cc.Node in JSB 2016-01-20 18:03:28 +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