vkf_viewer_scroll Interface

interface


Called by

interface~~vkf_viewer_scroll~~CalledByGraph interface~vkf_viewer_scroll vkf_viewer_scroll proc~scroll WindowProxy%scroll proc~scroll->interface~vkf_viewer_scroll

public function vkf_viewer_scroll(viewer, dy) bind(C, name="vkf_viewer_scroll")

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: viewer

viewer handle (vkf_viewer_create)

real(kind=c_float), value :: dy

the scroll amount: > 0 away from the user

Return Value integer(kind=c_int)

Description

A scroll wheel event from the host's window. Returns 0, or -1 on failure.