VScroller(3X) manual page
Table of Contents
VScroller - scroll an interactor vertically
VScroller is
used in VScrollBar and may not be useful otherwise.
#include <ivplus/scroller.h>
VScroller is an interactor that manipulates the perspective
of another interactor. This interactor is referred to as the associated
interactor. The vscroller is composed of a bar whose position and size reflect
the current origin and size in the interactor’s perspective, and a trough
in which the bar appears to slide. Clicking and dragging in the vscroller
modifies the associated interactor’s perspective. See Scroller(3X)
for a
description of mouse actions.
VScroller->Scroller->Interactor
Create a VScroller object of a given width and associate
it with the given interactor.
Handles
events to move the vscroller and adjust the perspective of the interactor
for which the vscroller is associated.
Attempts to match the string passed in with the list of possible
actions for this interactor. The list is supplied by VScrollBar. See the
"DEFAULT KEYBOARD TRANSLATIONS"
section in VScrollBar(3X)
for a list of
the interpreted strings.
Redisplay the vscroller to
reflect a change in the associated interactor’s perspective.
This
operation draws the background or trough of the vscroller with the passed
left, bottom, right and top coordinates.
Sets
the scroller’s perspective to be the same as the associated interactor’s
perspective.
None.
No example. It is only a component
inside a ScrollBar.See HScrollBar(3X)
and VScrollBar(3X)
for examples.
scroller.h
HScroller(3X)
, Interactor(3X)
, Perspective(3X)
, Scroller(3X)
, VScrollBar(3X)
.
Table of Contents