🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.acorn.tech
Article #226

Redraws on palette changes ?

#226
From: John Kortink
Date: Wed, 07 Oct 1992 12:13
25 lines
1416 bytes
ericl@cs.kuleuven.ac.be (Eric Lafortune) writes :

>John Tytgat writes :
>
>Does this mean that when a Wimp program changes a colour in a 16 colour
>mode using "VDU 19, <colour number>, 16, <red>, <green>, <blue>", the
>palette utility automatically issues a redraw of the screen ???
>
>I guess it has to mean something different because such a VDU 19,...
>sequence *does not* generate a redraw neither is there a broadcast
>message Message_PaletteChange (using Risc OS 2.0) being send.
>
>Is this a bug or do I misinterprete the PRMs ???

You misinterpret the PRM's. The WIMP does not know about palette changes
made with VDU 19. In a WIMP environment, Wimp_SetPalette should be used,
and this does have the effect described. Obviously the palette utility
uses Wimp_SetPalette.


John Kortink

Student of Informatics at the University of Twente, The Netherlands
(God, will I ever stop doing things 'on the side' and get it done?)
NETMAIL : kortink@cs.utwente.nl              DISCLAIMER : the usual
Technical Details
Message-ID: <1992Oct7.121327.27758@cs.utwente.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!utrcu1!infnews!kortink

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.acorn.tech
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!utrcu1!infnews!kortink
From: kortink@cs.utwente.nl (John Kortink)
Subject: Redraws on palette changes ?
Message-ID: <1992Oct7.121327.27758@cs.utwente.nl>
Sender: usenet@cs.utwente.nl
Nntp-Posting-Host: utis96
Organization: University of Twente, Dept. of Computer Science
Date: Wed, 7 Oct 1992 12:13:27 GMT
Lines: 25