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

Window Block

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_CreateWindow
» Window Block

Window Block

Offset Contents
+0 Visible area minimum x (inclusive)
+4 Visible area minimum y (inclusive)
+8 Visible area maximum x (exclusive)
+12 Visible area maximum y (exclusive)
+16 Scroll x offset
+20 Scroll y offset
+24 Window Locations
+28 Window Flags
+32 Title foreground and window frame colour1
+33 Title background colour
+34 Work area foreground colour
+35 Work area background colour2
+36 Scroll bar outer colour
+37 Scroll bar Slider colour
+38 Title background colour (input focus)
+39 Extra Window Flags
+40 Work area minimum x
+44 Work area minimum y
+48 Work area maximum x
+52 Work area maximum y
+56 Title Bar Icon Flags
+60 Window Button Types
+64 Sprite area control block pointer (+1 for Wimp sprite area)
+68 Minimum width of window (2 bytes)
+70 Minimum height of window (2 bytes)
+72 Title data (Icon Data)
+84 Number of icons in initial definition (0 or more)
+88 0 or more Icon Block (32 bytes each)

1 Value at +32 sets the Title Foreground and window frame colour, however, if the value is &FF then the window will have no frame, but window furniture will still be present.

2 Value at +35 sets the work area background colour, however, if the value is &FF then the Wimp will not clear the rectangles during a redraw operation.

See also

  • Wimp_CreateWindow
  • Wimp_OpenWindow
Revised on January 11, 2010 22:18:07 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (6 revisions) | See changes | History | Views: Print | Source | Linked from: Wimp_CreateWindow, Window Locations, Window Flags, Window Stacks, Extra Window Flags, Window Button Types, Text Sprite Justification, Wimp_GetWindowInfo

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