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

OS_Word 21_1

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_Word
» OS_Word 21
» OS_Word 21,1

OS_Word 21,1

(SWI &07)
Entry
R0 21 (&15)
R1 Pointer to 9-byte block
Exit
R0 Preserved
R1 Preserved

Use

The purpose of this call is to define the mouse coordinate bounding box, relative to the graphics origin.

Notes

This OS_Word defines the mouse coordinate bounding box, relative to the graphics origin. It is ignored if (left > right) or (top > bottom).

left = bottom = &8000, right = top = &7FFF gives an infinite box.

If outside the box, the current mouse position is homed to the nearest point inside. When read all buffered coordinates are similarly moved within the box. The box is set to the size of the screen on mode changes.

See also

  • OS_Word
  • OS_Word 21
  • OS_Word 21,1 Block
Created on December 4, 2009 23:36:15 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS_Word 21, OS_Word 21_1 Block

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