monomer-1.6.0.1: A GUI library for writing native Haskell applications.
Copyright(c) 2018 Francisco Vallarino
LicenseBSD-3-Clause (see the LICENSE file)
Maintainerfjvallarino@gmail.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Monomer.Widgets.Animation.Fade

Description

Fade animation widget. Wraps a child widget whose content will be animated.

Messages:

  • Accepts an AnimationMsg, used to control the state of the animation.
Synopsis

Configuration

data FadeCfg s e Source #

Configuration options for fade:

Instances

Instances details
Monoid (FadeCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Animation.Fade

Methods

mempty :: FadeCfg s e #

mappend :: FadeCfg s e -> FadeCfg s e -> FadeCfg s e #

mconcat :: [FadeCfg s e] -> FadeCfg s e #

Semigroup (FadeCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Animation.Fade

Methods

(<>) :: FadeCfg s e -> FadeCfg s e -> FadeCfg s e #

sconcat :: NonEmpty (FadeCfg s e) -> FadeCfg s e #

stimes :: Integral b => b -> FadeCfg s e -> FadeCfg s e #

Show (FadeCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Animation.Fade

Methods

showsPrec :: Int -> FadeCfg s e -> ShowS #

show :: FadeCfg s e -> String #

showList :: [FadeCfg s e] -> ShowS #

Default (FadeCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Animation.Fade

Methods

def :: FadeCfg s e #

Eq e => Eq (FadeCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Animation.Fade

Methods

(==) :: FadeCfg s e -> FadeCfg s e -> Bool #

(/=) :: FadeCfg s e -> FadeCfg s e -> Bool #

CmbAutoStart (FadeCfg s e) Source # 
Instance details

Defined in Monomer.Widgets.Animation.Fade

CmbDuration (FadeCfg s e) Millisecond Source # 
Instance details

Defined in Monomer.Widgets.Animation.Fade

WidgetEvent e => CmbOnFinished (FadeCfg s e) e Source # 
Instance details

Defined in Monomer.Widgets.Animation.Fade

Methods

onFinished :: e -> FadeCfg s e Source #

CmbOnFinishedReq (FadeCfg s e) s e Source # 
Instance details

Defined in Monomer.Widgets.Animation.Fade

Constructors

animFadeIn Source #

Arguments

:: WidgetEvent e 
=> WidgetNode s e

The child node.

-> WidgetNode s e

The created animation container.

Animates a widget from not visible state to fully visible.

animFadeIn_ Source #

Arguments

:: WidgetEvent e 
=> [FadeCfg s e]

The config options.

-> WidgetNode s e

The child node.

-> WidgetNode s e

The created animation container.

Animates a widget from not visible state to fully visible. Accepts config.

animFadeOut Source #

Arguments

:: WidgetEvent e 
=> WidgetNode s e

The child node.

-> WidgetNode s e

The created animation container.

Animates a widget from visible state to not visible.

animFadeOut_ Source #

Arguments

:: WidgetEvent e 
=> [FadeCfg s e]

The config options.

-> WidgetNode s e

The child node.

-> WidgetNode s e

The created animation container.

Animates a widget from visible state to not visible. Accepts config.