View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000286 | Gameplay + OpenGL | [All Projects] Feature | public | 2017-02-17 07:13 | 2017-02-17 07:48 |
Reporter | Major Cooke | ||||
Assigned To | |||||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | resolved | Resolution | won't fix | ||
Summary | 0000286: 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. | ||||
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. |
|
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 |