Improve terminal color possibilities

This commit is contained in:
2024-11-07 18:51:18 +00:00
parent bfd4649e1b
commit ccc966d652
13 changed files with 207 additions and 149 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ analyser ::
analyser proxreq pslight psmc = extTrigLitPos pslight $ \tp ->
Just $
plSpot .~ psmc $
putTerminal
putTerminal (dark magenta)
(themachine & mcMounts . at ObTrigger .~ _plMID tp)
tparams -- (linksensortotrigger tp)
where
+4 -4
View File
@@ -13,9 +13,9 @@ import Dodge.SoundLogic
import Geometry
import LensHelp
putTerminal :: Machine -> Terminal -> Placement
putTerminal mc tm =
ps0PushPS (PutTerminal tm) $
putTerminal :: Color -> Machine -> Terminal -> Placement
putTerminal col mc tm =
ps0PushPS (PutTerminal (tm & tmExternalColor .~ col)) $
\tmpl -> Just $
ps0PushPS (PutButton termButton) $
\btpl -> Just $
@@ -42,7 +42,7 @@ putTerminal mc tm =
putMessageTerminal :: Color -> Terminal -> Placement
putMessageTerminal col =
putTerminal $
putTerminal col $
defaultMachine
& mcColor .~ col
& mcType .~ McTerminal