Allow for inventory item bolding
This commit is contained in:
@@ -38,16 +38,20 @@ type IMSS a = IntMap (SelSection a)
|
||||
|
||||
data SelectionWidth = FixedSelectionWidth Int | UseItemWidth
|
||||
|
||||
data SelectionItem a
|
||||
= SelItem
|
||||
{ _siPictures :: [String]
|
||||
, _siHeight :: Int
|
||||
, _siWidth :: Int
|
||||
, _siIsSelectable :: Bool
|
||||
, _siColor :: Color
|
||||
, _siOffX :: Int
|
||||
, _siPayload :: Maybe a
|
||||
}
|
||||
data SelectionItem a = SelItem
|
||||
{ _siPictures :: [String]
|
||||
, _siHeight :: Int
|
||||
, _siWidth :: Int
|
||||
, _siIsSelectable :: Bool
|
||||
, _siColor :: Color
|
||||
, _siOffX :: Int
|
||||
, _siPayload :: Maybe a
|
||||
, _siDisplayMod :: SIDisplayMod
|
||||
}
|
||||
|
||||
data SIDisplayMod
|
||||
= NoSIDisplayMod
|
||||
| HighlightSI
|
||||
|
||||
makeLenses ''ListDisplayParams
|
||||
makeLenses ''SelectionItem
|
||||
|
||||
Reference in New Issue
Block a user