| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell98 |
HyperGraphicsF2
Documentation
hyperGraphicsF2 :: (Graphic leaf, Ord k) => Drawing k leaf -> F (GfxCommand k (Drawing k leaf)) (GfxEvent k) Source #
hyperGraphicsF2' :: (Graphic leaf, Ord k) => (GraphicsF (Drawing k leaf) -> GraphicsF (Drawing k leaf)) -> Drawing k leaf -> F (GfxCommand k (Drawing k leaf)) (GfxEvent k) Source #
mouseClicksSP :: SP (GfxEvent b) b Source #
isMouseClick :: GfxEvent a -> Maybe a Source #
mapGfxCommandPath :: (a -> path) -> GfxCommand a gfx -> GfxCommand path gfx Source #
data GfxCommand path gfx Source #
Constructors
| ChangeGfx [(path, GfxChange gfx)] | |
| ChangeGfxBg ColorSpec | |
| ChangeGfxBgPixmap PixmapId Bool | |
| forall bg.Graphic bg => ChangeGfxBgGfx bg | |
| ChangeGfxCursor CursorId | |
| ChangeGfxFontCursor Int | |
| ShowGfx path (Maybe Alignment, Maybe Alignment) | |
| BellGfx Int | |
| GetGfxPlaces [path] |
Instances
| Functor (GfxCommand path) Source # | |
Defined in GraphicsF Methods fmap :: (a -> b) -> GfxCommand path a -> GfxCommand path b # (<$) :: a -> GfxCommand path b -> GfxCommand path a # | |
Constructors
| GfxReplace (Bool, Maybe gfx) | |
| GfxGroup Int Int | |
| GfxUngroup Int |
Constructors
| GfxButtonEvent | |
| GfxMotionEvent | |
| GfxKeyEvent | |
| GfxFocusEvent | |
Fields
| |
| GfxPlaces [Rect] | |
| GfxResized Size | |
replaceGfx :: path -> gfx -> GfxCommand path gfx Source #
highlightGfx :: path -> Bool -> GfxCommand path gfx Source #