Safe Haskell | Safe-Inferred |
---|
Types used by Ui.KeycapsC. It's a separate module to avoid the FFI dependency when possible.
Synopsis
- data Layout = Layout {}
- type Keycap = Text
- type KeyDoc = Text
- type Doc = Text
- type Bindings = Map Keycap Binding
- data Binding = Binding {}
- no_binding :: Binding
- newtype RawBindings = RawBindings [RawBinding]
- data RawBinding = RawBinding Rect.Point Binding
- data CWindow
Documentation
Layout | |
|
Instances
Instances
no_binding :: Binding Source #
Since Bindings have to have the same indices of lt_labels
, I need dummy
ones to fill out the array.
newtype RawBindings Source #
Low level type, for sending to fltk.
Instances
Show RawBindings Source # | |
Defined in Ui.KeycapsT showsPrec :: Int -> RawBindings -> ShowS # show :: RawBindings -> String # showList :: [RawBindings] -> ShowS # |
data RawBinding Source #
Instances
Show RawBinding Source # | |
Defined in Ui.KeycapsT showsPrec :: Int -> RawBinding -> ShowS # show :: RawBinding -> String # showList :: [RawBinding] -> ShowS # | |
CStorable RawBinding Source # | |
Defined in Ui.KeycapsC sizeOf :: RawBinding -> Int # alignment :: RawBinding -> Int # peekElemOff :: Ptr RawBinding -> Int -> IO RawBinding # pokeElemOff :: Ptr RawBinding -> Int -> RawBinding -> IO () # peekByteOff :: Ptr b -> Int -> IO RawBinding # pokeByteOff :: Ptr b -> Int -> RawBinding -> IO () # peek :: Ptr RawBinding -> IO RawBinding # poke :: Ptr RawBinding -> RawBinding -> IO () # |