home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!spool.mu.edu!uwm.edu!rutgers!cbmvax!peter
- From: peter@cbmvax.commodore.com (Peter Cherna)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Ways to get hold of system gadget images ?
- Message-ID: <37879@cbmvax.commodore.com>
- Date: 14 Dec 92 22:35:38 GMT
- References: <1992Dec11.202213.22176@ida.liu.se>
- Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
- Organization: Commodore-Amiga, Inc. West Chester, PA.
- Lines: 29
-
- In article <1992Dec11.202213.22176@ida.liu.se> d90magri@odalix.ida.liu.se (Magnus Rindeberg) writes:
- >Well, the title really says it all... Does anyone know of a way to get
- >a pointer to the system gadgets "UPIMAGE" and "DOWNIMAGE", i.e. to
- >their "Image" structure. I am trying tmake a scroller gadget but don't
- >really want to draw the arrows myself, I'd much rather use the default
- >images if it is possible.
-
- There is a boopsi image class called "sysiclass" that supplies these
- images. You get them with the NewObject() call. "sysiclass" images
- require a SYSIA_DrawInfo tag, whose value you got back from
- GetScreenDrawInfo() for the screen your application opens on.
-
- upimage = NewObject( NULL, "sysiclass",
- SYSIA_DrawInfo, dri,
- SYSIA_Which, UPIMAGE,
- TAG_DONE );
-
- ...
-
- DisposeOjbect( upimage );
-
- >Magnus Rindeberg, student of computer science and technology
-
- Peter
- --
- Peter Cherna, User Interface Development Group, Commodore-Amiga, Inc.
- {uunet|rutgers}!cbmvax!peter peter@cbmvax.commodore.com
- My opinions do not necessarily represent the opinions of my employer.
- "Opinions enlarged to show detail"
-