From a451f75917e427a4b4c7d986ce74e5a3999e563d Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 2 Feb 2025 08:41:42 +0300 Subject: Implement tab indicators --- src/layout/tile.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/layout/tile.rs') diff --git a/src/layout/tile.rs b/src/layout/tile.rs index a08f058f..7a49f5ed 100644 --- a/src/layout/tile.rs +++ b/src/layout/tile.rs @@ -563,7 +563,7 @@ impl Tile { size } - fn animated_window_size(&self) -> Size { + pub fn animated_window_size(&self) -> Size { let mut size = self.window_size(); if let Some(resize) = &self.resize_animation { @@ -580,7 +580,7 @@ impl Tile { size } - fn animated_tile_size(&self) -> Size { + pub fn animated_tile_size(&self) -> Size { let mut size = self.animated_window_size(); if self.is_fullscreen { @@ -1031,6 +1031,14 @@ impl Tile { self.unmap_snapshot.take() } + pub fn border(&self) -> &FocusRing { + &self.border + } + + pub fn focus_ring(&self) -> &FocusRing { + &self.focus_ring + } + pub fn options(&self) -> &Rc { &self.options } -- cgit