Right justify a wide char string

Started by
0 comments, last by Evil Steve 13 years, 6 months ago
Hi!
I've to display a wide char string as right justified. How to do this?
Advertisement
When you draw it, tell the text drawing function to right justify it. Or, if your text drawing function doesn't handle text alignment, get the width of the string, and draw it at x=display_area_width - string_length_in_pixels.

This topic is closed to new replies.

Advertisement