Cleanup
This commit is contained in:
@@ -12,8 +12,6 @@ import ShapePicture
|
||||
import Shape
|
||||
import Geometry
|
||||
|
||||
import qualified IntMapHelp as IM
|
||||
import Control.Lens
|
||||
makeButton
|
||||
:: Color
|
||||
-> WorldEffect -- ^ Effect when pressed
|
||||
@@ -24,8 +22,6 @@ makeButton col eff = defaultButton
|
||||
, _btText = "Button"
|
||||
, _btState = BtOff
|
||||
}
|
||||
where
|
||||
btpos b w' = _btPos $ _buttons w' IM.! _btID b
|
||||
|
||||
|
||||
drawSwitchWire :: Color -> Color -> Button -> SPic
|
||||
@@ -51,8 +47,6 @@ makeSwitchSPic dswitch effOn effOff = defaultButton
|
||||
, _btText = "SWITCH/"
|
||||
, _btState = BtOff
|
||||
}
|
||||
where
|
||||
bpos b w = _btPos $ _buttons w IM.! _btID b
|
||||
|
||||
makeSwitch
|
||||
:: Color
|
||||
|
||||
Reference in New Issue
Block a user