hecrj / coffee

An opinionated 2D game engine for Rust
https://docs.rs/coffee
MIT License
1.09k stars 55 forks source link

Implement a `ProgressBar` widget #45

Closed hecrj closed 5 years ago

hecrj commented 5 years ago

A ProgressBar widget should be easy to implement. It must fill the parent width by default. The implementation of the current widgets could be used as a guide.

ProgressBar::new(percentage);

For consistency, we should probably choose sprites from Kenney UI packs.