with FLTK.Widgets.Groups.Windows; package body Windows is package WN renames FLTK.Widgets.Groups.Windows; procedure Set_Logo (This : in out Window; Logo : in out FLTK.Images.RGB.PNG.PNG_Image) is begin This.Set_Icon (Logo); end Set_Logo; -- Used to hide about/find/replace/etc windows instead -- of constantly creating and destroying them. procedure Hide_CB (Item : in out FLTK.Widgets.Widget'Class) is P : access FLTK.Widgets.Groups.Group'Class; begin if Item in WN.Window'Class then WN.Window (Item).Hide; else P := Item.Parent; loop if P = null then return; end if; exit when P.all in WN.Window'Class; P := P.Parent; end loop; WN.Window (P.all).Hide; end if; end Hide_CB; end Windows;