taffybar-1.0.1: A desktop bar similar to xmobar, but with more GUI

Copyright(c) Ivan A. Malison
LicenseBSD3-style (see LICENSE)
MaintainerIvan A. Malison
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell2010

System.Taffybar.IconImages

Description

 

Synopsis

Documentation

scalePixbuf :: Int -> Pixbuf -> IO Pixbuf Source #

Take the passed in pixbuf and ensure its scaled square.

pixBufFromEWMHIcon :: EWMHIcon -> IO Pixbuf Source #

Create a pixbuf from the pixel data in an EWMHIcon.

pixelsARGBToBytesABGR :: (Storable a, Bits a, Num a, Integral a) => Ptr a -> Int -> IO (Ptr CUChar) Source #

Convert a C array of integer pixels in the ARGB format to the ABGR format.

pixBufFromColor :: Int -> ColorRGBA -> IO Pixbuf Source #

Create a pixbuf with the indicated RGBA color.

pixBufFromFile :: Int -> FilePath -> IO Pixbuf Source #

Create a pixbuf from a file and scale it to be square.