¤ border3dF

Decoration

Types

border3dF :: Bool -> Int -> F a b -> F (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.

Example

 border3dF False 1 (labelF "Hello, 3D border")

See Also

buttonF, pushButtonF, buttonGroupF.

Bugs

This looks ugly on a monochrome display.