add modal text draw object to imperative shell, for drawing text like file browser
This commit is contained in:
@@ -27,6 +27,8 @@ struct
|
||||
|
||||
val dotDrawObject = AppDraw.initDot ()
|
||||
val triangleDrawObject = AppDraw.initTriangles ()
|
||||
|
||||
val modalTextDrawObject = AppDraw.initModalText ()
|
||||
|
||||
val inputMailbox = Mailbox.mailbox ()
|
||||
val drawMailbox = Mailbox.mailbox ()
|
||||
@@ -47,6 +49,8 @@ struct
|
||||
, 0
|
||||
, triangleDrawObject
|
||||
, 0
|
||||
, modalTextDrawObject
|
||||
, 0
|
||||
))
|
||||
|
||||
val _ = CML.spawn (fn () => FileThread.run (fileMailbox, inputMailbox))
|
||||
|
||||
Reference in New Issue
Block a user