diff options
author | Alexander Polakov <plhk@sdf.org> | 2013-02-02 04:59:36 +0400 |
---|---|---|
committer | Alexander Polakov <plhk@sdf.org> | 2013-02-03 15:41:09 +0400 |
commit | 7160bbed9870247268469330c18a5e7708eb12a3 (patch) | |
tree | e29110929981f40c825ee09f2786897b1d2d9670 /src/Types.hs | |
parent | 5c6cb344e0221b20b38ce1decf03029e9051417b (diff) | |
download | xmobar-7160bbed9870247268469330c18a5e7708eb12a3.tar.gz xmobar-7160bbed9870247268469330c18a5e7708eb12a3.tar.bz2 |
Implement icon caching
Diffstat (limited to 'src/Types.hs')
-rw-r--r-- | src/Types.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Types.hs b/src/Types.hs index 3fcc6de..94f2373 100644 --- a/src/Types.hs +++ b/src/Types.hs @@ -1,3 +1,9 @@ module Types where +import Graphics.X11.Xlib data Widget = Text String | Icon String + +data Bitmap = Bitmap { width :: Dimension + , height :: Dimension + , pixmap :: Pixmap + } |