Skip to content

Conversation

@RobLoach
Copy link

@RobLoach RobLoach commented May 16, 2022

Cleaned it up a bit with...

  • Removed the position, as there are a few different Draw() method patterns. And the other classes don't use the position.
  • Added text_font_filters as an example which uses it
  • Made use of the GETTERSETTER utility for the properties
  • Updated with initializer lists
  • Made the properties public, as the other classes don't really restrict accessing them

Overall, I like having Text, and think we could add some of the other Text methods in here too.

@bensuperpc bensuperpc merged commit f295c16 into bensuperpc:add_text_class May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants