RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

AutoScroll Block

WindowManager
» SWI Calls
» Wimp_AutoScroll
» AutoScroll Block

AutoScroll Block

Offset Contents
+0 Window handle of window to scroll
+4 Left pause zone width
+8 Bottom pause zone height
+12 Right pause zone width
+16 Top pause zone height
+20 Pause duration in centiseconds
-1 configured pause length, or
0 no pause, or
Other durations in centiseconds
+24 State change handler
0 none, or
1 use Wimp’s pointer shape routine, or
>1 pointer to a routine
+28 Handle. Value to pass in R12 to state change handler routine (if applicable)

Notes

This block is used in conjunction with Wimp_AutoScroll to specify how automatic scrolling is handled by an application (if bit 0 or bit 1 is set).

Zone sizes are in OS units, and are ignored unless the relevant flag bit is set. A sensible default for these is 80.

The state change handler is entered every time the status flags change with r0 = old status flags, r1= new status flags and r12=AutoScroll block handle.

The wimp’s default routine changes the pointer shape of the pointer depending on the status flags.

See also

  • AutoScroll Entry Flags
  • AutoScroll Status Flags
  • Scroll_Requests
  • Wimp_AutoScroll
Revised on December 9, 2013 14:36:40 by Jeffrey Lee (213) (91.84.11.161)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: Wimp_AutoScroll, AutoScroll Status Flags, AutoScroll Entry Flags

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys