Commit before working on displaying composed items in inventory
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
module Dodge.Data.SelectionList where
|
||||
|
||||
import Dodge.Data.DoubleTree
|
||||
import Color
|
||||
import Control.Lens
|
||||
import Data.IntMap.Strict (IntMap)
|
||||
@@ -61,6 +62,17 @@ data SelectionSection a = SelectionSection
|
||||
, _ssIndent :: Int
|
||||
, _ssDescriptor :: String
|
||||
}
|
||||
|
|
||||
SelectionTreeSection
|
||||
{ _stsItems :: DoubleTree (SelectionItem a)
|
||||
, _ssCursor :: Maybe SectionCursor
|
||||
, _ssMinSize :: Int
|
||||
, _ssOffset :: Int
|
||||
, _ssShownItems :: [Picture]
|
||||
, _ssIndent :: Int
|
||||
, _ssDescriptor :: String
|
||||
}
|
||||
|
||||
|
||||
data SelectionWidth
|
||||
= FixedSelectionWidth Int
|
||||
|
||||
Reference in New Issue
Block a user