mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-27 15:44:17 +02:00
Temp
This commit is contained in:
parent
d518f6564d
commit
2fb17df786
@ -21,3 +21,9 @@ pub use empty::Empty;
|
|||||||
|
|
||||||
pub mod padding;
|
pub mod padding;
|
||||||
pub use padding::*;
|
pub use padding::*;
|
||||||
|
|
||||||
|
pub mod time_graph;
|
||||||
|
pub use time_graph::TimeGraph;
|
||||||
|
|
||||||
|
pub mod selectable_block;
|
||||||
|
pub use selectable_block::SelectableBlock;
|
||||||
|
4
src/tuine/component/base/selectable_block.rs
Normal file
4
src/tuine/component/base/selectable_block.rs
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
/// A [`SelectableBlock`] is an extension around a [`Block`], that adds selection
|
||||||
|
/// indication logic and binds [`Event::Keyboard`] events to **always** be captured by
|
||||||
|
/// the children of the [`SelectableBlock`].
|
||||||
|
pub struct SelectableBlock {}
|
4
src/tuine/component/base/time_graph.rs
Normal file
4
src/tuine/component/base/time_graph.rs
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
/// A [`TimeGraph`] is a component that indicates data in a graph form with the time being
|
||||||
|
/// the x-axis. It displays the most recent data at the right, with the recent data
|
||||||
|
/// being at the left.
|
||||||
|
pub struct TimeGraph {}
|
Loading…
x
Reference in New Issue
Block a user