Draft test recorder structure in iced_devtools

This commit is contained in:
Héctor Ramón Jiménez 2025-05-28 19:58:43 +02:00
parent ca6d992d67
commit 327522eb99
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
16 changed files with 641 additions and 146 deletions

View file

@ -31,7 +31,6 @@ impl text::Renderer for () {
type Paragraph = ();
type Editor = ();
const MONOSPACE_FONT: Font = Font::MONOSPACE;
const ICON_FONT: Font = Font::DEFAULT;
const CHECKMARK_ICON: char = '0';
const ARROW_DOWN_ICON: char = '0';

View file

@ -276,11 +276,6 @@ pub trait Renderer: crate::Renderer {
/// The [`Editor`] of this [`Renderer`].
type Editor: Editor<Font = Self::Font> + 'static;
/// A monospace font.
///
/// It may be used by devtools.
const MONOSPACE_FONT: Self::Font;
/// The icon font of the backend.
const ICON_FONT: Self::Font;