mirror of https://github.com/axmolengine/axmol.git
add CC_DLL
This commit is contained in:
parent
4b059689d3
commit
63de5f6acc
|
@ -71,7 +71,7 @@ enum {
|
||||||
kNodeOnCleanup
|
kNodeOnCleanup
|
||||||
};
|
};
|
||||||
|
|
||||||
bool nodeComparisonLess(Node* n1, Node* n2);
|
bool CC_DLL nodeComparisonLess(Node* n1, Node* n2);
|
||||||
|
|
||||||
class EventListener;
|
class EventListener;
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ NS_CC_BEGIN
|
||||||
|
|
||||||
class GridBase;
|
class GridBase;
|
||||||
|
|
||||||
class NodeGrid : public Node
|
class CC_DLL NodeGrid : public Node
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static NodeGrid* create();
|
static NodeGrid* create();
|
||||||
|
|
|
@ -84,63 +84,63 @@ namespace tweenfunc {
|
||||||
|
|
||||||
|
|
||||||
//tween functions for CCActionEase
|
//tween functions for CCActionEase
|
||||||
float easeIn(float time, float rate);
|
float CC_DLL easeIn(float time, float rate);
|
||||||
float easeOut(float time, float rate);
|
float CC_DLL easeOut(float time, float rate);
|
||||||
float easeInOut(float time, float rate);
|
float CC_DLL easeInOut(float time, float rate);
|
||||||
|
|
||||||
float bezieratFunction( float a, float b, float c, float d, float t );
|
float CC_DLL bezieratFunction( float a, float b, float c, float d, float t );
|
||||||
|
|
||||||
float quadraticIn(float time);
|
float CC_DLL quadraticIn(float time);
|
||||||
float quadraticOut(float time);
|
float CC_DLL quadraticOut(float time);
|
||||||
float quadraticInOut(float time);
|
float CC_DLL quadraticInOut(float time);
|
||||||
|
|
||||||
|
|
||||||
float tweenTo(float time, TweenType type, float *easingParam);
|
float CC_DLL tweenTo(float time, TweenType type, float *easingParam);
|
||||||
|
|
||||||
float linear(float time);
|
float CC_DLL linear(float time);
|
||||||
|
|
||||||
|
|
||||||
float sineEaseIn(float time);
|
float CC_DLL sineEaseIn(float time);
|
||||||
float sineEaseOut(float time);
|
float CC_DLL sineEaseOut(float time);
|
||||||
float sineEaseInOut(float time);
|
float CC_DLL sineEaseInOut(float time);
|
||||||
|
|
||||||
float quadEaseIn(float time);
|
float CC_DLL quadEaseIn(float time);
|
||||||
float quadEaseOut(float time);
|
float CC_DLL quadEaseOut(float time);
|
||||||
float quadEaseInOut(float time);
|
float CC_DLL quadEaseInOut(float time);
|
||||||
|
|
||||||
float cubicEaseIn(float time);
|
float CC_DLL cubicEaseIn(float time);
|
||||||
float cubicEaseOut(float time);
|
float CC_DLL cubicEaseOut(float time);
|
||||||
float cubicEaseInOut(float time);
|
float CC_DLL cubicEaseInOut(float time);
|
||||||
|
|
||||||
float quartEaseIn(float time);
|
float CC_DLL quartEaseIn(float time);
|
||||||
float quartEaseOut(float time);
|
float CC_DLL quartEaseOut(float time);
|
||||||
float quartEaseInOut(float time);
|
float CC_DLL quartEaseInOut(float time);
|
||||||
|
|
||||||
float quintEaseIn(float time);
|
float CC_DLL quintEaseIn(float time);
|
||||||
float quintEaseOut(float time);
|
float CC_DLL quintEaseOut(float time);
|
||||||
float quintEaseInOut(float time);
|
float CC_DLL quintEaseInOut(float time);
|
||||||
|
|
||||||
float expoEaseIn(float time);
|
float CC_DLL expoEaseIn(float time);
|
||||||
float expoEaseOut(float time);
|
float CC_DLL expoEaseOut(float time);
|
||||||
float expoEaseInOut(float time);
|
float CC_DLL expoEaseInOut(float time);
|
||||||
|
|
||||||
float circEaseIn(float time);
|
float CC_DLL circEaseIn(float time);
|
||||||
float circEaseOut(float time);
|
float CC_DLL circEaseOut(float time);
|
||||||
float circEaseInOut(float time);
|
float CC_DLL circEaseInOut(float time);
|
||||||
|
|
||||||
float elasticEaseIn(float time, float period);
|
float CC_DLL elasticEaseIn(float time, float period);
|
||||||
float elasticEaseOut(float time, float period);
|
float CC_DLL elasticEaseOut(float time, float period);
|
||||||
float elasticEaseInOut(float time, float period);
|
float CC_DLL elasticEaseInOut(float time, float period);
|
||||||
|
|
||||||
float backEaseIn(float time);
|
float CC_DLL backEaseIn(float time);
|
||||||
float backEaseOut(float time);
|
float CC_DLL backEaseOut(float time);
|
||||||
float backEaseInOut(float time);
|
float CC_DLL backEaseInOut(float time);
|
||||||
|
|
||||||
float bounceEaseIn(float time);
|
float CC_DLL bounceEaseIn(float time);
|
||||||
float bounceEaseOut(float time);
|
float CC_DLL bounceEaseOut(float time);
|
||||||
float bounceEaseInOut(float time);
|
float CC_DLL bounceEaseInOut(float time);
|
||||||
|
|
||||||
float customEase(float time, float *easingParam);
|
float CC_DLL customEase(float time, float *easingParam);
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_CC_END
|
NS_CC_END
|
||||||
|
|
|
@ -35,7 +35,7 @@ namespace ui {
|
||||||
class Widget;
|
class Widget;
|
||||||
}
|
}
|
||||||
|
|
||||||
class EventFocus : public Event
|
class CC_DLL EventFocus : public Event
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
EventFocus(ui::Widget* widgetLoseFocus, ui::Widget* widgetGetFocus);
|
EventFocus(ui::Widget* widgetLoseFocus, ui::Widget* widgetGetFocus);
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
|
|
||||||
class EventKeyboard : public Event
|
class CC_DLL EventKeyboard : public Event
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -35,7 +35,7 @@ namespace ui {
|
||||||
class Widget;
|
class Widget;
|
||||||
}
|
}
|
||||||
|
|
||||||
class EventListenerFocus : public EventListener
|
class CC_DLL EventListenerFocus : public EventListener
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static const std::string LISTENER_ID;
|
static const std::string LISTENER_ID;
|
||||||
|
|
|
@ -33,7 +33,7 @@ NS_CC_BEGIN
|
||||||
|
|
||||||
class Event;
|
class Event;
|
||||||
|
|
||||||
class EventListenerKeyboard : public EventListener
|
class CC_DLL EventListenerKeyboard : public EventListener
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static const std::string LISTENER_ID;
|
static const std::string LISTENER_ID;
|
||||||
|
|
|
@ -33,7 +33,7 @@ NS_CC_BEGIN
|
||||||
|
|
||||||
class Event;
|
class Event;
|
||||||
|
|
||||||
class EventListenerMouse : public EventListener
|
class CC_DLL EventListenerMouse : public EventListener
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static const std::string LISTENER_ID;
|
static const std::string LISTENER_ID;
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
|
|
||||||
class EventMouse : public Event
|
class CC_DLL EventMouse : public Event
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -33,7 +33,7 @@ NS_CC_BEGIN
|
||||||
|
|
||||||
#define TOUCH_PERF_DEBUG 1
|
#define TOUCH_PERF_DEBUG 1
|
||||||
|
|
||||||
class EventTouch : public Event
|
class CC_DLL EventTouch : public Event
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static const int MAX_TOUCHES = 5;
|
static const int MAX_TOUCHES = 5;
|
||||||
|
|
|
@ -30,7 +30,7 @@ THE SOFTWARE.
|
||||||
#include "math/CCGeometry.h"
|
#include "math/CCGeometry.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
extern const std::string STD_STRING_EMPTY;
|
extern const std::string CC_DLL STD_STRING_EMPTY;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @addtogroup input
|
* @addtogroup input
|
||||||
|
|
|
@ -497,8 +497,8 @@ public:
|
||||||
Acceleration(): x(0), y(0), z(0), timestamp(0) {}
|
Acceleration(): x(0), y(0), z(0), timestamp(0) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const std::string STD_STRING_EMPTY;
|
extern const std::string CC_DLL STD_STRING_EMPTY;
|
||||||
extern const ssize_t CC_INVALID_INDEX;
|
extern const ssize_t CC_DLL CC_INVALID_INDEX;
|
||||||
|
|
||||||
NS_CC_END
|
NS_CC_END
|
||||||
|
|
||||||
|
|
|
@ -215,7 +215,7 @@ std::string toString(T arg)
|
||||||
return ss.str();
|
return ss.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string format(const char* format, ...) CC_FORMAT_PRINTF(1, 2);
|
std::string CC_DLL format(const char* format, ...) CC_FORMAT_PRINTF(1, 2);
|
||||||
|
|
||||||
} // namespace StringUtils {
|
} // namespace StringUtils {
|
||||||
|
|
||||||
|
|
|
@ -226,7 +226,7 @@ protected:
|
||||||
|
|
||||||
friend class PhysicsWorld;
|
friend class PhysicsWorld;
|
||||||
};
|
};
|
||||||
extern const float PHYSICS_INFINITY;
|
extern const float CC_DLL PHYSICS_INFINITY;
|
||||||
|
|
||||||
NS_CC_END
|
NS_CC_END
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue