home *** CD-ROM | disk | FTP | other *** search
- #include <exec/types.h>
- #include <proto/intuition.h>
- #include <graphics/gfxbase.h>
- #include <hardware/custom.h>
-
- extern struct GfxBase *GfxBase;
-
-
- /*
- ** Enable or disable black border on all screens, 3.0+ only
- **
- */
-
- __regargs void
- ToggleBlackBorder( BOOL toggle )
- {
- if (toggle)
- {
- GfxBase->BP3Bits |= BPLCON3_BRDNBLNK;
- }
- else
- {
- GfxBase->BP3Bits &= ~BPLCON3_BRDNBLNK;
- }
- RemakeDisplay();
- }
-
-