Allow for more changable terminal screen colors
This commit is contained in:
@@ -80,7 +80,8 @@ mouseCursorType :: Universe -> Picture
|
||||
mouseCursorType u = case u ^. uvWorld . input . mouseContext of
|
||||
NoMouseContext -> drawEmptySet 5
|
||||
MouseAiming -> rotate a (drawPlus 5)
|
||||
MouseClick -> drawPlus 5
|
||||
MouseMenuClick -> drawMenuClick 5
|
||||
MouseInGame -> drawPlus 5
|
||||
OverInvSelect {} -> drawSelect 5
|
||||
OverInvFilt {} -> drawCombFilter 5
|
||||
OverCombSelect {} -> drawSelect 5
|
||||
@@ -117,6 +118,14 @@ drawReturn x = fold
|
||||
drawPlus :: Float -> Picture
|
||||
drawPlus x = fold [line [V2 (- x) 0, V2 x 0], line [V2 0 (- x), V2 0 x]]
|
||||
|
||||
drawMenuClick :: Float -> Picture
|
||||
drawMenuClick x = line
|
||||
[ V2 0 0
|
||||
, V2 x (-x)
|
||||
, V2 0 (-x)
|
||||
, V2 0 0
|
||||
]
|
||||
|
||||
drawCombFilterJump :: Float -> Picture
|
||||
drawCombFilterJump x = rotate (0.25*pi)
|
||||
$ fold [line [V2 0 0, V2 x 0], line [V2 0 0, V2 0 x]]
|
||||
|
||||
Reference in New Issue
Block a user