| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| Description | ||||||||||||||||||||||||||
| A module for painting on the screen | ||||||||||||||||||||||||||
| Synopsis | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| Usage: | ||||||||||||||||||||||||||
| See XMonad.Layout.Tabbed or XMonad.Layout.DragPane for usage examples | ||||||||||||||||||||||||||
| averagePixels :: Pixel -> Pixel -> Double -> X Pixel | ||||||||||||||||||||||||||
| Compute the weighted average the colors of two given Pixel values. | ||||||||||||||||||||||||||
| createNewWindow :: Rectangle -> Maybe EventMask -> String -> Bool -> X Window | ||||||||||||||||||||||||||
| Create a simple window given a rectangle. If Nothing is given only the exposureMask will be set, otherwise the Just value. Use showWindow to map and hideWindow to unmap. | ||||||||||||||||||||||||||
| showWindow :: Window -> X () | ||||||||||||||||||||||||||
| Map a window | ||||||||||||||||||||||||||
| showWindows :: [Window] -> X () | ||||||||||||||||||||||||||
| the list version | ||||||||||||||||||||||||||
| hideWindow :: Window -> X () | ||||||||||||||||||||||||||
| unmap a window | ||||||||||||||||||||||||||
| hideWindows :: [Window] -> X () | ||||||||||||||||||||||||||
| the list version | ||||||||||||||||||||||||||
| deleteWindow :: Window -> X () | ||||||||||||||||||||||||||
| destroy a window | ||||||||||||||||||||||||||
| deleteWindows :: [Window] -> X () | ||||||||||||||||||||||||||
| the list version | ||||||||||||||||||||||||||
| paintWindow | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| paintAndWrite | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| stringToPixel :: (Functor m, MonadIO m) => Display -> String -> m Pixel | ||||||||||||||||||||||||||
| Get the Pixel value for a named color: if an invalid name is given the black pixel will be returned. | ||||||||||||||||||||||||||
| fi :: (Integral a, Num b) => a -> b | ||||||||||||||||||||||||||
| Short-hand for fromIntegral | ||||||||||||||||||||||||||
| Produced by Haddock version 2.7.2 | ||||||||||||||||||||||||||