border3dF

Decoration

Types

border3dF :: Bool -> Int -> F a b -> F (Either Bool a) b

Synopsis

border3dF down border fudget

Description

border3dF puts a border around a fudget to give it a 3d look.

Input

Left True makes the fudget look lowered. Left False makes the fudget look raised. Right x propagates x to the enclosed fudget.

Output

Whatever the enclosed fudget outputs.

Arguments

down :: Bool
Initial appearance of the fudget. If True, the fudget will appear to be lowered, otherwise the fudget will appear to be raised.
border :: Int
Border width, in pixels.
fudget :: F a b
A fudget.

See Also

buttonF, pushButtonF, buttonGroupF.

Bugs

This looks ugly on a monochrome display.