aosd

Bindings to libaosd, a library for Cairo-based on-screen displays

Latest on Hackage:0.2.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Daniel Schüssler
Maintained by anotheraddress@gmx.de

http://www.atheme.org/project/libaosd

An advanced on screen display (OSD) library, which uses Cairo to create high quality rendered graphics to be overlaid on top of the screen.

Distro packages providing libaosd:

  • Debian: libaosd2

Example:

{-# LANGUAGE OverloadedStrings #-}
import Graphics.Aosd.Pango

markup = pSized 50 (pUnlines [pItalic "AOSD","Example"])

main = do
    withAosd
        defaultOpts
        (textRenderer markup) { alignment = Just AlignCenter, colour = orange }
        (a -> aosdFlash a (symDurations 3000 3000))

Tested with libaosd version 0.2.7.

comments powered byDisqus