Merge remote-tracking branch 'origin/word-display' into repo-integration
This commit is contained in:
commit
9c93ca4408
3 files changed
+26
No files matched your search
@@ -9,6 +9,7 @@ mod navigation;
|
|||||||
pub mod notification;
|
pub mod notification;
|
||||||
mod pages;
|
mod pages;
|
||||||
mod styling;
|
mod styling;
|
||||||
|
mod widgets;
|
||||||
pub mod tests;
|
pub mod tests;
|
||||||
|
|
||||||
use crate::app::start;
|
use crate::app::start;
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
pub mod word_display;
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
use iced::Renderer;
|
||||||
|
use iced_core::{Layout, Length, Rectangle, Size, Theme, Widget};
|
||||||
|
use iced_core::layout::{Limits, Node};
|
||||||
|
use iced_core::mouse::Cursor;
|
||||||
|
use iced_core::renderer::Style;
|
||||||
|
use iced_core::widget::Tree;
|
||||||
|
|
||||||
|
pub struct WordDisplay {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
impl<Message> Widget<Message, Theme, Renderer> for WordDisplay {
|
||||||
|
fn size(&self) -> Size<Length> {
|
||||||
|
todo!()
|
||||||
|
}
|
||||||
|
|
||||||
|
fn layout(&mut self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node {
|
||||||
|
todo!()
|
||||||
|
}
|
||||||
|
|
||||||
|
fn draw(&self, tree: &Tree, renderer: &mut Renderer, theme: &Theme, style: &Style, layout: Layout<'_>, cursor: Cursor, viewport: &Rectangle) {
|
||||||
|
todo!()
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user