HScroller(3X) manual page
Table of Contents
HScroller - scroll an interactor horizontally
HScroller is
used in HScrollBar and may not be useful otherwise.
#include <ivplus/scroller.h>
HScroller is an interactor that manipulates the perspective
of another interactor. This interactor is referred to as the associated
interactor. The scroller 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 hscroller
modifies the associated interactor’s perspective. See Scroller(3X)
for a
description of mouse actions.
HScroller->Scroller->Interactor
Create an HScroller object of a given height
and associate it with the given interactor.
This operation handles the mouse events and calls the private
operation Slide() to move the hscroller and adjusts the perspective of
the interactor of the associated hscroller.
Attempts to match the string passed in with the list of possible
actions for this interactor. The list is supplied by HScrollBar. See the
"DEFAULT KEYBOARD TRANSLATIONS"
section in HScrollBar(3X)
for a list of
the interpreted strings.
Redisplays the hscroller
to reflect a change in the associated interactor’s perspective.
This operation draws the background or trough of the hscroller
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 for this class. It is a
component inside a scrollbar. See HScrollBar(3X)
and VScrollBar(3X)
for
examples.
scroller.h
HScrollBar(3X)
, Interactor(3X)
, Perspective(3X)
, Scroller(3X)
,
VScroller(3X)
.
Table of Contents