AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/e/dbuffer.lha

Mirror:Random
Showing: i386-amithlon icongeneric icon
No screenshot available
Short:Easy double buffering of screens
Author: ralf.quimby at quancon.com
Uploader:ralf quimby quancon com
Type:dev/e
Architecture:m68k-amigaos
Date:1997-01-26
Download:dev/e/dbuffer.lha - View contents
Readme:dev/e/dbuffer.readme
Downloads:643

This is my attempt at doublebuffering made easy.
I swiped the code from the RKRM source Intuition/Screens/Doublebuffer.e.
I rearanged the routines into 3 easy to use commands and one OBJECT.

Usage:
DEF p:PTR TO dscreen
p:=opendscreen(ns)  -> ns is a pointer to a newscreen object (ns) works just like OpenScreen(ns)
->your render routines
dswitch(p)  -> toggles displays
closedscreen(p) ->closes the screen

If you need to access any of the screen object
Normal screen :myscreen.whatever
dscreen       :mydscreen.screen.whatever




This is usable by all who want. All I ask is let me know.

my e-mail address is ralf.quimby@quancon.com.


Contents of dev/e/dbuffer.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  606    1817  33.4% -lh5- 10da Jan 22  1997 doublebuffer.e
[generic]                  553    1416  39.1% -lh5- 329d Jan 22  1997 doublebuffer.m
[generic]                  427     764  55.9% -lh5- 3512 Jan 25  1997 doublebuffer.readme
[generic]                  995    2112  47.1% -lh5- 8122 Jan 25  1997 doubletest
[generic]                  457    1053  43.4% -lh5- ba5a Jan 25  1997 doubletest.e
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files    3038    7162  42.4%            Jan 26  1997
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>