Implement Widget::draw for ProgressBar

This commit is contained in:
Héctor Ramón Jiménez 2021-10-28 17:36:36 +07:00
parent bc32199e39
commit e42e1e2f57
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
5 changed files with 63 additions and 82 deletions

View file

@ -68,12 +68,6 @@ impl renderer::Text for Null {
fn fill_text(&mut self, _text: renderer::text::Section<'_, Self::Font>) {}
}
impl progress_bar::Renderer for Null {
type Style = ();
const DEFAULT_HEIGHT: u16 = 30;
}
impl toggler::Renderer for Null {
type Style = ();