Index

Package: Window_Hooks

Description

package Game_Views.Window_Hooks is

Subprograms & Entries

Close_Window_Clicked

function Close_Window_Clicked return Boolean;
Returns True on the first call after the user attempts to close the application window. In Windows, this is when the user clicks the close button on the window or presses Alt+F4. In OS X, this is when the user clicks the red close button on the window, presses Apple+Q, or selects Quit from the application's menu bar.

Initialize

procedure Initialize;
Registers window behavior hooks with Allegro.

Finalize

procedure Finalize;
Unregisters the window behavior hooks with Allegro.