RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Page "Archimedes+Hardware" does not exist. Please create it now, or hit the "back" button in your browser.

AutoScroll Block

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» 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 April 3, 2011 15:48:07 by Colin (478)? (188.223.24.24)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: Wimp_AutoScroll, AutoScroll Status Flags, AutoScroll Entry Flags

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 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