Index

Package: Gui

Description

package Applications.Gui is
Copyright (c) 2012 Kevin Wellwood All rights reserved. This source code is distributed under the Modified BSD License. For terms and conditions, see license.txt.

Classes

Gui_Application (abstract)

type Gui_Application is abstract new Application with private;

Ancestors:

Immediate Children:

Primitive operations:

Applications.Construct (Inherited)
Applications.Delete (Inherited)
Applications.Run (Inherited)
Construct
Finalize (overriding Applications.Finalize)
Initialize (overriding Applications.Initialize)
Objects.Construct (Inherited)
Objects.To_String (Inherited)
Show_Error (overriding Applications.Show_Error)
An abstract application class with a single window for graphics and mouse/keyboard facilities.

Types

A_Gui_Application

type A_Gui_Application is access all Gui_Application'Class;

Subprograms & Entries

Get_Display

function Get_Display
( this: not null access Gui_Application'Class ) return A_Allegro_Display;
Returns the Allegro display backing the application's window.

Is_Mouse_Enabled

function Is_Mouse_Enabled
( this: not null access Gui_Application'Class ) return Boolean;
Returns True if the mouse is enabled for the application, allowing it to be drawn in fullscreen mode and for mouse events to be generated.