AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Reason     Action
0     Read defaults
1     Read window border thickness
2     Read window handle of requester window
3     Find validation command
4     Read 3D border colour command type

Provided by Kernel
Read defaults
Entry
     R0 = 0
     R1 -> block to contain values (64 bytes long)
Exit
     R1 +  0 = bottom-right colour (4)
     R1 +  4 = top-left colour (0)
     R1 +  8 = in colour for sync buttons (14)
     R1 + 12 = channel colour (12)
     R1 + 16 = minimum slabbing time (15)
     R1 + 20 = flags :
           bit     meaning
           0-31     reserved
     R1 + 24 = in colour for async buttons (2)

Reads in the default values from the 3DIcons library as specified by *WimpExt Colours. The block should be at least 64 bytes long, to allow room for future expansion. If 3DIcons is not loaded an error will occur.
Read window border thickness
Entry
     R0 = 1
Exit
     R2 = title thickness (OS Units)
     R3 = vertical scrollbar thickness (OS Units)
     R4 = horizontal scrollbar thickness (OS Units)

Reads the thickness of the window borders. Needed because on RISC OS 3 Acorn rather stupidly decided to make it so that you can change their thickness.
Read window handle of requester window
Entry
     R0 = 2
Exit
     R0 = window handle, or -1 if requester window is closed

Reads the window handle of the requester window.
Find validation command
Entry
     R0 = 3
     R1 -> validation string
     R2 = validation character to find (prefixed with w)
Exit
     R1 -> parameters of command, or 0 if command not found

Searches a validation string for a w<character> commmand.
Read 3D border colour command type
Entry
     R0 = 4
Exit
     R0 = 0 (type) or -1 if 3DIcons is not loaded

[sh-index] Back to list of manuals