Commit Graph

49 Commits

Author SHA1 Message Date
JoneLau 0cb8509e95 ui code adjust (#5008) 2019-08-02 18:34:27 +08:00
ChiaNing 4bc2739786 Vmath (#4987)
* Vmath (#4895)

* vmath refactor

* value-type API change

* vmath change update

* conflict fix

* value types change

* translate modify (#4917)

* value types bug fixed (#4940)

* playground update (#4946)

* bug fixed

* bug fixed

* bug fixed

* bug fix

* util modify

* create remove & ccenum rename

* export by cc.math

* Rename value-types to math

* util funtion deprecated warn

* value-types change

* color test fix

* color API change
2019-07-29 11:50:51 +08:00
jiaxin.lai faa7094cf8 add some typing to interface of INode (#4984)
* add some typing to interface of INode

* fix INode childern typing

* add Mutable type, for change Readonly type

* decouple node with ui relative component

* add missed ui component, and decouple node

* add more typing to IBaseNode and INode
2019-07-26 17:56:55 +08:00
JoneLau 236f7290b6 fix the deletion error of rendered data when the ui node is deleted (#4960) 2019-07-24 15:26:31 +08:00
JoneLau 6cd4d39ee5 fix graphics clear bug and mask caculation in onEnable (#4943) 2019-07-23 13:07:37 +08:00
yinkaile 345ee7ed85 3d v1.0.0 (#4929)
* refine node.updateWorldTransform

* refine sprite simple assembler
2019-07-20 16:50:26 +08:00
Weiliang Wang f189f9fc00 remove fuzzy comparison of floating uniform (#4871)
* remove fuzzy comparison of floating uniform

* remove constget import
2019-07-12 14:46:56 +08:00
Weiliang Wang f3f4745d80 remove @constget (#4860) 2019-07-11 11:13:15 +08:00
JoneLau 87036c4660 add constget to the valuetype in the component (link: 4733) (#4769) 2019-07-01 18:24:28 +08:00
Weiliang Wang d6fb2dc72b Revert "add constget to the valuetype in the component (#4733)" (#4739)
This reverts commit fb35719387.
2019-06-27 18:31:41 +08:00
JoneLau fb35719387 add constget to the valuetype in the component (#4733) 2019-06-27 17:57:08 +08:00
JoneLau 2b56b8c37b adjust core to avoid babel packing errors (#4731) 2019-06-27 17:56:54 +08:00
JoneLau 67e264c995 ui layout api (#4707) 2019-06-27 09:52:13 +08:00
ChiaNing 408cc6f930 Copyright Notice format change (#4665) 2019-06-21 09:34:05 +08:00
JoneLau 780fa06f6b data protection (#4650) 2019-06-19 09:14:51 +08:00
ChiaNing f49bd31a22 Format adjustment for api doc (#4618) 2019-06-14 09:22:43 +08:00
JoneLau 4767be9e82 add ui api (#4567) 2019-06-06 19:25:28 +08:00
JoneLau d2f79a0fab fix ui performance (#4511)
1. label ui drawcall too much high
2. switch visibility when parent changed
2019-05-30 11:33:38 +08:00
zxg0622 ae2dbaf04f fix ui model bug (#4512) 2019-05-28 20:23:43 +08:00
Leslie Leigh c8aa3e560c rename EventType to SystemEventType; optimize EventListener's method … (#4496)
* rename EventType to SystemEventType; optimize EventListener's method declarations in derived class

* fix

* line break

* line

* update tfig
2019-05-24 16:56:40 +08:00
JoneLau 5a386147f6 adjust partial ui api (#4385) 2019-05-07 14:14:17 +08:00
JoneLau 1095bbeac1 reject ui module (#4354)
* reject ui module

* replenish
2019-05-05 09:58:27 +08:00
JoneLau fdbd13572f fix some bug and adjust code (#4284) 2019-04-24 10:57:18 +08:00
JoneLau 2ec7b94b36 fix error for rendering components that are not initialized due to built-in resource (#4204) 2019-04-12 14:21:25 +08:00
JoneLau d997ebeaad add rich-text (#4183) 2019-04-10 15:42:49 +08:00
JoneLau 4edd2a6ead implementing mask with graphics(#4138) (#4138)
exclude image_stencil
2019-04-03 18:24:13 +08:00
zxg0622 daa2542ef9 add ui 3d model rendering (#4108) 2019-03-27 15:26:57 +08:00
JoneLau e5e53071c3 fix add second render component error (#4079) 2019-03-22 10:36:47 +08:00
JoneLau 9fa515b5bc change the material of the render component to built-in (#4058) 2019-03-18 16:21:19 +08:00
Weiliang Wang 8bb80df732 3d (#4036)
* compiler error (#4033)

* compiler error

* add gen decl module

* fix global event and other bug (#4032)

* components such as event-target to ts

* divide CCEvent and CCTouch into game coordinates and ui coordinate mod

* repair editor environment where mask does not take effect bug

* fix render component blendState modification does not take effect bug

* fix bug

* fix ts tip
2019-03-14 12:03:04 +08:00
JoneLau fc4d7fda95 fix touch start error (#3973)
* fix touch start error

* setting blendState in UIRenderComponent
2019-03-07 11:42:53 +08:00
JoneLau ed93473d67 fix error (#3969)
* fix error

* repair overridePipelineState bug per Fram
2019-03-06 09:15:22 +08:00
JoneLau 1f21da8d3c repair child node render data synchronization update bug (#3963) 2019-03-05 14:25:40 +08:00
JoneLau 4beeb0095b modify model batch and add rect mask (#3955)
* modify model batch

* add rect mask
2019-03-04 14:59:08 +08:00
Jone 409af121fb reorganize rendering components 2019-02-23 14:29:45 +08:00
Jone c9f090c999 fix label string length is zero 2019-02-21 14:26:39 +08:00
Jone d3c7ca21dc repair rendering unsynchronized bug 2019-02-18 17:45:36 +08:00
Jone d6fa9745e9 verification and repair
button,toggle, toggleGroup, slider, progressBar, layout,widget without editBox
2019-02-15 18:36:28 +08:00
Yun Hsiao Wu 7842ba562d upload texture mipmap & new material init procedure 2019-01-31 18:31:50 +08:00
Jone 2bd30d7ad9 repair ui batch bug 2019-01-31 02:37:01 +08:00
Jone 4428e9404e fix bugs of ui render 2019-01-31 01:06:15 +08:00
Jone 1b5b606e49 fix bug and u_sampler to mainTexture 2019-01-30 15:27:40 +08:00
Jone d1ade1d721 add UICanvas
fix current ui priority sort and walk mode conflicts
2019-01-25 16:35:58 +08:00
Jone 0094aeafea repaire tslint tips and add other ui component
add scroll-view, scroll-bar layout component
2019-01-24 18:05:40 +08:00
Jone 348756c5da fix component and fix some bug 2019-01-21 17:45:53 +08:00
Jone d0cbcc1ff2 commit all assembler
contains (simple, sliced, barFilled, radialFilled, tiled, ttf )
2019-01-18 16:24:04 +08:00
Jone c39a390590 commit ui 2019-01-17 15:29:10 +08:00
Weiliang Wang f513c3a121 Revert "first ui" 2019-01-17 14:26:16 +08:00
Jone e4240c4803 first ui 2019-01-17 13:49:03 +08:00