Neo Kim
|
3cff03e8ed
|
ScrollView - Remove movement callback from auto scroll.
|
2015-09-09 10:28:44 +09:00 |
Neo Kim
|
129f4b3186
|
Implement the inertia scroll using auto scroll feature. Consolidate them into one.
|
2015-09-01 11:52:05 +09:00 |
Neo Kim
|
ecd947d9f4
|
Change auto scroll feature to receive callbacks to remove dependencies.
|
2015-09-01 11:45:42 +09:00 |
Neo Kim
|
69d23eb00c
|
Extract the touch move speed calculation logic from inertia concept.
|
2015-09-01 11:45:42 +09:00 |
Neo Kim
|
96a78f687c
|
Remove redundant codes
|
2015-09-01 11:45:42 +09:00 |
Neo Kim
|
863c3a0a2a
|
Correct a typo
|
2015-07-14 10:17:05 +09:00 |
Neo Kim
|
9757ee4ea8
|
Refine scroll event dispatching. And add an event to track every move including jump and so on.
|
2015-07-13 21:28:17 +09:00 |
Neo Kim
|
22ea504af8
|
Add methods to manipulate scroll bar's opacity
|
2015-07-13 21:28:16 +09:00 |
Neo Kim
|
3ab4285960
|
Refactor code
|
2015-07-04 16:06:05 +09:00 |
Neo Kim
|
ceeca575f3
|
Replace 'margin' of scroll bar with 'positionFromCorner'
|
2015-07-04 14:05:47 +09:00 |
Neo Kim
|
3b6cd4dffc
|
Modify indentation to comply with the convention
|
2015-07-04 09:56:53 +09:00 |
Neo Kim
|
c093bb18e2
|
Add scroll bar manipulation methods into ScrollView
|
2015-07-04 09:56:52 +09:00 |
Neo Kim
|
2cae17b462
|
Add scroll bar feature into ScrollView
|
2015-07-04 09:56:52 +09: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 |
andyque
|
d83f528327
|
use inch for childFocusCancelOffset in UIScrollView
|
2015-06-25 16:57:00 +08: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
|
96f8842ee1
|
make scrollview time arguments more meaningful
|
2015-04-15 16:37:11 +08:00 |
samuele3hu
|
c3ad458a26
|
Update comment for Lua
|
2015-03-30 15:47:47 +08:00 |
minggo
|
73279e3b3f
|
Merge pull request #11205 from WenhaiLin/v3-doxygen
[ci skip]Update comments.
|
2015-03-30 09:31:36 +08:00 |
VisualSJ
|
875b5d95f4
|
[ci skip] Add javascript notes...
cocos/ui/UIListView.h
cocos/ui/UILoadingBar.h
cocos/ui/UIPageView.h
cocos/ui/UIRelativeBox.h
cocos/ui/UIRichText.h
cocos/ui/UIScale9Sprite.h
cocos/ui/UIScrollView.h
cocos/ui/UISlider.h
|
2015-03-28 16:02:47 +08:00 |
Wenhai Lin
|
ff3777dfd1
|
[ci skip]Update comments.
|
2015-03-27 18:26:14 +08:00 |
minggo
|
b03900bbbf
|
fix doxygen comment
|
2015-03-27 17:09:54 +08:00 |
andyque
|
bc2ffe4e19
|
remove unneeded js & lua NA and remove deprecated list from navtree
|
2015-03-27 11:02:04 +08:00 |
andyque
|
248325d055
|
Add missing comments for UI modules
Squashed commit of the following:
commit eb23bf8972d1a580db537f3d341091eaeb99d626
Author: andyque <guanghui8827@126.com>
Date: Wed Mar 25 17:08:07 2015 +0800
finish all the documents
commit a64ec4196eb1b41771ac2f7b2ba48845d22b6211
Author: andyque <guanghui8827@126.com>
Date: Wed Mar 25 09:49:33 2015 +0800
finish scrollview
commit 4ff76623230f19dd25c4de29e2816754524570b2
Author: andyque <guanghui8827@126.com>
Date: Tue Mar 24 21:40:26 2015 +0800
add UIScale9Sprite comments
Conflicts:
cocos/ui/UIScale9Sprite.h
commit e82a17b4e3cd07a03d4bfc906b0dc94d1fa08757
Author: andyque <guanghui8827@126.com>
Date: Tue Mar 24 18:05:02 2015 +0800
add comments for UIRichText
commit 7cbbcc6883ace0ef60a060f6c5808f4c296af4df
Author: andyque <guanghui8827@126.com>
Date: Mon Mar 23 22:08:26 2015 +0800
add comments for UIPageView and UIRelativeBox
commit 6fcf32a40d5407aefcba39e76aea5fb93a1a4e4a
Author: andyque <guanghui8827@126.com>
Date: Mon Mar 23 21:12:27 2015 +0800
finish loadingbar comments
commit 58e16b81dee833788018d913aef80e2ddd33d408
Author: andyque <guanghui8827@126.com>
Date: Mon Mar 23 20:51:30 2015 +0800
finished UiListView
commit 8278b3f1ee905c34dbd9c461975b1b4491eb7977
Author: andyque <guanghui8827@126.com>
Date: Mon Mar 23 20:06:10 2015 +0800
add comments for LayoutManager and LayoutParameter.
commit b2edfa06b83fbb0cdaf2f567c0d6f8d72e6f90c5
Author: andyque <guanghui8827@126.com>
Date: Mon Mar 23 17:09:17 2015 +0800
finish comments for UILayoutComponent
commit 730b5bc9c1a18139fbdef331b16c58b928cf999f
Author: andyque <guanghui8827@126.com>
Date: Fri Mar 20 14:07:58 2015 +0800
add missing comments
commit cecd97e830492e58dd07a2b1f5d0e87f19144856
Author: andyque <guanghui8827@126.com>
Date: Fri Mar 20 09:31:51 2015 +0800
add comments
commit ca0a6033bf61c7fc9caf70719ee5ea651953f580
Author: andyque <guanghui8827@126.com>
Date: Thu Mar 19 21:02:36 2015 +0800
add missing docs for UIButton, UILayout, UIIMageview and UIWidget
commit df98454583553e80d2ef4f72cc58de4b433f43c7
Author: andyque <guanghui8827@126.com>
Date: Thu Mar 19 14:02:05 2015 +0800
add missing comments for UIHbox and UIHelper
commit 4baf76dd92672b745d3d84e47e5fed8c680b01c7
Author: andyque <guanghui8827@126.com>
Date: Thu Mar 19 11:28:32 2015 +0800
add comments for UICheckbox
commit 77c4080b3c70268b6a07cfa12d1e9319c86a2f38
Author: andyque <guanghui8827@126.com>
Date: Thu Mar 19 00:01:42 2015 +0800
update coments
commit 4506327ace5b7786ee8b490aab1653462a834418
Author: andyque <guanghui8827@126.com>
Date: Wed Mar 18 20:32:57 2015 +0800
add comments for UIEditbox
commit 4937f30adb8912a02ab10353b6cc5fe2eed9d4bf
Author: andyque <guanghui8827@126.com>
Date: Wed Mar 18 10:51:20 2015 +0800
add missing comments for UIEditBox
commit 64a48c6b09f4eaf6b84cc8446ef59d382cf8767b
Author: andyque <guanghui8827@126.com>
Date: Wed Mar 18 10:12:08 2015 +0800
fix indentation problem
commit b38c921c114bb4a707be0f29dcdf8c46e43a445a
Author: andyque <guanghui8827@126.com>
Date: Wed Mar 18 10:08:46 2015 +0800
add missing comments for CCIMEDispatcher
commit 4412cf52429f22351a5c9fbb7c392bca64c2a2c6
Author: andyque <guanghui8827@126.com>
Date: Wed Mar 18 09:57:52 2015 +0800
add missing documents for CCIMedelegate
commit 53d3242f2cafde2bebedebe8353c6be625e5ce84
Author: andyque <guanghui8827@126.com>
Date: Wed Mar 18 09:43:33 2015 +0800
add missing documentation for CCTilemapatlas
commit 1f6183086b6e21557e5b05bf4cede43d472611a1
Author: andyque <guanghui8827@126.com>
Date: Wed Mar 18 09:38:59 2015 +0800
add missing comments for CCTextfieldttf
commit a7fe234153cebc4113cc97064d20dfd3515f9611
Author: andyque <guanghui8827@126.com>
Date: Tue Mar 17 22:03:31 2015 +0800
supplement comments for ProtectedNode
commit 3b02d22850b6a9e99e779ca09e5ce0b5bf24d602
Author: andyque <guanghui8827@126.com>
Date: Tue Mar 17 21:55:03 2015 +0800
add comments to CCMenuitem.h
commit 58e054c5cd28986e4420c2ae44af7e9a2beab4ce
Author: andyque <guanghui8827@126.com>
Date: Tue Mar 17 21:36:14 2015 +0800
add comments to Menu
|
2015-03-25 18:17:58 +08:00 |
zhangcheng
|
6cfc5b72dc
|
1. CocosStudio adapt to cocos2d-x v3.2.
|
2014-07-21 17:45:56 +08:00 |
andyque
|
dae29e5678
|
update UI module code comments
|
2014-07-15 15:56:07 +08:00 |
Dhilan007
|
6cff8cb564
|
fixed warn and replace NULL with nullptr.
|
2014-07-10 00:45:27 +08:00 |
andyque
|
a4bd3879ac
|
fix ListView addChild problem
|
2014-06-25 16:17:16 +08:00 |
minggo
|
66703addb2
|
fixed #4693: override addChild by name
|
2014-06-25 11:27:48 +08:00 |
andyque
|
c9bcbfb265
|
fix addEventListener hidden problem
|
2014-06-23 12:09:49 +08:00 |
minggo
|
8a5bfb9840
|
issue #4693: add getName(), setName() and getChildByName()
|
2014-06-11 16:57:43 +08:00 |
andyque
|
6bc82ef5ab
|
restore UIScrollView constructor and destructor to public
|
2014-06-09 10:47:02 +08:00 |
andyque
|
7a25fbfe29
|
refactor touch event
|
2014-06-09 10:23:11 +08:00 |
andyque
|
36e7c9cdfc
|
add constness to UIScrollView
|
2014-05-27 11:30:36 +08:00 |