Record ALLEGRO_DISPLAY_EVENT

Hierarchy
Methods
Properties

Unit

Declaration

type ALLEGRO_DISPLAY_EVENT = record

Description

Contains display events information.

See also
ALLEGRO_EVENT
An ALLEGRO_EVENT is an union of all builtin event structures, i.e.

Overview

Fields

ftype: ALLEGRO_EVENT_TYPE;
source: ALLEGRO_DISPLAYptr;
timestamp: AL_DOUBLE;
x: AL_INT;
y: AL_INT;
width: AL_INT;
height: AL_INT;
orientation: AL_INT;

Description

Fields

ftype: ALLEGRO_EVENT_TYPE;

Indicates the type of event.

source: ALLEGRO_DISPLAYptr;

The display that generated the event.

timestamp: AL_DOUBLE;

When the event was generated.

x: AL_INT;

The left side of the rectangle which was exposed or the position of the top-level corner of the display.

y: AL_INT;

The top side of the rectangle which was exposed or the position of the top-level corner of the display.

width: AL_INT;

The width of the rectangle which was exposed or the new size of the display.

height: AL_INT;

The height of the rectangle which was exposed or the new size of the display.

orientation: AL_INT;

Contains one of the following values:

  • ALLEGRO_DISPLAY_ORIENTATION_0_DEGREES

  • ALLEGRO_DISPLAY_ORIENTATION_90_DEGREES

  • ALLEGRO_DISPLAY_ORIENTATION_180_DEGREES

  • ALLEGRO_DISPLAY_ORIENTATION_270_DEGREES

  • ALLEGRO_DISPLAY_ORIENTATION_FACE_UP

  • ALLEGRO_DISPLAY_ORIENTATION_FACE_DOWN


Generated by PasDoc 0.15.0. Generated on 2024-11-10 15:15:06.