Index

Package: Game_Views.Window_Hooks

Description

package Game_Views.Window_Hooks is

Subprograms & Entries

Initialize

procedure Initialize;

References:

game_views-window_hooks.ads:5:15 (declaration)
applications.adb:448:37 (reference)
game_views-window_hooks.adb:37:15 (body)
game_views-window_hooks.adb:59:9 (label)

Called by:

Applications.Init defined at applications.ads:113:14
Register window behavior hooks with Allegro.

Close_Window_Clicked

function Close_Window_Clicked return Boolean;

References:

game_views-window_hooks.ads:10:14 (declaration)
game_views-window_hooks.adb:63:14 (body)
game_views-window_hooks.adb:71:9 (label)
game_views.adb:316:25 (reference)

Called by:

Game_Views.Tick defined at game_views.ads:137:15
Returns True on the first call after the close window button has been clicked. For OS X this can also mean pressing Apple + Q or selecting Quit in the application's menu.