CCLabelBMFont extra kerning (#1088)

* CCLabelBMFont m_nKetraKerning

* getExtraKerning and setExtraKerning
This commit is contained in:
Justin 2024-10-13 07:57:54 -04:00 committed by GitHub
parent c8aa2e30db
commit 63e7908413
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -274,9 +274,9 @@ public:
void limitLabelWidth(float width, float defaultScale, float minScale); void limitLabelWidth(float width, float defaultScale, float minScale);
// @note RobTop Addition // @note RobTop Addition
int getExtraKerning() const; inline int getExtraKerning() const { return m_nExtraKerning; }
// @note RobTop Addition // @note RobTop Addition
void setExtraKerning(int); inline void setExtraKerning(int extraKerning) { m_nExtraKerning = extraKerning; }
// @note RobTop Addition // @note RobTop Addition
bool getIsBatched() const; bool getIsBatched() const;
@ -337,7 +337,7 @@ protected:
// @note RobTop Addition // @note RobTop Addition
CCTexture2D* m_pSomeTexture; CCTexture2D* m_pSomeTexture;
// @note RobTop Addition // @note RobTop Addition
void* m_pUnknown; // 2.2 addition, might be positioned somewhere else int m_nExtraKerning;
}; };