🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #1545

Re: xlib04 & scrolling

#1545
From: Kludge
Date: Thu, 24 Dec 1992 01:00
17 lines
1179 bytes
In article <1h8k64INN271@ub.d.umn.edu> cbusch@ub.d.umn.edu (Chris) writes:
>
>   Is "real" scrolling available thru xlib04 graphics library.  My
>question boils down to this:  is there 4 different VRAM move routines,
>one for each direction?  Instead of just a showpage(int) routine that
>respositions the virtual screen.
>
>-cbusch@ub.d.umn.edu


  No - it's not necessary.  There's a couple of routines that can do what
you want: x_cp_vid_rect() and x_shift_rect().  Use the second one for
scrolling, since it won't overwrite what it hasn't written yet.  
NOTE: It will *not* do smooth x-coord. scrolling - the x coordinates you
give it are rounded to the nearest 4 pixels.

								--Kludge
Technical Details
Message-ID: <1992Dec24.010024.2497@u.washington.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!cs.ubc.ca!uw-beaver!news.u.washington.edu!hardy.u.washington.edu!kludge
References: <1h8k64INN271@ub.d.umn.edu>

Show Full Headers
Complete Article Headers
Newsgroups: rec.games.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!cs.ubc.ca!uw-beaver!news.u.washington.edu!hardy.u.washington.edu!kludge
From: kludge@hardy.u.washington.edu (Kludge)
Subject: Re: xlib04 & scrolling
Message-ID: <1992Dec24.010024.2497@u.washington.edu>
Sender: news@u.washington.edu (USENET News System)
Organization: University of Washington, Seattle
References: <1h8k64INN271@ub.d.umn.edu>
Date: Thu, 24 Dec 1992 01:00:24 GMT
Lines: 17