Key Value Components such as Previous Segment, Sum of Best Segments, Possible Time Save and so on all share the same visual appearance and could therefore use the same state objects. At the moment they are mostly the duplicates with very minor differences that could easily be unified. This simplifies the consumption of the component states such as in our internal abstract renderer, LiveSplit One and other frontends such as DarkSplit and glod.
This also contributes to #228 as it needs some amount of unification anyway. In fact most of these changes already happened in a prototype branch for that issue, so they can be extracted out to solve this issue.
Key Value Components such as Previous Segment, Sum of Best Segments, Possible Time Save and so on all share the same visual appearance and could therefore use the same state objects. At the moment they are mostly the duplicates with very minor differences that could easily be unified. This simplifies the consumption of the component states such as in our internal abstract renderer, LiveSplit One and other frontends such as DarkSplit and glod.
This also contributes to #228 as it needs some amount of unification anyway. In fact most of these changes already happened in a prototype branch for that issue, so they can be extracted out to solve this issue.