Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GPR_$INQ_VISIBLE_BUFFER           GPR Calls            GPR_$INQ_VISIBLE_BUFFER


NAME
     gpr_$inq_visible_buffer - tells you whether the primary or the buffer
     bitmap is currently being displayed.

FORMAT
     gpr_$inq_visible_buffer (bitmap, status)

DESCRIPTION
     This routine tells you whether it is the primary bitmap or the buffer
     bitmap that is currently being displayed.  Use the
     gpr_$inq_visible_buffer call to determine whether the primary bitmap or
     the buffer bitmap is visible.

     If you call gpr_$inq_visible_buffer before creating a buffer bitmap, the
     system will return the current bitmap (without returning an error).

     If clipping is active, portions of both bitmaps may be visible at the
     same time.  In this case, the value returned into the bitmap parameter
     will be the bitmap which was last made visible.

   Output Parameters
     bitmap
          The descriptor, gpr_$bitmap_desc_t format, of either the primary
          bitmap or the buffer bitmap, whichever was last made visible.
          gpr_$bitmap_desc_t format is a 4-byte integer.

     status
          Completion status, in status_$t format.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026