minilight-lua-0.2.1.0: A binding library of minilight for Lua langauge.
Safe HaskellNone
LanguageHaskell2010

MiniLight.Lua

Documentation

data LuaValue Source #

Instances

Instances details
Read LuaValue Source # 
Instance details

Defined in MiniLight.Lua

Show LuaValue Source # 
Instance details

Defined in MiniLight.Lua

Peekable LuaValue Source # 
Instance details

Defined in MiniLight.Lua

Pushable LuaValue Source # 
Instance details

Defined in MiniLight.Lua

Methods

push :: LuaValue -> Lua () #

newtype Table Source #

Constructors

Table [(LuaValue, LuaValue)] 

Instances

Instances details
Read Table Source # 
Instance details

Defined in MiniLight.Lua

Show Table Source # 
Instance details

Defined in MiniLight.Lua

Methods

showsPrec :: Int -> Table -> ShowS #

show :: Table -> String #

showList :: [Table] -> ShowS #

Peekable Table Source # 
Instance details

Defined in MiniLight.Lua

Methods

peek :: StackIndex -> Lua Table #

Pushable Table Source # 
Instance details

Defined in MiniLight.Lua

Methods

push :: Table -> Lua () #

data LuaComponent Source #

Instances

Instances details
ComponentUnit LuaComponent Source # 
Instance details

Defined in MiniLight.Lua

Methods

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

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

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

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

useCache :: LuaComponent -> LuaComponent -> Bool #

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

data LuaComponentEvent Source #

Constructors

SetExpr String 

Instances

Instances details
EventType LuaComponentEvent Source # 
Instance details

Defined in MiniLight.Lua

reload :: (HasLoaderEnv env, HasLightEnv env, HasLoopEnv env, MonadIO m, MonadMask m) => Text -> LightT env m () Source #