@hackage / aosd

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

Latest0.2.2

About

Metadata

  • Last updated , by DanielSchuessler
  • License BSD-3-Clause
  • Categories Graphics
  • Maintained by: anotheraddress@gmx.de

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    debugmemory (off by default)

Readme

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.