summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-21 19:06:22 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-21 19:06:22 +0700
commit1397be38ca2caaf5c49ca51e164a28b63f9e461b (patch)
treef713eeb412cc05ee2f61275f8fcbfcef7608749d /graphics
parent7c08c6bd138207b862933ee479752a4f1d18c4f2 (diff)
downloadiced-1397be38ca2caaf5c49ca51e164a28b63f9e461b.tar.gz
iced-1397be38ca2caaf5c49ca51e164a28b63f9e461b.tar.bz2
iced-1397be38ca2caaf5c49ca51e164a28b63f9e461b.zip
Implement `Widget::draw` for `Checkbox`
Diffstat (limited to 'graphics')
-rw-r--r--graphics/src/renderer.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/src/renderer.rs b/graphics/src/renderer.rs
index f8c67047..5e74019f 100644
--- a/graphics/src/renderer.rs
+++ b/graphics/src/renderer.rs
@@ -91,6 +91,10 @@ where
{
type Font = Font;
+ const ICON_FONT: Font = B::ICON_FONT;
+ const CHECKMARK_ICON: char = B::CHECKMARK_ICON;
+ const ARROW_DOWN_ICON: char = B::ARROW_DOWN_ICON;
+
fn default_size(&self) -> u16 {
self.backend().default_size()
}