View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000286||GZDoom (All)||[All Projects] Feature||public||2017-02-17 07:13||2017-02-17 07:48|
|Priority||normal||Severity||feature||Reproducibility||have not tried|
Say for example I have a string myString containing the word "choir".
myString.GetCharPosition(1) would return the x/y screen coordinates of the 'h' in choir.
myString.GetCharPosition(2) returns 'o', etc.
Useful if you want to draw a different color over that particular letter to indicate the menu shortcut key, for example, so users can push it and go straight to it.
|Tags||No tags attached.|
This would pretty much cut us off from future improvements of the font system, like TrueType support, so I have to ask you to do it inside the system with formatting characters that can be safely transitioned to different types of fonts. Even now you can run into the trap of incorrectly overlapping text.