Neo Kim
c4aa5a6274
Remove the code related to becoming parent node of radio buttons. Radio button group is not a parent node of radio buttons anymore.
2015-07-02 11:50:50 +09:00
Neo Kim
6550a9ccc2
Replace all tabs to 4 spaces to comply with the convention
2015-07-02 11:30:14 +09:00
Neo Kim
4b2bff4674
Change RadioButtonGroup not to be a node-parent of radio buttons but just a grouping node. And add one more test case.
2015-07-02 11:28:14 +09:00
Neo Kim
a64e50688e
Add the new files into CMake and Windows project configurations.
2015-07-01 12:21:42 +09:00
Neo Kim
3f05ad2b98
Replace all tabs to 4 spaces to comply with the convention
2015-06-30 20:31:31 +09:00
Neo Kim
f5e7184f0b
Add new cpp files into Android.mk
2015-06-30 18:50:13 +09:00
Neo Kim
bed90606d3
Add RadioButton feature and a test case for it.
2015-06-30 18:50:13 +09:00
Neo Kim
a37015d083
To create radio button feature which uses almost same logic with CheckBox, extract the common logic from CheckBox and make it as AbstractCheckButton class.
2015-06-30 18:50:13 +09:00
子龙山人
950cb840c2
Merge pull request #12582 from super626/listview
...
fix camera mask of listview
2015-06-30 10:25:57 +08:00
子龙山人
c997284825
Merge pull request #12352 from andyque/add-two-events-to-ui-slider
...
Improve ui::Slider
2015-06-29 17:01:27 +08:00
yangxiao
a56a5d24b6
fix camera mask of listview
2015-06-29 14:41:03 +08:00
andyque
60834e6f0c
Merge branch 'v3' into v3-finish-android-9-patch-image-format
...
Conflicts:
cocos/2d/libcocos2d_8_1/libcocos2d_8_1/libcocos2d_8_1.Shared/libcocos2d_8_1.Shared.vcxitems.filters
2015-06-29 12:05:52 +08:00
andyque
30d2129f0c
improve indent and getTime function
2015-06-29 11:52:53 +08:00
pandamicro
4b34963329
Merge pull request #12537 from andyque/fix-v3.7-scrollView-dpi
...
use inch for childFocusCancelOffset in UIScrollView
2015-06-26 08:11:00 +08:00
pandamicro
3136bef9e3
Fix convertDistanceFromPointToInch logic (add x, y)
2015-06-25 21:34:00 +08:00
pandamicro
e29284374b
Fix convertDistanceFromPointToInch logic
2015-06-25 20:57:23 +08:00
samuele3hu
3a654b4615
Fix the compile error of js-template by using android-studio compile param.
2015-06-25 17:44:51 +08:00
andyque
d83f528327
use inch for childFocusCancelOffset in UIScrollView
2015-06-25 16:57:00 +08:00
andyque
7fff2bd3c4
fix nine patch image parser error on Windows.
2015-06-23 15:42:58 +08:00
Neo Kim
9757be0f81
Remove debugging logs
2015-06-22 14:49:30 +09:00
Neo Kim
71c98da2aa
Apply ease out action on inertia scroll
2015-06-22 14:30:45 +09:00
Neo Kim
c4fa99444c
Simplify the inertia scroll implementation
2015-06-22 14:30:36 +09:00
Neo Kim
c70c923674
Separate the inertia scroll from auto scroll. And implement auto scroll and bounce back as one logic. The bounce back movement is one of auto scroll feature.
2015-06-22 14:30:30 +09:00
Neo Kim
7422b20da9
Refactor some functions
2015-06-22 14:27:19 +09:00
Neo Kim
85fc5b3f89
Change to comply to Cocos2d-x convention
2015-06-22 14:27:11 +09:00
Neo Kim
6c212a7ddb
Replace the existing bounce back feature with another one like iOS bounce-back. The inner container moves smoother when bouncing back.
...
It does what the existing code did including scroll event dispatching and attenuating.
2015-06-22 14:27:00 +09:00
Neo Kim
1058ab9172
Add necessary member variables and methods
2015-06-22 14:26:51 +09:00
Neo Kim
a8f77710f5
Refactor some functions and remove redundant codes
2015-06-22 14:10:25 +09:00
Neo Kim
876c94f352
Remove the boundary of bouncing and apply half-movement when out of boundary like iOS bounce back.
2015-06-22 14:05:53 +09:00
Neo Kim
ff3f990142
Add isOutOfBoundary() functions
2015-06-22 14:05:53 +09:00
Neo Kim
c3c6eeb6c1
Refactor some functions
2015-06-22 14:05:52 +09:00
Neo Kim
a3ff9573b0
Remove duplicated logic in bounceScrollChildren()
2015-06-22 14:05:51 +09:00
Neo Kim
1971b01280
Make the event dispatch functions into one function after removing duplicated logic.
2015-06-22 14:05:50 +09:00
Neo Kim
31bf9f714d
Merge bouncing and non-bouncing logics as one.
2015-06-22 14:05:50 +09:00
Neo Kim
6a0609a687
Merge the logics for bouncing of VERTICAL, HORIZONTAL and BOTH in one function. VERTICAL and HORIZONTAL can be processed as BOTH.
2015-06-22 14:05:49 +09:00
Neo Kim
368b5e8f12
Remove duplicated logics in scrollChildrenBoth(), and extract meaningful logic into separate functions.
2015-06-22 14:05:49 +09:00
andyque
b8826d9de4
improve the enum naming
2015-06-16 09:42:06 +08:00
Ricardo Quesada
c17da7e90d
Removes not-needed draws
2015-06-15 10:40:47 -07:00
andyque
a880dc86e9
improve comments
2015-06-15 19:36:20 +08:00
andyque
c1108db31e
Improve ui::Slider
...
1. Add two APIs to gain big precision
2. Add three type events in Slider's callback.
2015-06-15 18:31:21 +08:00
Ricardo Quesada
32aae46343
fixes
2015-06-12 15:37:29 -07:00
Ricardo Quesada
2a3347dd49
RenderState: default state fixes
...
parts of cocos2d code calls GL directly.
This should be avoided since v3.7 since the
`RenderState::StateBlock::_defaultState` won't know that
and the state will be invalid.
In order to fix this issue, after calling GL directly, you should
update the `_defaultState` manually.
2015-06-12 15:03:48 -07:00
子龙山人
7a9b48bd83
Merge pull request #12214 from andyque/optimize-ui-memory-usage
...
Optimize ui memory usage
2015-06-12 10:11:21 +08:00
子龙山人
57e92df8ee
Merge pull request #12099 from stari4ek/v3-12097-video-android-search-path
...
Fixed : #12097 VideoPlayer on Android ignores search paths
2015-06-08 17:22:14 +08:00
andyque
1954f6c55c
fix enum class wrong indentation
2015-06-05 17:23:32 +08:00
andyque
56b7037c5f
optimize uislider memory usage
2015-06-05 17:16:10 +08:00
andyque
6390f063fe
optimize UILoadingBar memory usage
2015-06-05 15:57:39 +08:00
andyque
a7141bab38
improve imageView memory usage
2015-06-05 14:19:05 +08:00
andyque
91ddb802e1
optimize ui::CheckBox memory consumption
2015-06-05 10:32:22 +08:00
Michael Sotnikov
b430353cd8
Fixed : #12097 VideoPlayer on Android ignores search paths
2015-05-29 10:17:40 +03:00