mirror of https://github.com/axmolengine/axmol.git
Merge pull request #6862 from favorcode/v3
Update UILoadingBar.h doxygen comments
This commit is contained in:
commit
9d2c765fc0
|
@ -57,7 +57,7 @@ public:
|
|||
void setName(const char* name);
|
||||
|
||||
/**
|
||||
* Sets name for object
|
||||
* Gets name of object
|
||||
*
|
||||
* @return name of object
|
||||
*/
|
||||
|
@ -87,7 +87,7 @@ public:
|
|||
/**
|
||||
* Gets the time interval of frame.
|
||||
*
|
||||
* @return fTime the time interval of frame
|
||||
* @return the time interval of frame
|
||||
*/
|
||||
float getUnitTime();
|
||||
|
||||
|
@ -101,14 +101,14 @@ public:
|
|||
/**
|
||||
* Gets the current time of frame.
|
||||
*
|
||||
* @return fTime the current time of frame
|
||||
* @return the current time of frame
|
||||
*/
|
||||
float getCurrentTime();
|
||||
|
||||
/**
|
||||
* Gets the total time of frame.
|
||||
*
|
||||
* @return fTime the current time of frame
|
||||
* @return the total time of frame
|
||||
*/
|
||||
float getTotalTime();
|
||||
|
||||
|
@ -127,7 +127,7 @@ public:
|
|||
/**
|
||||
* Play the action.
|
||||
*
|
||||
* @ Action Call Back
|
||||
* @param func Action Call Back
|
||||
*/
|
||||
void play(cocos2d::CallFunc* func);
|
||||
|
||||
|
@ -144,14 +144,14 @@ public:
|
|||
/**
|
||||
* Adds a ActionNode to play the action.
|
||||
*
|
||||
* @node the ActionNode which will play the action
|
||||
* @param node the ActionNode which will play the action
|
||||
*/
|
||||
void addActionNode(ActionNode* node);
|
||||
|
||||
/**
|
||||
* Removes a ActionNode which play the action.
|
||||
*
|
||||
* @node the ActionNode which play the action
|
||||
* @param node the ActionNode which play the action
|
||||
*/
|
||||
void removeActionNode(ActionNode* node);
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ public:
|
|||
*
|
||||
* @see Direction LEFT means progress left to right, RIGHT otherwise.
|
||||
*
|
||||
* @param Direction
|
||||
* @param direction Direction
|
||||
*/
|
||||
void setDirection(Direction direction);
|
||||
|
||||
|
@ -87,7 +87,7 @@ public:
|
|||
/**
|
||||
* Load texture for loadingbar.
|
||||
*
|
||||
* @param fileName file name of texture.
|
||||
* @param texture file name of texture.
|
||||
*
|
||||
* @param texType @see UI_TEX_TYPE_LOCAL
|
||||
*/
|
||||
|
@ -103,14 +103,14 @@ public:
|
|||
/**
|
||||
* Gets the progress direction of loadingbar.
|
||||
*
|
||||
* @return percent percent value from 1 to 100.
|
||||
* @return percent value from 1 to 100.
|
||||
*/
|
||||
float getPercent() const;
|
||||
|
||||
/**
|
||||
* Sets if loadingbar is using scale9 renderer.
|
||||
*
|
||||
* @param true that using scale9 renderer, false otherwise.
|
||||
* @param enabled true that using scale9 renderer, false otherwise.
|
||||
*/
|
||||
void setScale9Enabled(bool enabled);
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ public:
|
|||
void addPage(Layout* page);
|
||||
|
||||
/**
|
||||
* Inert a page to pageview.
|
||||
* Insert a page to pageview.
|
||||
*
|
||||
* @param page page to be added to pageview.
|
||||
*/
|
||||
|
@ -152,7 +152,7 @@ public:
|
|||
*
|
||||
* @see LayoutType
|
||||
*
|
||||
* @param LayoutType
|
||||
* @param type LayoutType
|
||||
*/
|
||||
virtual void setLayoutType(Type type) override{};
|
||||
|
||||
|
|
Loading…
Reference in New Issue