begin title screen by adding title screen type

This commit is contained in:
2025-02-19 03:39:36 +00:00
parent 6b4b637624
commit 25b2c41355
7 changed files with 67 additions and 34 deletions

View File

@@ -0,0 +1,17 @@
signature TITLE_TYPE =
sig
datatype focus = START_BUTTON
type title_type = {focus: focus}
val initial: title_type
end
structure TitleType :> TITLE_TYPE =
struct
datatype focus = START_BUTTON
type title_type = {focus: focus}
val initial = {focus = START_BUTTON}
end

View File

@@ -0,0 +1,6 @@
structure TitleUpdate =
struct
open TitleType
fun update (titleState, input) = titleState
end