Article View: comp.windows.interviews
Article #531Re: I dont understand a Deck in 3.1B
From: Doug Pan
Date: Wed, 26 Aug 1992 17:12
Date: Wed, 26 Aug 1992 17:12
21 lines
1524 bytes
1524 bytes
In article <1992Aug20.093137.15433@cssc-syd.tansu.com.au> richardf@cssc-syd.tansu.com.au (Richard Favero) writes: Path: leland.Stanford.EDU!stanford.edu!ames!haven.umd.edu!uunet!munnari.oz.au!deakin.OZ.AU!cs.uow.edu.au!cssc-woll.tansu.com.au!cssc-syd.tansu.com.au!richardf From: richardf@cssc-syd.tansu.com.au (Richard Favero) Newsgroups: comp.windows.interviews Date: 20 Aug 92 09:31:37 GMT Organization: Customised Software Solutions Centres, AOTC Lines: 11 > When I flip to another of the members of the deck they do not display until > the mouse goes across. > > Do I have to do something to get them to draw straight after the flip_to? Deck::flip_to (intentionally) does not damage the canvas occupied by the previous card. Calling Canvas::damage will update the canvas occupied by the Deck upon the next draw traversal. Try wrapping the Deck in a Patch and call Patch::redraw, which calls Canvas::damage with the correct size information, after Deck::flip_to. --Doug
Technical Details
Message-ID:
<PAN.92Aug26171223@panda.Stanford.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!leland!panReferences:
<1992Aug20.093137.15433@cssc-syd.tansu.com.au>Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!leland!pan From: pan@panda.Stanford.EDU (Doug Pan) Subject: Re: I dont understand a Deck in 3.1B In-Reply-To: richardf@cssc-syd.tansu.com.au's message of 20 Aug 92 09:31:37 GMT Message-ID: <PAN.92Aug26171223@panda.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: Stanford University References: <1992Aug20.093137.15433@cssc-syd.tansu.com.au> Date: 26 Aug 92 17:12:23 Lines: 21