home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
YPA: Your Privacy Assured
/
YPA.ISO
/
other_goodies
/
utilities
/
amigaguid.lha
/
AmigaGuide
/
AG_V39
/
Source
/
HyperBrowser
/
bitmap.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-08
|
798b
|
33 lines
/* bitmap.c
*
* (c) Copyright 1992 Commodore-Amiga, Inc. All rights reserved.
*
* This software is provided as-is and is subject to change; no warranties
* are made. All use is at your own risk. No liability or responsibility
* is assumed.
*
*/
#include "hyperbrowser.h"
/*****************************************************************************/
STRPTR DumpBitMapFlags (struct GlobalData *gd, struct Screen *scr)
{
UBYTE buffer[256];
ULONG value;
memset (buffer, 0, sizeof (buffer));
value = GetBitMapAttr (scr->RastPort.BitMap, BMA_FLAGS);
if (value & BMF_DISPLAYABLE)
strcat (buffer, "displayable ");
if (value & BMF_INTERLEAVED)
strcat (buffer, "interleaved ");
if (value & BMF_STANDARD)
strcat (buffer, "standard ");
return (buffer);
}