2012-04-19 14:35:52 +08:00
|
|
|
#ifndef __CCSPACER_H__
|
|
|
|
#define __CCSPACER_H__
|
|
|
|
|
2012-06-19 13:50:11 +08:00
|
|
|
#include "layers_scenes_transitions_nodes/CCLayer.h"
|
2012-07-20 14:05:52 +08:00
|
|
|
#include "ExtensionMacros.h"
|
2012-04-19 14:35:52 +08:00
|
|
|
|
2012-04-27 18:47:49 +08:00
|
|
|
NS_CC_EXT_BEGIN
|
2012-04-19 14:35:52 +08:00
|
|
|
|
2012-06-20 18:09:11 +08:00
|
|
|
/**
|
|
|
|
* @addtogroup GUI
|
|
|
|
* @{
|
|
|
|
* @addtogroup control_extension
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2012-07-20 14:05:52 +08:00
|
|
|
class CCSpacer: public CCLayer
|
2012-04-19 14:35:52 +08:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
static CCSpacer* verticalSpacer(float space);
|
|
|
|
static CCSpacer* horizontalSpacer(float space);
|
|
|
|
};
|
|
|
|
|
2012-06-20 18:09:11 +08:00
|
|
|
// end of GUI group
|
|
|
|
/// @}
|
|
|
|
/// @}
|
|
|
|
|
2012-04-27 18:47:49 +08:00
|
|
|
NS_CC_EXT_END
|
2012-04-19 14:35:52 +08:00
|
|
|
|
2012-04-16 18:58:43 +08:00
|
|
|
#endif
|