🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #468

Add Graphics Dynamically Erases Previous Ones.

#468
From: Chittathoor M. Sriram
Date: Thu, 13 Aug 1992 21:07
38 lines
1867 bytes
Dear IV Users,

        You would Have Probably seen this posting before. In fact one
        gentleman  by the name Mr. Doug Pan had replied to me with a
        solution. It was to change my program to remember the previous
        Graphics Drawn Every time I add One and Redraw the whole thing
        GOing through my list of previously drawn graphics.

        I really appreciate the solution but in fact I started wondering
        if that is the only way to accomplish my goal. If in fact it is
        I am kind of surprised by the fact that In 2.6 that was not the
        case. I could add Graphics whenever I want by invoking

        output->Rect (................) and the new Rectangle used
        to be displayed at the position specified without erasing
        previous ones.


        Why then the same thing does not happen in 3.0 With Out 2.6
        Compatibility (Pure Glyph Based).
        Is it because of the way the IV 3.0 is implemented  differently as
        regards drawing on the Screen.

        Even putting a Case statement in my virtual draw function of my
        derived Glyph has no effect (for example If it the first time
        Refresh the Glyph else just append the new Rectangle).

        Am I overlooking any simple fact.


        I really need your advice on this issue.


Once Thanks to those who have answered my Previous question.


Sriram Chittathoor.
Technical Details
Message-ID: <9208132107.AA02725@sparc0.brc.uconn.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!brc.uconn.edu!sriram

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!brc.uconn.edu!sriram
From: sriram@brc.uconn.edu (Chittathoor M. Sriram)
Subject: Add Graphics Dynamically Erases Previous Ones.
Message-ID: <9208132107.AA02725@sparc0.brc.uconn.edu>
Sender: news@shelby.stanford.edu (USENET News System)
Organization: Internet-USENET Gateway at Stanford University
Date: Thu, 13 Aug 1992 21:07:26 GMT
Lines: 38