Commit Graph

222 Commits

Author SHA1 Message Date
zilongshanren a67c846bf7 refine EditBox 2016-01-26 15:00:06 +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 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
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