Font-drawing functions to accept multiple strings?
Offen
enhancement
question
- Vorherrschende Sprache
- C
- Sterne
- 223
- Forks
- 38
- Ø Merge
- 1 T. 5 Std.
- Gemergte PRs (30 T.)
- 6
Beschreibung
So in openFire I'm implementing chat and there i have to draw something like: `"%s: %s"` consisting of nick and message. So it would be cool to be able to pass multiple strings to font draw fn so that I could avoid copying to same buffer:
`fontDrawMultiStr(stuffForFont, stuffForBfr, n, ...)`
It could be used in my case as:
`fontDrawMultiStr(yadda, yadda, 3, szNick, ": ", szMsg)`
I guess cpp streams would do the job here. ;) Still, dunno how many times this fn would be useful in other projects.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.