SecondHalfGames / yakui

yakui is a declarative Rust UI library for games
Apache License 2.0
222 stars 18 forks source link

Substring support for text objects #103

Open LPGhatguy opened 10 months ago

LPGhatguy commented 10 months ago

When revealing text over time, like in a game's dialog system, you want to lay out all of the text but only draw some of it. To accomplish that, we should add a property to all the text widgets to let them render a substring of the input text.