Std.Ui.Screen
15 public declarations
- damagedOf
&Std.Ui.Screen.Screen[S] -> Array[Std.Ui.Canvas.Rect]The regions that changed to produce the current frame.
- defaultRing
Std.Ui.Canvas.ColorThe color focus rings are drawn in when a screen starts.
- Event
What an update is told happened.
- focusOf
&Std.Ui.Screen.Screen[S] -> Option[Str]The tag of the focused control, if any.
- focusRing
&Std.Ui.Screen.Screen[S] -> Std.Ui.Canvas.Color -> Result[Std.Ui.Screen.Screen[S], Std.Ui.Screen.ScreenError]The screen drawing its focus ring in another color.
- handle
&Std.Ui.Screen.Screen[S] -> Std.Ui.Screen.Input -> Result[Std.Ui.Screen.Screen[S], Std.Ui.Screen.ScreenError]The screen after one input.
- handleAll
&Std.Ui.Screen.Screen[S] -> &Array[Std.Ui.Screen.Input] -> Result[Std.Ui.Screen.Screen[S], Std.Ui.Screen.ScreenError]The screen after several inputs, in order.
- Input
Something a person did.
- Key
A key a screen answers without text entry.
- layoutOf
&Std.Ui.Screen.Screen[S] -> Std.Ui.Layout.LayoutThe placement of the current frame.
- Screen
A running screen: what is known, how it is shown and changed, and the frame
- ScreenError
Why a screen could not be shown.
- start
S -> fn(S) -> Std.Ui.Layout.View -> fn(S, Std.Ui.Screen.Event) -> S -> Std.Ui.Canvas.Size -> Std.Ui.Canvas.Color -> Result[Std.Ui.Screen.Screen[S], Std.Ui.Screen.ScreenError]A screen showing its first frame.
- stateOf
&Std.Ui.Screen.Screen[S] -> SWhat the screen currently knows.
- surfaceOf
&Std.Ui.Screen.Screen[S] -> Std.Ui.Canvas.SurfaceThe pixels of the current frame.
