🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.amiga.tech
6 messages
6 total messages Started by Michael A. Carpenter OSBU North Fri, 14 Dec 1990 17:19
Scrollable text windows
#7533
Author: Michael A. Carpenter OSBU North
Date: Fri, 14 Dec 1990 17:19
14 lines
1133 bytes
I am looking for some example source code for scrollable text windows.  What
I mean by this is a window like a text editor has, with a scroll bar and
scrolling gadgets on one side, so you can use the mouse to scroll through
the text in the window.  

I would like to use such a window as a message window in another program.  
Does anyone know where I could get such a source code example?  I can ftp,
so pointers to ftp sites are fine.  C language is preferable...

Thanks

Michael
Please reply via e-mail:
carpente@parc.xerox.com
Re: Scrollable text windows
#7552
Author: Dave Lowrey
Date: Tue, 18 Dec 1990 16:07
24 lines
1584 bytes
In article <677@roo.UUCP> carpente@corinth.UUCP (Michael A. Carpenter OSBU North) writes:
>I am looking for some example source code for scrollable text windows.  What
>I mean by this is a window like a text editor has, with a scroll bar and
>scrolling gadgets on one side, so you can use the mouse to scroll through
>the text in the window.  
>
>I would like to use such a window as a message window in another program.  
>Does anyone know where I could get such a source code example?  I can ftp,
>so pointers to ftp sites are fine.  C language is preferable...
>
>Thanks

Pick up a copy of the RKM: Libraries & Devices. In there they have a
very good routine to do what you want.

The code for the sample sources in the book are on a couple of fish
disks (I don't have my index with me right now, sorry).


-- 
                          |  These be my words, not my employer's!
"Dare to be stupid!:      |Dave Lowrey - Amdahl Corp. - Houston, TX
Weird Al Yankovik         |In Texas:  david@starsoft
                          |The World: dwl10@juts.ccc.amdahl.com
Re: Scrollable text windows
#7673
Author: Jonathan Woolsey
Date: Mon, 24 Dec 1990 01:57
5 lines
636 bytes
Why is it that no one implements smooth scrolling of text on the Amiga?
I can see that it might be slow, but is easy on the eyes

Jonathan
bryant@milton.u.washington.edu.
Re: Scrollable text windows
#7703
Author: Peter Kittel GERMANY
Date: Fri, 28 Dec 1990 17:23
10 lines
1071 bytes
In article <13421@milton.u.washington.edu> bryant@milton.u.washington.edu (Jonathan Woolsey) writes:
>Why is it that no one implements smooth scrolling of text on the Amiga?
>I can see that it might be slow, but is easy on the eyes

Oh, don't say "no one". Ever seen that program "MuchMore" used
on the Fish disks? Never seen a smoother scrolling before!

-- 
Best regards, Dr. Peter Kittel  // E-Mail to  \\  Only my personal opinions... 
Commodore Frankfurt, Germany  \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk
Re: Scrollable text windows
#7812
Author: Frank Thomas
Date: Thu, 03 Jan 1991 12:05
24 lines
1565 bytes
In <676@cbmger.UUCP> peterk@cbmger.UUCP (Peter Kittel GERMANY) writes:

>In article <13421@milton.u.washington.edu> bryant@milton.u.washington.edu (Jonathan Woolsey) writes:
>>Why is it that no one implements smooth scrolling of text on the Amiga?
>>I can see that it might be slow, but is easy on the eyes

>Oh, don't say "no one". Ever seen that program "MuchMore" used
>on the Fish disks? Never seen a smoother scrolling before!

That is true, but did you know that he is doing that with the processor.
He is doing it that way because he has to move 2 bitplanes. But if you do
this with the blitter (scrollRaster,or yourself) he moves the bitplanes
seperately which causes this well known color-flickering while moving the
stuff. The only way to do it with blitter and 2 bitplanes is to change
to bitplane modulo that way:
line of plane 1
line of plane 2
line of plane 1
line of plane 2
..
But this is only possible for games because you can not print to a screen
like that the normal way.

Frank
Re: Scrollable text windows
#7973
Author: Darren Greenwald
Date: Tue, 08 Jan 1991 18:18
20 lines
1685 bytes
In article <13421@milton.u.washington.edu> bryant@milton.u.washington.edu (Jonathan Woolsey) writes:
>Why is it that no one implements smooth scrolling of text on the Amiga?
>I can see that it might be slow, but is easy on the eyes
>
>Jonathan
>bryant@milton.u.washington.edu.

 I have seen it done; it works, though as you noted its slower - For
an 8 pixel high font, you'd be looking at eight times the number of
layer/scroll operations to scroll a pixel at a time.  For some
color combinations it doesn't look so hot (e.g., any color combinations
which require 2+ bit-planes to draw the characters in ... in the case
of pen 1, on pen 0 though its not too bad since the second plane
is all 0's).  If you've seen the color artifacting which is visible
with some color combinations when scrolling (latency as all the bit-planes
are shuffled), smooth scrolling can look terrible.

Another variation on this idea is to smooth scroll when moving slowly
through the text, but use faster scrolling as the user moves the scroll
bar faster.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads