Skip to content

What's the intended way to draw dynamic text? #50

Answered by W2Wizard
MyNameIsTrez asked this question in Q&A
Discussion options

You must be logged in to vote

The first approach is the naive way of doing it.

The intented way here is for you to write your own character drawing implementation.
You would use mlx_put_string() to init the string image and then your own character drawing function update the string if necessary.

A fancy implementation would also approriately resize the string image.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MyNameIsTrez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Question Further information is requested
2 participants