This commit is contained in:
2022-12-26 09:42:58 +00:00
parent 6e18c498af
commit 1bafb427df
5 changed files with 94 additions and 18 deletions
-4
View File
@@ -321,10 +321,6 @@ invHead cfig s =
. scale 0.4 0.4
$ text s
--clObjFloatIn :: Float
--clObjFloatIn = fromIntegral clObjIntIn * 9
drawCarte :: Configuration -> World -> Picture
drawCarte cfig w =
pictures $
-11
View File
@@ -101,17 +101,6 @@ listCursorChooseBorderScale ygap s borders xoff yoff cfig yint col cursxsize cur
listCursorChooseBorder ::
Set CardinalPoint -> Float -> Float -> Configuration -> Int -> Color -> Int -> Int -> Picture
listCursorChooseBorder = listCursorChooseBorderScale 10 1
--listCursorChooseBorder borders xoff yoff cfig yint col cursxsize cursysize =
-- winScale cfig
-- . translate
-- (6 + xoff - halfWidth cfig)
-- (halfHeight cfig + 12.5 - (20 * fromIntegral yint + yoff + 20 + hgt))
-- . color col
-- $ chooseCursorBorders wth hgt borders
-- where
-- x = 9
-- wth = x * fromIntegral cursxsize + 9
-- hgt = 20 * fromIntegral cursysize
-- note we cannot simply scale lines because they are drawn as solid rectangles
chooseCursorBorders :: Float -> Float -> Set CardinalPoint -> Picture