Globals in SDL.carp.SDL.MouseState

copy

instantiate

(Fn [(Ref SDL.MouseState a)] SDL.MouseState)

copies a MouseState.

delete

instantiate

(Fn [SDL.MouseState] ())

deletes a MouseState. Should usually not be called manually.

get

defn

(Fn [] SDL.MouseState)

                        (get)
                    

init

instantiate

(Fn [Int, Int, Bool, Bool] SDL.MouseState)

creates a MouseState.

left

instantiate

(Fn [(Ref SDL.MouseState a)] (Ref Bool a))

gets the left property of a MouseState.

prn

instantiate

(Fn [(Ref SDL.MouseState a)] String)

converts a MouseState to a string.

instantiate

(Fn [(Ref SDL.MouseState a)] (Ref Bool a))

gets the right property of a MouseState.

set-left

instantiate

(Fn [SDL.MouseState, Bool] SDL.MouseState)

sets the left property of a MouseState.

set-left!

instantiate

(Fn [(Ref SDL.MouseState a), Bool] ())

sets the left property of a MouseState in place.

set-right

instantiate

(Fn [SDL.MouseState, Bool] SDL.MouseState)

sets the right property of a MouseState.

set-right!

instantiate

(Fn [(Ref SDL.MouseState a), Bool] ())

sets the right property of a MouseState in place.

set-x

instantiate

(Fn [SDL.MouseState, Int] SDL.MouseState)

sets the x property of a MouseState.

set-x!

instantiate

(Fn [(Ref SDL.MouseState a), Int] ())

sets the x property of a MouseState in place.

set-y

instantiate

(Fn [SDL.MouseState, Int] SDL.MouseState)

sets the y property of a MouseState.

set-y!

instantiate

(Fn [(Ref SDL.MouseState a), Int] ())

sets the y property of a MouseState in place.

str

instantiate

(Fn [(Ref SDL.MouseState a)] String)

converts a MouseState to a string.

update-left

instantiate

(Fn [SDL.MouseState, (Ref (Fn [Bool] Bool a) b)] SDL.MouseState)

updates the left property of a SDL.MouseState using a function f.

update-right

instantiate

(Fn [SDL.MouseState, (Ref (Fn [Bool] Bool a) b)] SDL.MouseState)

updates the right property of a SDL.MouseState using a function f.

update-x

instantiate

(Fn [SDL.MouseState, (Ref (Fn [Int] Int a) b)] SDL.MouseState)

updates the x property of a SDL.MouseState using a function f.

update-y

instantiate

(Fn [SDL.MouseState, (Ref (Fn [Int] Int a) b)] SDL.MouseState)

updates the y property of a SDL.MouseState using a function f.

x

instantiate

(Fn [(Ref SDL.MouseState a)] (Ref Int a))

gets the x property of a MouseState.

y

instantiate

(Fn [(Ref SDL.MouseState a)] (Ref Int a))

gets the y property of a MouseState.