Description
Compose
function Compose
(Width, Height : Natural;
Items : Layer_Array) return Flyology_TUI.Surfaces.Surface
Items are painted in array order; the last item is topmost.
Parameters
- Width
- Height
- Items
Return value
Hit_Result
type Hit_Result (Found : Boolean := False) is record
case Found is
when True =>
Index : Positive;
Local : Flyology_TUI.Geometry.Point;
when False =>
null;
end case;
end record;
Record fields
- Found
- Index
- Local
Layer
type Layer is record
Content : Flyology_TUI.Surfaces.Surface;
X : Integer := 0;
Y : Integer := 0;
Transparent_Spaces : Boolean := False;
end record;
Record fields
- Content
- X
- Y
- Transparent_Spaces
Layer_Array
type Layer_Array is array (Positive range <>) of Layer;
Topmost_At
function Topmost_At
(Items : Layer_Array;
Point : Flyology_TUI.Geometry.Point) return Hit_Result
Return the topmost painted cell at Point. A transparent space does not intercept input, while a wide glyph's continuation cell does.
Parameters
- Items
- Point