axmol/tests/cpp-tests/Classes/UITest/CocoStudioGUITest
Ricardo Quesada 323ea7c0d4 Sprite scale9 (#16702)
* Adds slice9 support for Sprite.

how to use it:

// points coords
sprite->setCenterRect(Rect(x,y,w,h));

// normalized coords
sprite->setCenterRectNormalized(Rect(x,y,w,h));
starts scale9sprite in sprite

more slice 9 changes

sprite 9 slice works?

kind of works

correct anchor point

slice 9 works, at least with non-rotated atlases

streched works ok

better Y invert code.

cleaner, compatible with the previous code

yay, scaling workings...

need a better api now

sets scale correctly

yay! works as expected!

more fixes and tests

better test for box

setContentSize() changes size in non-9-slice mode sprites as well

setCenterRect() -> setCenterRectNormalized()

yet another test

adds setPositionNormalized()

adds setCenterRect() tests

remove devel team from xcode

tests: add one more tests

fun test!

improved test

yet another test for slice 9

* fixes anchorPoint issues

* adds documentation

* fix: using top-left coordinate for setRect

* sprite: fixes related to scale9 and tiled

* Sprite: slice 9 fixes

works Ok with rotated frames
uses `setCapInsets` instead of `setCenterRect` to be more familiar
with `UIScale9Sprite`

* fixes js and lua bindings for Autopolygon
2016-10-26 18:45:40 -07:00
..
UIButtonTest Sprite scale9 (#16702) 2016-10-26 18:45:40 -07:00
UICheckBoxTest Remove redundant semicolons (#16558) 2016-09-12 09:45:34 +08:00
UIFocusTest Remove default focus item from "Node:UI-->1:GUI Dynamic Create Test-->4:Focus Test" 2015-12-09 11:12:42 +08:00
UIImageViewTest remove studio related test cases and resources (#15574) 2016-05-06 13:38:19 +08:00
UILayoutTest remove studio related test cases and resources (#15574) 2016-05-06 13:38:19 +08:00
UIListViewTest remove studio related test cases and resources (#15574) 2016-05-06 13:38:19 +08:00
UILoadingBarTest remove studio related test cases and resources (#15574) 2016-05-06 13:38:19 +08:00
UIPageViewTest Sprite scale9 (#16702) 2016-10-26 18:45:40 -07:00
UIRadioButtonTest Remove redundant semicolons (#16558) 2016-09-12 09:45:34 +08:00
UIRichTextTest defaults and append tag support 2016-04-21 10:03:57 +09:00
UIScrollViewTest Remove redundant semicolons (#16558) 2016-09-12 09:45:34 +08:00
UISliderTest remove studio related test cases and resources (#15574) 2016-05-06 13:38:19 +08:00
UITabControlTest Squashed commit of the following: 2016-03-03 14:17:48 +08:00
UITextAtlasTest Refactoring ui related code and fix label atlas and BMFont rendering issue with ETC1 texture format (#16615) 2016-09-30 09:42:21 +08:00
UITextBMFontTest remove studio related test cases and resources (#15574) 2016-05-06 13:38:19 +08:00
UITextFieldTest remove studio related test cases and resources (#15574) 2016-05-06 13:38:19 +08:00
UITextTest fix: Text::create() does not crash on mac/ios 2016-07-08 16:59:44 -07:00
UIVideoPlayerTest Fix crash when play streamed MP4 file. 2015-04-16 16:27:09 +08:00
UIWebViewTest Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
UIWidgetAddNodeTest remove studio related test cases and resources (#15574) 2016-05-06 13:38:19 +08:00
CocosGUIScene.cpp fix tizen videoplayer issue 2016-05-06 18:43:26 +08:00
CocosGUIScene.h Make all test cases work fine with new test framework. 2015-04-03 14:31:03 +08:00
UIEditBoxTest.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
UIEditBoxTest.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
UIScale9SpriteTest.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
UIScale9SpriteTest.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
UIScene.cpp fix tons of warnings 2015-07-15 12:04:48 +08:00
UIScene.h tests compiles on xcode 6.3 2015-04-08 17:37:30 -07:00
UISceneManager.cpp Make all test cases work fine with new test framework. 2015-04-03 14:31:03 +08:00
UISceneManager.h Make all test cases work fine with new test framework. 2015-04-03 14:31:03 +08:00