begin title screen by adding title screen type
This commit is contained in:
17
fcore/title/title-type.sml
Normal file
17
fcore/title/title-type.sml
Normal 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
|
||||
6
fcore/title/title-update.sml
Normal file
6
fcore/title/title-update.sml
Normal file
@@ -0,0 +1,6 @@
|
||||
structure TitleUpdate =
|
||||
struct
|
||||
open TitleType
|
||||
|
||||
fun update (titleState, input) = titleState
|
||||
end
|
||||
Reference in New Issue
Block a user