Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Potato.Flow.Controller.Input
Documentation
data KeyModifier Source #
Constructors
KeyModifier_Shift | |
KeyModifier_Alt | |
KeyModifier_Ctrl |
Instances
Show KeyModifier Source # | |
Defined in Potato.Flow.Controller.Input Methods showsPrec :: Int -> KeyModifier -> ShowS # show :: KeyModifier -> String # showList :: [KeyModifier] -> ShowS # | |
Eq KeyModifier Source # | |
Defined in Potato.Flow.Controller.Input |
data KeyboardData Source #
Constructors
KeyboardData KeyboardKey [KeyModifier] |
Instances
Show KeyboardData Source # | |
Defined in Potato.Flow.Controller.Input Methods showsPrec :: Int -> KeyboardData -> ShowS # show :: KeyboardData -> String # showList :: [KeyboardData] -> ShowS # |
data KeyboardKey Source #
Constructors
Instances
Show KeyboardKey Source # | |
Defined in Potato.Flow.Controller.Input Methods showsPrec :: Int -> KeyboardKey -> ShowS # show :: KeyboardKey -> String # showList :: [KeyboardKey] -> ShowS # | |
Eq KeyboardKey Source # | |
Defined in Potato.Flow.Controller.Input |
data MouseButton Source #
Constructors
MouseButton_Left | |
MouseButton_Middle | |
MouseButton_Right |
Instances
Show MouseButton Source # | |
Defined in Potato.Flow.Controller.Input Methods showsPrec :: Int -> MouseButton -> ShowS # show :: MouseButton -> String # showList :: [MouseButton] -> ShowS # | |
Eq MouseButton Source # | |
Defined in Potato.Flow.Controller.Input |
data MouseDragState Source #
Instances
Show MouseDragState Source # | |
Defined in Potato.Flow.Controller.Input Methods showsPrec :: Int -> MouseDragState -> ShowS # show :: MouseDragState -> String # showList :: [MouseDragState] -> ShowS # | |
Eq MouseDragState Source # | |
Defined in Potato.Flow.Controller.Input Methods (==) :: MouseDragState -> MouseDragState -> Bool # (/=) :: MouseDragState -> MouseDragState -> Bool # |
data LMouseData Source #
Constructors
LMouseData | |
Instances
Show LMouseData Source # | |
Defined in Potato.Flow.Controller.Input Methods showsPrec :: Int -> LMouseData -> ShowS # show :: LMouseData -> String # showList :: [LMouseData] -> ShowS # | |
Eq LMouseData Source # | |
Defined in Potato.Flow.Controller.Input |
Constructors
MouseDrag | |
Fields |
mouseDrag_isActive :: MouseDrag -> Bool Source #
newDrag :: LMouseData -> MouseDrag Source #
continueDrag :: LMouseData -> MouseDrag -> MouseDrag Source #
cancelDrag :: MouseDrag -> MouseDrag Source #
newtype RelMouseDrag Source #
Constructors
RelMouseDrag MouseDrag |
Instances
Show RelMouseDrag Source # | |
Defined in Potato.Flow.Controller.Input Methods showsPrec :: Int -> RelMouseDrag -> ShowS # show :: RelMouseDrag -> String # showList :: [RelMouseDrag] -> ShowS # |
toRelMouseDrag :: OwlPFState -> XY -> MouseDrag -> RelMouseDrag Source #