minilight-0.5.0: A SDL2-based graphics library, batteries-included.
Safe HaskellNone
LanguageHaskell2010

MiniLight.Loader.Internal.Types

Synopsis

Documentation

data Hook Source #

Constructors

Hook 

Instances

Instances details
Show Hook Source # 
Instance details

Defined in MiniLight.Loader.Internal.Types

Methods

showsPrec :: Int -> Hook -> ShowS #

show :: Hook -> String #

showList :: [Hook] -> ShowS #

Generic Hook Source # 
Instance details

Defined in MiniLight.Loader.Internal.Types

Associated Types

type Rep Hook :: Type -> Type #

Methods

from :: Hook -> Rep Hook x #

to :: Rep Hook x -> Hook #

ToJSON Hook Source # 
Instance details

Defined in MiniLight.Loader.Internal.Types

FromJSON Hook Source # 
Instance details

Defined in MiniLight.Loader.Internal.Types

type Rep Hook Source # 
Instance details

Defined in MiniLight.Loader.Internal.Types

type Rep Hook = D1 ('MetaData "Hook" "MiniLight.Loader.Internal.Types" "minilight-0.5.0-inplace" 'False) (C1 ('MetaCons "Hook" 'PrefixI 'True) (S1 ('MetaSel ('Just "signalName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "parameter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Value)))

data AppConfig Source #

A configuration for the application itself

Constructors

AppConfig 

Instances

Instances details
FromJSON AppConfig Source # 
Instance details

Defined in MiniLight.Loader.Internal.Types

type Resolver Source #

Arguments

 = Text

Component Type

-> Text

UID

-> Value

Component Property

-> MiniLight (Either String Component) 

The type for component resolver

newUID :: MonadIO m => m Text Source #

Generate an unique id.