moffy-samples-events-0.2.2.5: Events for sample codes of moffy
Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Moffy.Samples.Boxes.Viewable

Documentation

data Box Source #

Constructors

Box Rect BColor 

Instances

Instances details
Show Box Source # 
Instance details

Defined in Control.Moffy.Samples.Boxes.Viewable

Methods

showsPrec :: Int -> Box -> ShowS #

show :: Box -> String #

showList :: [Box] -> ShowS #

data BColor Source #

Constructors

Red 
Green 
Blue 
Yellow 
Cyan 
Magenta 

Instances

Instances details
Enum BColor Source # 
Instance details

Defined in Control.Moffy.Samples.Boxes.Viewable

Show BColor Source # 
Instance details

Defined in Control.Moffy.Samples.Boxes.Viewable

data Rect Source #

Constructors

Rect Point Point 

Instances

Instances details
Show Rect Source # 
Instance details

Defined in Control.Moffy.Samples.Boxes.Viewable

Methods

showsPrec :: Int -> Rect -> ShowS #

show :: Rect -> String #

showList :: [Rect] -> ShowS #