Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

Ui.Style

Description

Each event has a display style.

Actually, to be consistent with Block and Track shouldn't this be called EventConfig?

Synopsis

Documentation

data Style Source #

Instances

Instances details
Read Style Source # 
Instance details

Defined in Ui.Style

Show Style Source # 
Instance details

Defined in Ui.Style

Methods

showsPrec :: Int -> Style -> ShowS #

show :: Style -> String #

showList :: [Style] -> ShowS #

CStorable Style Source # 
Instance details

Defined in Ui.Style

Methods

sizeOf :: Style -> Int #

alignment :: Style -> Int #

peekElemOff :: Ptr Style -> Int -> IO Style #

pokeElemOff :: Ptr Style -> Int -> Style -> IO () #

peekByteOff :: Ptr b -> Int -> IO Style #

pokeByteOff :: Ptr b -> Int -> Style -> IO () #

peek :: Ptr Style -> IO Style #

poke :: Ptr Style -> Style -> IO () #

Eq Style Source # 
Instance details

Defined in Ui.Style

Methods

(==) :: Style -> Style -> Bool #

(/=) :: Style -> Style -> Bool #

data Font Source #

Constructors

Helvetica 
Times 
Courier 

Instances

Instances details
Read Font Source # 
Instance details

Defined in Ui.Style

Show Font Source # 
Instance details

Defined in Ui.Style

Methods

showsPrec :: Int -> Font -> ShowS #

show :: Font -> String #

showList :: [Font] -> ShowS #

Eq Font Source # 
Instance details

Defined in Ui.Style

Methods

(==) :: Font -> Font -> Bool #

(/=) :: Font -> Font -> Bool #

data FontFace Source #

Constructors

Bold 
Italic 

Instances

Instances details
Read FontFace Source # 
Instance details

Defined in Ui.Style

Show FontFace Source # 
Instance details

Defined in Ui.Style

Eq FontFace Source # 
Instance details

Defined in Ui.Style

newtype StyleId Source #

To save space, event styles are explicitly shared by storing them in a table.

Constructors

StyleId Word.Word8 

Instances

Instances details
Read StyleId Source # 
Instance details

Defined in Ui.Style

Show StyleId Source # 
Instance details

Defined in Ui.Style

Eq StyleId Source # 
Instance details

Defined in Ui.Style

Methods

(==) :: StyleId -> StyleId -> Bool #

(/=) :: StyleId -> StyleId -> Bool #

Serialize.Serialize StyleId Source # 
Instance details

Defined in Ui.Style