flaw-app-0.1.0.0

LicenseMIT
Safe HaskellNone
LanguageHaskell2010

Flaw.App

Description

 
Synopsis

Documentation

withApp :: AppConfig -> AppCallback -> IO () Source #

Init application. This function must be called from main thread, and it doesn't return until windowing system is shut down. It forks a new lightweight thread and calls the callback provided in it. That complexity comes from demands of various windowing systems.

runApp :: (Float -> IO ()) -> IO () Source #

Run app loop. To exit loop, call exitApp.

data AppConfig where Source #

Constructors

AppConfig 

Fields

Instances
Default AppConfig Source # 
Instance details

Defined in Flaw.App

Methods

def :: AppConfig #