@hackage aosd0.1.1

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 = aosdFlash
           defaultOpts
           (textRenderer markup) { alignment = Just AlignCenter, colour = orange }
           (symDurations 3000 3000)

Tested with libaosd version 0.2.7.