@hackage aosd0.2.2

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

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.