Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GPR_$INQ_FOREGROUND               GPR Calls                GPR_$INQ_FOREGROUND


NAME
     gpr_$inq_foreground - returns the foreground color of the window.

FORMAT
     fg_color := gpr_$inq_foreground (status)

DESCRIPTION
     This routine returns the foreground color of the window open to the
     current process.

     The foreground color is the color used for the window border and legend.
     It is also the default draw value.

   Return
     fg_color
           The foreground color of the window open to the current process.
          The
           foreground color is the color of the window border and legend.  The
          foreground
           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 only be used in direct and frame modes.

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