Screen Functions

Statements and procedures that work with the graphics display.

Description
	These statements and procedures control the graphics capabilities of the 
	FreeBASIC graphics library. Screen modes can be set with varying 
	resolutions and color depths, window events can be handled, and specific 
	OpenGL procedures can be retrieved.

#MODESWorking with screen modes
	Procedures for setting and retrieving information about screen modes.
#PAGESWorking with pages
	Procedures that manipulate screen pages.
#MEMORYWorking video memory
	Procedures that provide direct access to framebuffer memory.
#METRICSScreen Metrics
	Procedures that control the way coordinates are interpreted.
#TYPESScreen Data Types
	Data types and data definitions for screen functions.

MODESWorking with screen modes
	KeyPgScreenlistScreenList
		Gets the available fullscreen resolutions.
	KeyPgScreengraphicsScreen (Graphics) and KeyPgScreenresScreenRes
		Sets a new graphics display mode.
	KeyPgScreeninfoScreenInfo
		Gets information about the system desktop or current display mode.
	KeyPgScreencontrolScreenControl
		Gets or sets internal graphics library settings.
	KeyPgScreeneventScreenEvent
		Gets system events.
	KeyPgScreenglprocScreenGLProc
		Returns the address of an OpenGL procedure.
	KeyPgWindowtitleWindowTitle
		Sets the running program's window caption.

PAGESWorking with pages
	KeyPgClsCls
		Clears the entire screen or viewport.
	KeyPgScreensetScreenSet
		Sets the current work and visible pages.
	KeyPgScreencopyScreenCopy and KeyPgPcopyPCopy and KeyPgFlipFlip
		Copies pixel data from one page to another.
	KeyPgScreensyncScreenSync
		Waits for the vertical refresh of the monitor.
MEMORYWorking video memory
	KeyPgScreenptrScreenPtr
		Gets the address of the working page's framebuffer.
	KeyPgScreenlockScreenLock
		Locks the current working page's framebuffer for direct access.
	KeyPgScreenunlockScreenUnlock
		Reverts a previous KeyPgScreenlockScreenLock command.

METRICSScreen Metrics
	KeyPgViewgraphicsView (Graphics)
		Sets a clipping region for all drawing and blitting procedures.
	KeyPgWindowWindow
		Sets a new coordinate mapping for the current viewport.
	KeyPgPmapPMap
		Converts coordinates between physical and view mappings.
	KeyPgPointCoordPointCoord
		Queries KeyPgDrawDraw's pen position.

TYPESScreen Data Types
	KeyPgEventEvent
		Data type for KeyPgScreeneventScreenEvent function.

