Copyright | (c) 2011, 2012 Ian-Woo Kim |
---|---|
License | BSD3 |
Maintainer | Ian-Woo Kim <ianwookim@gmail.com> |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell98 |
Documentation
GXournal | |
|
GPage | |
|
GSelect | |
|
type TLayerSimple = GLayer [] Stroke Source
type TPageSimple = GPage Background [] TLayerSimple Source
type TXournalSimple = GXournal [] TPageSimple Source
class GStrokeable a where Source
class GBackgroundable b where Source
gFromBackground :: Background -> b Source
gToBackground :: b -> Background Source
fromPage :: (GStrokeable a, GBackgroundable b, GListable s, GListable s') => Page -> GPage b s' (GLayer s a) Source
class SListable m where Source
chgStreamToList :: GListable s => m s a -> m [] a Source
g_background :: Simple Lens (GPage b s a) b Source
g_bstrokes :: Simple Lens (GLayerBuf b s a) (s a) Source
g_selectTitle :: Simple Lens (GSelect a b) ByteString Source
g_selectAll :: Simple Lens (GSelect a b) a Source
g_selectSelected :: Simple Lens (GSelect a b) b Source
toNoBufferLayer :: GLayerBuf b s a -> GLayer s a Source
toPage :: (GStrokeable a, GBackgroundable b, GListable s, GListable s', Functor s') => (b -> Background) -> GPage b s' (GLayer s a) -> Page Source
toPageFromBuf :: (GStrokeable a, GBackgroundable b, GListable s, GListable s', Functor s') => (b -> Background) -> GPage b s' (GLayerBuf buf s a) -> Page Source
emptyPageFromOldPage :: GListable s => GPage b s a -> GPage b s a Source