From 7160bbed9870247268469330c18a5e7708eb12a3 Mon Sep 17 00:00:00 2001 From: Alexander Polakov Date: Sat, 2 Feb 2013 04:59:36 +0400 Subject: Implement icon caching --- src/Types.hs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Types.hs') 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 + } -- cgit v1.2.3