src/clock.rs -> src/widgets/clock.rs

This commit is contained in:
jk 2024-12-06 15:24:23 +01:00
parent 929e453d85
commit 04d3dced63
No known key found for this signature in database
6 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
use crate::{
clock::{self, Clock},
constants::TICK_VALUE_MS,
events::{Event, EventHandler, Events},
terminal::Terminal,
widgets::{
clock::{self, Clock},
countdown::{Countdown, CountdownWidget},
footer::Footer,
header::Header,

View File

@ -1,5 +1,4 @@
mod app;
mod clock;
mod config;
mod constants;
mod events;

View File

@ -1,3 +1,4 @@
pub mod clock;
pub mod countdown;
pub mod footer;
pub mod header;

View File

@ -8,9 +8,9 @@ use ratatui::{
use std::cmp::max;
use crate::{
clock::{self, Clock, ClockWidget},
events::{Event, EventHandler},
utils::center,
widgets::clock::{self, Clock, ClockWidget},
};
#[derive(Debug, Clone)]

View File

@ -1,7 +1,7 @@
use crate::{
clock::{self, Clock, ClockWidget},
events::{Event, EventHandler},
utils::center,
widgets::clock::{self, Clock, ClockWidget},
};
use ratatui::{
buffer::Buffer,