🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Flicker-free Icon updating

#435
From: SMARTIN
Date: Mon, 28 Sep 1992 09:36
24 lines
1680 bytes
I am writing an application that requires a number of text icons to be
updated fairly regularly (frequency definable by the user). Currently, I
am using the SWI SetIconState with zero arguments to force an update, but
if the update frequency is more than a few frames per second, the flicker
is quite intolerable with or without icon borders. I have also tried the
SWIs ForceRedrawWindow and UpdateWindow (names may be slightly wrong), but
this does not improve things. My question is, is it possible to use the old
GCOL type tricks by EORing text into the Icon? If so, how is this done ?
If not, will updating the Icon as a Sprite help ?

Any other hints on how I could rid myself of this annoying flicker would be
greatly appreciated.

I am sure that all this information is in the PRMs, but I am reluctant to get
a copy until the RO3 version is available (I have an A5000).
I am sort of hoping that if will be available for the Acorn User Show (which
fortunately coincides with my next visit to England :-)). Is this a real
possibility, or am I living in dream world ?

-----------------------------------------------------------------
Stuart Martin (Logica at ESOC)     smartin@esoc.bitnet

Any opinions expressed in the above posting are in no way intended to
represent the official opinions of either Logica or ESOC.
Technical Details
Message-ID: <92272.103620SMARTIN@ESOC.BITNET>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!blekul11!frmop11!dearn!esoc!smartin

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!blekul11!frmop11!dearn!esoc!smartin
Organisation: European Space Operation Centre (E.S.O.C)
Date: Monday, 28 Sep 1992 10:36:20 CET
From: <SMARTIN@ESOC.BITNET>
Message-ID: <92272.103620SMARTIN@ESOC.BITNET>
Newsgroups: comp.sys.acorn.tech
Subject:    Flicker-free Icon updating
Lines: 24