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

WindowManager Mode Independence

WindowManager
» Technical Details
» Mode independence

Overview

Wimp applications should work at all screen resolutions and colour depths that the Wimp allows and should not set a particular screen mode upon loading.

To obtain details about the current screen mode, use OS_ReadVduVariables and use the returned values within the application.

Notification

The Wimp issues Message_ModeChange to which applications should respond so that any mode specific data can be changed.

Usage

The Wimp provides access to the current screen mode and also useful colour translations and scaling operations.

Notes:

  • Within 256 colour screen modes, some EOR plotting tricks do not work quite as expected.
  • Within 2 colour modes, the Wimp uses ECF patterns for Wimp colours 1 to 6 and it should be noted that some EOR plotting tricks do not work on these, and use of the Wimp_TransferBlock can cause alignment problems with the patterns.

See also

RISC OS has many guidelines on the mode independence. For a complete detailed guide, please see the RISC OS Style Guide.

Revised on April 24, 2014 13:53:05 by Jeffrey Lee (213) (195.72.173.131)
Edit | Back in time (3 revisions) | See changes | History | Views: Print | Source | Linked from: WindowManager Technical Details

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