Skip to content

Commit

Permalink
CCLabelBMFont extra kerning (#1088)
Browse files Browse the repository at this point in the history
* CCLabelBMFont m_nKetraKerning

* getExtraKerning and setExtraKerning
  • Loading branch information
hiimjustin000 authored Oct 13, 2024
1 parent c8aa2e3 commit 63e7908
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions loader/include/Geode/cocos/label_nodes/CCLabelBMFont.h
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,9 @@ class CC_DLL CCLabelBMFont : public CCSpriteBatchNode, public CCLabelProtocol, p
void limitLabelWidth(float width, float defaultScale, float minScale);

// @note RobTop Addition
int getExtraKerning() const;
inline int getExtraKerning() const { return m_nExtraKerning; }
// @note RobTop Addition
void setExtraKerning(int);
inline void setExtraKerning(int extraKerning) { m_nExtraKerning = extraKerning; }

// @note RobTop Addition
bool getIsBatched() const;
Expand Down Expand Up @@ -337,7 +337,7 @@ class CC_DLL CCLabelBMFont : public CCSpriteBatchNode, public CCLabelProtocol, p
// @note RobTop Addition
CCTexture2D* m_pSomeTexture;
// @note RobTop Addition
void* m_pUnknown; // 2.2 addition, might be positioned somewhere else
int m_nExtraKerning;

};

Expand Down

0 comments on commit 63e7908

Please sign in to comment.