bgiRequestedRed

Returns the red component (0-255) from the last color or font dialog. Takes no parameters. Returns the value of global variable requestedRed.

BGI GUI

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Int

Quick Summary

Returns the red component (0-255) from the last color or font dialog. Takes no parameters. Returns the value of global variable requestedRed.

Technical Exegesis...

Returns the red component (0-255) from the last color or font dialog. Returns the value of global variable requestedRed. This value is set by bgiOpenColourDialog() or bgiOpenFontDialog() when user selects a color. Range is 0-255 (standard RGB byte value).

This function retrieves the integer red component of the most recently selected color. The requestedRed global is updated whenever bgiOpenColourDialog() or bgiOpenFontDialog() completes successfully (not on cancel).

Example

Example.bam
; No example implemented yet