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

Data.Component.Selection

Documentation

data Selection Source #

Constructors

Selection 

Instances

Instances details
ComponentUnit Selection Source # 
Instance details

Defined in Data.Component.Selection

Methods

update :: forall env (m :: Type -> Type). (HasLightEnv env, HasLoopEnv env, HasComponentEnv env, MonadIO m, MonadMask m) => Selection -> LightT env m Selection Source #

figures :: forall env (m :: Type -> Type). (HasLightEnv env, MonadIO m, MonadMask m) => Selection -> LightT env m [Figure] Source #

draw :: forall env (m :: Type -> Type). (HasLightEnv env, MonadIO m, MonadMask m) => Selection -> LightT env m () Source #

onSignal :: forall env (m :: Type -> Type). (HasLightEnv env, HasLoopEnv env, HasComponentEnv env, MonadIO m, MonadMask m) => Event -> Selection -> LightT env m Selection Source #

useCache :: Selection -> Selection -> Bool Source #

beforeClearCache :: forall env (m :: Type -> Type). (HasLightEnv env, MonadIO m, MonadMask m) => Selection -> [Figure] -> LightT env m () Source #