Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gpr_inq_background(A) — Apollo Domain/OS SR10.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GPR_$INQ_BACKGROUND               GPR Calls                GPR_$INQ_BACKGROUND


NAME
     gpr_$inq_background - returns the background color of the window.

FORMAT
     bg_color := gpr_$inq_background (status)

DESCRIPTION
     This routine returns the background color of the window open to the
     current process.  The background color is the color used for the Display
     Manager window background.  This is not the bitmap color. Use of
     gpr_$clear will not change this value.

   Return
     bg_color
          The background color of the window open to the current process.  The
          background color is returned in gpr_$pixel_value_t format.  This is
          a 4-byte integer.

   Output Parameters
     status
          Completion status, in status_$t format.

NOTES
     This function can be used in only direct and frame modes. It returns  the
     following error if it is used in borrow mode:

        no such rectangle property key  (graphics/rectangle manager).

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