Implement Widget::draw for Checkbox

This commit is contained in:
Héctor Ramón Jiménez 2021-10-21 19:06:22 +07:00
parent 7c08c6bd13
commit 1397be38ca
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 75 additions and 19 deletions

View file

@ -35,6 +35,10 @@ impl Renderer for Null {
impl renderer::Text for Null {
type Font = Font;
const ICON_FONT: Font = Font::Default;
const CHECKMARK_ICON: char = '0';
const ARROW_DOWN_ICON: char = '0';
fn default_size(&self) -> u16 {
20
}