summaryrefslogtreecommitdiffhomepage
path: root/src/Types.hs
diff options
context:
space:
mode:
authorAlexander Polakov <plhk@sdf.org>2013-02-02 04:59:36 +0400
committerAlexander Polakov <plhk@sdf.org>2013-02-03 15:41:09 +0400
commit7160bbed9870247268469330c18a5e7708eb12a3 (patch)
treee29110929981f40c825ee09f2786897b1d2d9670 /src/Types.hs
parent5c6cb344e0221b20b38ce1decf03029e9051417b (diff)
downloadxmobar-7160bbed9870247268469330c18a5e7708eb12a3.tar.gz
xmobar-7160bbed9870247268469330c18a5e7708eb12a3.tar.bz2
Implement icon caching
Diffstat (limited to 'src/Types.hs')
-rw-r--r--src/Types.hs6
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
+ }