Merge pull request #15205 from mogemimi/fix-mojibake-and-typo

Fix typos in the documentation
This commit is contained in:
zilongshanren 2016-03-11 22:33:31 +08:00
commit 1409adc07a
1 changed files with 5 additions and 5 deletions

View File

@ -270,7 +270,7 @@ namespace ui {
int indexOfTabHeader(const TabHeader* tabCell) const; int indexOfTabHeader(const TabHeader* tabCell) const;
/** /**
* Add a callback function which would be called when selcted tab changed * Add a callback function which would be called when selected tab changed
*@param callback A std::function with type @see `ccTabControlCallback` *@param callback A std::function with type @see `ccTabControlCallback`
*/ */
void setTabChangedEventListener(const ccTabControlCallback& callBack); void setTabChangedEventListener(const ccTabControlCallback& callBack);
@ -304,14 +304,14 @@ namespace ui {
int getHeaderHeight() const { return _headerHeight; } int getHeaderHeight() const { return _headerHeight; }
/** /**
* ignore the textures' size in header, scale them with _headerWidth and _headerHieght * ignore the textures' size in header, scale them with _headerWidth and _headerHeight
* @param ignore is `true`, the header's texture scale with _headerWidth and _headerHieght * @param ignore is `true`, the header's texture scale with _headerWidth and _headerHeight
* ignore is `false`£¬ use the texture's size£¬ do not scale them * ignore is `false`, use the texture's size, do not scale them
*/ */
void ignoreHeadersTextureSize(bool ignore); void ignoreHeadersTextureSize(bool ignore);
/** /**
* get whether ignore the textures' size in header, scale them with _headerWidth and _headerHieght * get whether ignore the textures' size in header, scale them with _headerWidth and _headerHeight
* @return whether ignore the textures' size in header * @return whether ignore the textures' size in header
*/ */
bool isIgnoreHeadersTextureSize() const { return _ignoreHeaderTextureSize; }; bool isIgnoreHeadersTextureSize() const { return _ignoreHeaderTextureSize; };