diff --git a/rust_programs/libgui_derive/src/lib.rs b/rust_programs/libgui_derive/src/lib.rs index af6910cd..6fc6c679 100644 --- a/rust_programs/libgui_derive/src/lib.rs +++ b/rust_programs/libgui_derive/src/lib.rs @@ -88,6 +88,14 @@ fn impl_bordered_derive(ast: &syn::DeriveInput) -> TokenStream { fn draw_inner_content(&self, outer_frame: Rect, onto: &mut Box) { self.view.draw_inner_content(outer_frame, onto); } + + fn draw_border_with_insets(&self, onto: &mut Box) -> Rect { + self.view.draw_border_with_insets(onto) + } + + fn draw_border(&self) -> Rect { + self.view.draw_border() + } } }; gen.into()