dzen-dhall-1.0.2: Configure dzen2 bars in Dhall language

Safe HaskellNone
LanguageHaskell2010

DzenDhall.Animation.Marquee

Synopsis

Documentation

run :: Int -> Marquee -> AST -> Int -> AST Source #

calculatePxShift Source #

Arguments

:: Int

Number of current frame

-> Int

Character width

-> Int

How many frames per character?

-> Int

Shift in pixels

Calculate shift in pixels.

addPxShift Source #

Arguments

:: Int

Shift in pixels

-> AST 
-> AST 

Add sub-character shift to the AST and compensate it