🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #645

Hot to make animations with IV3.1 (Beta 3)?

#645
From: Martin Horneffer
Date: Sun, 11 Oct 1992 12:05
22 lines
1329 bytes
Sorry if this is a FAQ, but I really didn't find it out myself...

How can I program some sort of little animations with InterViews?

I.e. I have some Glyphs that change their appearance or they position relative
to each other and I want this to be displayed to the user as a simple animation.

What I did was to look at examples/zoomer and to do it like that, i.e. using
two patches, redraw(), reallocate() and readraw(). But the changes will not
be displayed unless I resize the window. What am I missing?

My application does not inherit Adjustable; it computes the changes itself
and is not bound to an Adjuster.

canvas->damage_all() or window->repair() and display->flush() didn't help
either.

Hoping for help,  Martin
-- 
  Martin Horneffer - maho@dfv.rwth-aachen.de;
      ECG 148        Fido: 2:242/7.9; Martin_Horneffer@mowgli.fido.de;
                     Maus: AC, AC2; Martin_Horneffer@ac.maus.de
Technical Details
Message-ID: <1992Oct11.120542.3065@dfv.rwth-aachen.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!dfv.rwth-aachen.de!maho

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!dfv.rwth-aachen.de!maho
From: maho@dfv.rwth-aachen.de (Martin Horneffer)
Subject: Hot to make animations with IV3.1 (Beta 3)?
Message-ID: <1992Oct11.120542.3065@dfv.rwth-aachen.de>
Organization: Communication Networks
Date: Sun, 11 Oct 1992 12:05:42 GMT
Lines: 22