21 lines
324 B
Rust
Raw Normal View History

2024-09-20 18:02:10 +03:00
mod subject;
mod tray;
mod widget;
2024-09-18 20:33:29 +03:00
2024-09-22 12:38:13 +03:00
pub struct Header {
widget: widget::Header,
2024-09-22 12:38:13 +03:00
}
impl Header {
pub fn new() -> Header {
Self {
widget: widget::Header::new(&tray::new(), &subject::new()),
}
}
2024-09-19 11:29:03 +03:00
// Getters
pub fn widget(&self) -> &widget::Header {
&self.widget
}
2024-09-20 18:02:10 +03:00
}