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

Filter_RegisterRectFilter

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Filter Manager
» SWI Calls
» Filter_RegisterRectFilter

Filter_RegisterRectFilter

(SWI &42644)
Entry
R0 Pointer to zero terminated filter name
R1 Address of Pre Rectangle Filter Code
R2 Value to be passed to R12
R3 Task handle of task to which filter is applied, or 0 for all tasks
Exit
All registers preserved

Use

The purpose of this call is to add a new Wimp_GetRectangle filter to the list of pre-filters. This filter is called just before the drawing of a rectangle begins, before the window background has been filled, and before the VDU graphics window has been set up.

Notes

The address pointed to by R1 will be called whenever the task who’s handle is passed in R3 calls Wimp_GetRectangle with R12 equal to the value of R2 when this SWI is called.

See also

  • Filter_DeRegisterRectFilter
Created on September 20, 2009 22:16:12 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: The Filter Manager SWI Calls, Filter_DeRegisterRectFilter, Pre Rectangle Filter Code

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