Start unifying drawn cursors

This commit is contained in:
2022-11-03 10:00:41 +00:00
parent 0872a2dd40
commit e6e5427f44
9 changed files with 129 additions and 44 deletions
+3 -3
View File
@@ -3,6 +3,8 @@ module Dodge.Data.SelectionList where
import Color
import Picture.Data
import Control.Lens
import Data.Set (Set)
import Dodge.Data.CardinalPoint
data SelectionList = SelectionList
{ _slPosX :: Float
@@ -20,9 +22,7 @@ data SelectionWidth = FixedSelectionWidth Int
| VariableSelectionWidth [Int]
data CursorType = NoCursor
| NSEWCursor
| NSWCursor
| NSCursor
| BorderCursor (Set CardinalPoint)
data SelectionItem = SelectionItem
{ _siPictures :: [Picture]