[chore] update comments

This commit is contained in:
Nomango 2020-10-20 12:59:14 +08:00
parent 787c083f0a
commit 502f3b2f3b
5 changed files with 35 additions and 0 deletions

View File

@ -27,6 +27,11 @@
#include <kiwano/2d/animation/CustomAnimation.h>
#include <kiwano/2d/animation/AnimationGroup.h>
/**
* \addtogroup Animation
* @{
*/
namespace kiwano
{
@ -309,3 +314,5 @@ inline AnimationWrapper Group(const Vector<AnimationPtr>& animations, bool paral
} // namespace animation
} // namespace kiwano
/** @} */

View File

@ -26,6 +26,11 @@ namespace kiwano
KGE_DECLARE_SMART_PTR(BoxTransition);
/**
* \addtogroup Transition
* @{
*/
/**
* \~chinese
* @brief
@ -49,4 +54,6 @@ protected:
virtual void Init(Stage* prev, Stage* next) override;
};
/** @} */
} // namespace kiwano

View File

@ -26,6 +26,11 @@ namespace kiwano
KGE_DECLARE_SMART_PTR(FadeTransition);
/**
* \addtogroup Transition
* @{
*/
/**
* \~chinese
* @brief
@ -53,4 +58,6 @@ private:
bool parallel_;
};
/** @} */
} // namespace kiwano

View File

@ -26,6 +26,11 @@ namespace kiwano
KGE_DECLARE_SMART_PTR(MoveTransition);
/**
* \addtogroup Transition
* @{
*/
/**
* \~chinese
* @brief
@ -69,4 +74,6 @@ private:
Point start_pos_;
};
/** @} */
} // namespace kiwano

View File

@ -26,6 +26,11 @@ namespace kiwano
KGE_DECLARE_SMART_PTR(RotationTransition);
/**
* \addtogroup Transition
* @{
*/
/**
* \~chinese
* @brief
@ -55,4 +60,6 @@ private:
float rotation_;
};
/** @} */
} // namespace kiwano