View Issue Details

IDProjectCategoryView StatusLast Update
0000286GZDoom (All)[All Projects] Featurepublic2017-02-17 07:48
ReporterMajor Cooke 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status resolvedResolutionwon't fix 
Summary0000286: GetCharPosition
Description(String).GetCharPosition(int pos)

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.
TagsNo tags attached.

Relationships

Activities

Graf Zahl

Graf Zahl

2017-02-17 07:48

administrator   ~0000636

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.

Issue History

Date Modified Username Field Change
2017-02-17 07:13 Major Cooke New Issue
2017-02-17 07:48 Graf Zahl Status new => resolved
2017-02-17 07:48 Graf Zahl Resolution open => won't fix
2017-02-17 07:48 Graf Zahl Note Added: 0000636