implemented TableCell type
This commit is contained in:
parent
8795cb46a9
commit
d0f237e707
|
@ -43,6 +43,7 @@ module Mtlstats.Types (
|
||||||
GameStats (..),
|
GameStats (..),
|
||||||
Prompt (..),
|
Prompt (..),
|
||||||
SelectParams (..),
|
SelectParams (..),
|
||||||
|
TableCell (..),
|
||||||
-- * Lenses
|
-- * Lenses
|
||||||
-- ** ProgState Lenses
|
-- ** ProgState Lenses
|
||||||
database,
|
database,
|
||||||
|
@ -622,6 +623,14 @@ data SelectParams a = SelectParams
|
||||||
-- ^ The function to call when the selection doesn't exist
|
-- ^ The function to call when the selection doesn't exist
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- | Describes a table cell
|
||||||
|
data TableCell
|
||||||
|
= CellText String
|
||||||
|
-- ^ A cell with text
|
||||||
|
| CellFill Char
|
||||||
|
-- ^ A cell filled with the given character
|
||||||
|
deriving (Eq, Show)
|
||||||
|
|
||||||
makeLenses ''ProgState
|
makeLenses ''ProgState
|
||||||
makeLenses ''GameState
|
makeLenses ''GameState
|
||||||
makeLenses ''CreatePlayerState
|
makeLenses ''CreatePlayerState
|
||||||
|
|
Loading…
Reference in New Issue
Block a user