Commit Graph

650 Commits

Author SHA1 Message Date
pandamicro eba3344506 Merge pull request #287 from dabingnn/refineSprite
Refine sprite
2016-01-28 16:32:23 +08:00
Huabing.Xu 3ecb22611b function and variable rename filled->fill 2016-01-28 15:49:36 +08:00
zilongshanren 4701b70474 refine 2016-01-28 14:43:41 +08:00
zilongshanren 3726ce7f95 fix node active in layout 2016-01-28 13:52:05 +08:00
zilongshanren a008a91135 fix label layout issue 2016-01-28 11:22:37 +08:00
zilongshanren 1e3e136186 fix label comp initial string and file issue 2016-01-27 17:05:12 +08:00
Jare Guo 89b76c40fd Merge pull request #293 from jareguo/master
简化常用组件的 sgNode 初始化流程
2016-01-27 16:55:29 +08:00
pandamicro cba1755e43 Merge pull request #290 from zilongshanren/fix-ui-bugs
Fix layout first element don't do layout properly issue.
2016-01-27 16:44:42 +08:00
Jare Guo da5905a98d make it likely to initialize comp._sgNode just in constructor 2016-01-27 16:42:45 +08:00
Jare Guo f8738a0b65 Merge commit 'ccc04fb726d93d5a2847285db1b58c83a005fe1f' 2016-01-27 16:12:59 +08:00
Wang Nan a6fc30c63f Merge pull request #292 from nantas/master
fix click event name.
2016-01-27 16:11:57 +08:00
Jare Guo 077b6638eb make it likely to initialize comp._sgNode just in constructor 2016-01-27 16:10:51 +08:00
Nan Wang 1621f7a519 fix click event name. 2016-01-27 16:10:01 +08:00
Huabing.Xu d864e86168 refine code 2016-01-27 15:22:54 +08:00
Huabing.Xu 7814406c0b rename FilledType -> FillType 2016-01-27 14:51:03 +08:00
minggo 0d987930c9 fix a commment 2016-01-27 14:22:47 +08:00
Huabing.Xu 352c311775 do not set this._sgNode.xxx() if this._sgNode is null 2016-01-27 13:41:41 +08:00
Huabing.Xu 12b7ea6a11 refactor filled sprite 2016-01-27 11:41:47 +08:00
zilongshanren ad68d7c410 fix layout one children layout issue 2016-01-26 20:59:25 +08:00
Jare Guo bd84751e69 Merge pull request #288 from 2youyouo2/animation
fixed error when change wrapMode
2016-01-26 17:54:38 +08:00
pandamicro 40f91ad4d2 Merge pull request #279 from zilongshanren/add-editobox-support
add EditBox component.
2016-01-26 15:18:30 +08:00
zilongshanren a67c846bf7 refine EditBox 2016-01-26 15:00:06 +08:00
Nan Wang cca9a7fb36 fixed api doc typo. add ccaudio as api. 2016-01-26 13:53:48 +08:00
Huabing.Xu 2a4e0199e9 rename cc.FillType -> cc.Scale9Sprite.FillType 2016-01-26 10:54:39 +08:00
2youyouo2 2ea5f94e2e fixed error when change wrapMode 2016-01-25 17:09:40 +08:00
Huabing.Xu b00eadd653 add interface in EC level 2016-01-25 16:07:15 +08:00
2youyouo2 628aeb7737 add animatable: false for component 2016-01-25 12:08:10 +08:00
zilongshanren f98aa9bc31 fix ci errors and refactor cceditbox 2016-01-25 10:29:54 +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
Jare Guo 87220547fe allows to replace scene for prefab edit mode 2016-01-21 01:23:26 +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
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
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 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
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