axmol/cocos/ui
Vladimir Perminov 4c33050536 Optimize Vec2
small function Vec2 move to Vec2.inl
Added:
setZero();

Change all code:
_vec2 = Vec2(x, y); -> _vec2.set(x, y);
Vec2 vec2 = Vec2(x, y); -> Vec2 vec2(x, y);
_vec2 += Vec2(x, y); -> _vec2.add(x, y);
_vec2 = Vec2::ZERO; -> _vec2.setZero();
Vec2 vec2(Vec2::ZERO); -> Vec2 vec2;
2015-04-19 20:40:52 +03:00
..
UIEditBox fixed typo 2015-04-15 09:19:17 -07:00
proj.win32 remove Win32InputBox.cpp/.h, move them to UIEditBoxImpl-win32.cpp 2014-09-24 17:47:38 +08:00
shaders modify widget default behavior 2014-12-23 15:03:31 +08:00
Android.mk modify widget default behavior 2014-12-23 15:03:31 +08:00
CMakeLists.txt modify widget default behavior 2014-12-23 15:03:31 +08:00
CocosGUI.cpp let ios project compile correct 2014-03-11 18:48:26 +08:00
CocosGUI.h fix group error 2015-03-26 15:47:14 +08:00
GUIDefine.h ignore GUIDefine.h 2015-03-25 18:24:35 +08:00
GUIExport.h added check for WinRT and WP8 2014-10-14 14:22:19 -07:00
UIButton.cpp fix side effect of ui::button clone 2015-04-16 14:38:00 +08:00
UIButton.h fix edge case crash 2015-04-14 15:34:15 +08:00
UICheckBox.cpp modify widget default behavior 2014-12-23 15:03:31 +08:00
UICheckBox.h Update comment for Lua 2015-03-30 15:47:47 +08:00
UIDeprecated.cpp add MarginZero as an external variable 2014-06-27 15:56:29 +08:00
UIDeprecated.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
UIHBox.cpp Adds `std::nothrow` to `new` 2014-08-27 16:31:57 -07:00
UIHBox.h [ci skip] Add javascript notes... 2015-03-30 21:38:32 +08:00
UIHelper.cpp update for lay out 2014-12-22 11:20:03 +08:00
UIHelper.h [ci skip] Add javascript notes... 2015-03-30 21:38:32 +08:00
UIImageView.cpp update for ui object scale9 state refresh 2015-01-20 17:24:04 +08:00
UIImageView.h [ci skip] Add javascript notes... 2015-03-30 21:38:32 +08:00
UILayout.cpp Optimize Vec2 2015-04-19 20:40:52 +03:00
UILayout.h [ci skip] Add javascript notes... 2015-03-30 21:38:32 +08:00
UILayoutComponent.cpp update for lay out component 2015-01-19 17:11:04 +08:00
UILayoutComponent.h Update comment for Lua 2015-03-30 15:47:47 +08:00
UILayoutManager.cpp Merge pull request #7900 from minggo/setposition-optimize 2014-08-28 14:31:54 +08:00
UILayoutManager.h remove unneeded js & lua NA and remove deprecated list from navtree 2015-03-27 11:02:04 +08:00
UILayoutParameter.cpp Adds `std::nothrow` to `new` 2014-08-27 16:31:57 -07:00
UILayoutParameter.h Update comment for Lua 2015-03-30 15:47:47 +08:00
UIListView.cpp Fix ListView::setDirection issue 2015-02-25 16:17:43 +08:00
UIListView.h Update comment for Lua 2015-03-30 15:47:47 +08:00
UILoadingBar.cpp improve loading Bar Test 2015-01-26 14:39:44 +08:00
UILoadingBar.h Update comment for Lua 2015-03-30 15:47:47 +08:00
UIPageView.cpp refactor Button restrict capInsetSize logic and cleanup ui coding style 2014-12-16 16:44:04 +08:00
UIPageView.h Update comment for Lua 2015-03-30 15:47:47 +08:00
UIRelativeBox.cpp Adds `std::nothrow` to `new` 2014-08-27 16:31:57 -07:00
UIRelativeBox.h Update comment for Lua 2015-03-30 15:47:47 +08:00
UIRichText.cpp change return const value to value 2014-09-12 14:39:22 +08:00
UIRichText.h Update comment for Lua 2015-03-30 15:47:47 +08:00
UIScale9Sprite.cpp blending function for Scale9Sprite 2015-03-05 11:13:51 +03:00
UIScale9Sprite.h Update comment for Lua 2015-03-30 15:47:47 +08:00
UIScrollView.cpp Optimize Vec2 2015-04-19 20:40:52 +03:00
UIScrollView.h make scrollview time arguments more meaningful 2015-04-15 16:37:11 +08:00
UISlider.cpp fix slider scale9 render 2015-01-22 15:53:33 +08:00
UISlider.h Update comment for Lua 2015-03-30 15:47:47 +08:00
UIText.cpp fix ui::Text outline don't change content size 2015-04-10 15:33:48 +08:00
UIText.h fix ui::Text outline don't change content size 2015-04-10 15:33:48 +08:00
UITextAtlas.cpp Additional unnecessary set dirty of ui widgets 2014-11-25 20:42:03 +09:00
UITextAtlas.h [ci skip] Add javascript notes... 2015-03-30 21:38:32 +08:00
UITextBMFont.cpp update uiTextBMFont setString 2015-01-20 14:20:20 +08:00
UITextBMFont.h [ci skip] Add javascript notes... 2015-03-30 21:38:32 +08:00
UITextField.cpp fixed issue #10183 2015-01-26 18:26:59 +08:00
UITextField.h [ci skip] Add javascript notes... 2015-03-30 21:38:32 +08:00
UIVBox.cpp Adds `std::nothrow` to `new` 2014-08-27 16:31:57 -07:00
UIVBox.h [ci skip] Add javascript notes... 2015-03-30 21:38:32 +08:00
UIVideoPlayer-android.cpp Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_drawnode_prbk 2014-09-11 16:41:54 +08:00
UIVideoPlayer-ios.mm Fix crash when play streamed MP4 file. 2015-04-16 16:27:09 +08:00
UIVideoPlayer.h [ci skip] Add javascript notes... 2015-03-30 21:38:32 +08:00
UIWebView-inl.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
UIWebView.cpp remove UIWebView.cpp in win32 2014-10-16 16:46:49 +08:00
UIWebView.h uiWebView constructor add CC_CONSTRUCTOR_ACCESS 2015-04-15 17:54:09 +08:00
UIWebView.mm Moved base/CCPlatform* -> platform/CCPlatform* 2014-09-09 17:17:07 -07:00
UIWebViewImpl-android.cpp Fixed sets the page's base URL for WebView doesn't work. 2015-01-23 18:30:12 +08:00
UIWebViewImpl-android.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
UIWebViewImpl-ios.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
UIWebViewImpl-ios.mm Spaces instead of tabs 2015-03-16 17:22:17 +01:00
UIWidget.cpp Optimize Vec2 2015-04-19 20:40:52 +03:00
UIWidget.h [ci skip] Add javascript notes... 2015-03-30 21:38:32 +08:00