[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | AMIGA NOTES |
Notice: | Join us in the *NEW* conference - HYDRA::AMIGA_V2 |
Moderator: | HYDRA::MOORE |
|
Created: | Sat Apr 26 1986 |
Last Modified: | Wed Feb 05 1992 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 5378 |
Total number of notes: | 38326 |
1141.0. "layers.library/ScrollLayer" by NAC::VISSER () Mon Feb 08 1988 09:57
Does anyone know how to use the Layers library?
I have a screen with a superbitmap window on it, and I want
to scroll the superbitmap under the window. So I need the function
ScrollLayer. This function's input are:
(pointer to LayerInfo structure, a non-backdrop layer, deltaX, deltaY)
Fine. What layer info structure? What non-backdrop layer? I didn't
(explicitly) use any layers in the program (I know that's where the
windowing system comes from). My guess, after reading the RKM, etc.,
is that I must create an instance of a layer info structure, probably
using NewLayer (does the init), and then supply the window's layer
pointer as the second argument. The system locks/unlocks the layers
automatically, according to RKM, so no need for those calls.
Anyone?
Thanks, John
T.R | Title | User | Personal Name | Date | Lines |
---|
1141.1 | FF knows how | ELWOOD::PETERS | | Mon Feb 08 1988 13:39 | 8 |
|
There is a very good example of scrolling super bitmaps
on an early Fred Fish disk. I will look for it tonight and
upload it.
Steve Peters
|
1141.2 | | NAC::VISSER | | Mon Feb 08 1988 13:47 | 1 |
| Great! Thanks.
|
1141.3 | FF28 and FF33 | ELWOOD::PETERS | | Tue Feb 09 1988 01:29 | 19 |
|
I have uploaded two examples tonight.
1) MVCAD3::user0:[amiga.ff28]superb.arc "superbitmap"
2) MVCAD3::user0:[amiga.ff33]bigmap.arc
There is a third example on FF05 I will get uploaded soon.
For anyone interested I uploaded all of FF28 and FF33. FF33
contains 11 intersting programs including SDB ( database ),
a couple of utilities ( memview, diskmapper ) and a couple of
fun demo programs ( Oing, Sproing ).
Steve Peters
|
1141.4 | | AIKITS::WISNER | | Tue Apr 19 1988 16:07 | 3 |
| Does ScrollLayer actually move the data in the BitMap? Or
are the XOffset and YOffset's modified, moving your viewing window
to a different section of the SUPERBITMAP?
|
1141.5 | | ELWOOD::PETERS | | Tue Apr 19 1988 17:13 | 7 |
|
ScrollLayer seems to move your view window. The tests I did
with a SUPERBITMAP allow you to draw anywhere in the bitmap and
the scroll over the entire bitmap area.
Steve Peters
|