csy1988525
68c2219d33
Update CCControlButton.cpp
...
fixed a bug that users can't set a button highlighted in the upper logic. also modify some coding format.
2013-03-05 16:26:37 +08:00
minggo
63e4091bfa
fixed #1686:finish updating
2013-02-28 11:55:36 +08:00
folecr
b204e97ad2
Simpler, correct handling of spritesheet sources
...
* bounds of insets are calculated relative to sprite
* transformations are then applied to get the texture coordinates
* handle sprites stored rotated in a spritesheet correctly
2013-02-11 13:26:40 -08:00
xyhl515
3316f8c961
Update extensions/GUI/CCControlExtension/CCControlSwitch.cpp
...
implement setOn(isOn,false)
2013-01-31 22:12:37 +08:00
folecr
dcda7ad240
Use instances only if valid
2013-01-24 15:43:59 -08:00
folecr
3f41b361d3
CCScale9Sprite : handles default modes correctly. Bugs when the source is a sprite that is stored rotated in a spritesheet.
2013-01-23 16:42:14 -08:00
Marcel Bloemendaal
696ea07495
Fixed CCScale9Sprite::create(caInsets, file);
...
Fixed calling of wrong initializer in CCScale9Sprite, the create(CCRect
capInsets, const char* file). It used to call initWithFile(file,
capInsets), but this is the initializer for a file and a frame rect.
The initializer with capInsets has the capInsets rect as the first
argument. This caused unexpected behaviour.
2013-01-21 14:55:45 +01:00
James Chen
571d86d51d
fixed #1553 : fixed a memory leak in CCControlButton.
2013-01-21 10:16:07 +08:00
James Chen
6733f786a5
fixed #1649 : Reverted some invokings of function that returns const reference.
2013-01-14 16:06:18 +08:00
James Chen
6565fa92cc
fixed #1649 : Changed return type to const reference for member variable access.
2013-01-14 15:51:53 +08:00
minggo
a75f8b7e7a
fixed #1593:remove all deprecated methods expect CCBAnimationManager
2012-12-06 18:51:33 +08:00
James Chen
ebd522e3fa
issue #1564 : Return a new object instead of 'const reference' for some get methods.
2012-11-20 16:34:55 +08:00
minggo
b497143f93
issue #1555:menu can receive touch event now
2012-11-16 14:51:48 +08:00
minggo
cb2bc37513
issue #1555 : make tests work
2012-11-15 18:34:23 +08:00
minggo
4efdbca23b
fixed #1545:remove the usage of CREATE_FUNC
2012-11-08 10:41:14 +08:00
James Chen
1a512488fa
fixed #1538 : Logic error in CCControlHuePicker::checkSliderPosition.
...
The distance between current location and center should compare with radius rather than dimension.
2012-10-31 14:32:24 +08:00
Ed Bartley
f424da2a7e
* CCControl* should not respond to touches if the control is not visible.
2012-10-30 11:10:05 -04:00
James Chen
0e76827b7e
issue #1486 : Commenting one line to avoid something like mosaic in 'CCControlExtensionTest', especially the display of 'huePickerBackground.png' when in 800*480 window size with 480*320 design resolution and hd(960*640) resources.
2012-10-14 22:03:23 +08:00
James Chen
d91d7c8317
issue #1483 : Added LICENSE_CCControlExtension.txt, and added license information for headers of CCControlExtension.
2012-09-25 17:26:09 +08:00
James Chen
83fe21b4f4
issue #1483 : Removed a comment.
2012-09-25 17:03:29 +08:00
James Chen
f7229f74d8
issue #1483 : Synchronizing CCControlExtension to latest version.
2012-09-25 16:57:51 +08:00
James Chen
a413496a1a
Delete 'cocos2d::' since extension is the sub-namespace of cocos2d.
2012-09-24 11:08:10 +08:00
ThePickleMan
0a96915da2
Update extensions/GUI/CCControlExtension/CCControlSlider.cpp
...
Removed meaningless setter...the macro already makes one...
2012-09-04 20:54:34 -05:00
ThePickleMan
423abc6f10
Update extensions/GUI/CCControlExtension/CCControlSlider.h
...
Removed meaningless setter...the macro already makes one...
2012-09-04 20:54:17 -05:00
ThePickleMan
f6f370ffea
Update extensions/GUI/CCControlExtension/CCControlSlider.h
...
changed CC_SYNTHESIZE_READONLY to CC_SYNTHESIZE
2012-09-04 20:48:04 -05:00
ThePickleMan
a4d2d317b5
Update extensions/GUI/CCControlExtension/CCControlSlider.cpp
2012-09-03 09:46:55 -05:00
ThePickleMan
da819e1109
Update extensions/GUI/CCControlExtension/CCControlSlider.cpp
...
Added default values for max/min allowed values
2012-09-02 16:31:12 -05:00
ThePickleMan
e07320f6a8
Update extensions/GUI/CCControlExtension/CCControlSlider.cpp
...
Added minimum/maximum allowed values
2012-09-02 16:10:25 -05:00
ThePickleMan
82ea6fbb99
Update extensions/GUI/CCControlExtension/CCControlSlider.h
...
Added fields and methods for setting the maximum allowed value.
2012-09-02 16:08:13 -05:00
fish
847ccaff7d
CCRGBAProtocol must be public in order for actions like CCTintTo to have an affect on the CCScale9Sprite.
2012-08-30 10:39:36 -04:00
minggo
0e81fd0568
fixed #1442 : use CREATE_FUNC instead of SCENE_CREATE_FUNC and NODE_CREATE_FUNC
2012-08-27 16:11:07 +08:00
James Chen
d3338a70e5
issue #1429 : Updated EditBoxTest and fix a bug about callback function.
2012-08-17 14:29:07 +08:00
Walzer
cc3d850892
fixed #1416 , add object orientated APIs for CCGeometry, replace "CCFloat" with "float"
2012-08-01 15:30:12 +08:00
Walzer
0431cb455b
fixed #1413 , add CCTouch::getLocation(), getDelta() method
...
return OpenGL coordinates directly, to make the usage more convenient.
2012-07-31 17:41:53 +08:00
Walzer
b8fa32dbc0
use extensions/GUI instead of extensions/UI
2012-07-30 22:57:59 +08:00