type A_Allegro_Display is access all Allegro_Display;
type Allegro_Bitmap_Array is array (Integer range <>) of A_Allegro_Bitmap;
ALLEGRO_WINDOWED : constant Display_Flags;
ALLEGRO_FULLSCREEN : constant Display_Flags;
ALLEGRO_OPENGL : constant Display_Flags;
ALLEGRO_DIRECT3D : constant Display_Flags;
ALLEGRO_RESIZABLE : constant Display_Flags;
ALLEGRO_FRAMELESS : constant Display_Flags;
ALLEGRO_NOFRAME : constant Display_Flags;
ALLEGRO_GENERATE_EXPOSE_EVENTS : constant Display_Flags;
ALLEGRO_OPENGL_3_0 : constant Display_Flags;
ALLEGRO_OPENGL_FORWARD_COMPATIBLE : constant Display_Flags;
ALLEGRO_FULLSCREEN_WINDOW : constant Display_Flags;
ALLEGRO_MINIMIZED : constant Display_Flags;
ALLEGRO_RED_SIZE : constant Display_Option;
ALLEGRO_GREEN_SIZE : constant Display_Option;
ALLEGRO_BLUE_SIZE : constant Display_Option;
ALLEGRO_ALPHA_SIZE : constant Display_Option;
ALLEGRO_RED_SHIFT : constant Display_Option;
ALLEGRO_GREEN_SHIFT : constant Display_Option;
ALLEGRO_BLUE_SHIFT : constant Display_Option;
ALLEGRO_ALPHA_SHIFT : constant Display_Option;
ALLEGRO_ACC_RED_SIZE : constant Display_Option;
ALLEGRO_ACC_GREEN_SIZE : constant Display_Option;
ALLEGRO_ACC_BLUE_SIZE : constant Display_Option;
ALLEGRO_ACC_ALPHA_SIZE : constant Display_Option;
ALLEGRO_STEREO : constant Display_Option;
ALLEGRO_AUX_BUFFERS : constant Display_Option;
ALLEGRO_COLOR_SIZE : constant Display_Option;
ALLEGRO_DEPTH_SIZE : constant Display_Option;
ALLEGRO_STENCIL_SIZE : constant Display_Option;
ALLEGRO_SAMPLE_BUFFERS : constant Display_Option;
ALLEGRO_SAMPLES : constant Display_Option;
ALLEGRO_RENDER_METHOD : constant Display_Option;
ALLEGRO_FLOAT_COLOR : constant Display_Option;
ALLEGRO_FLOAT_DEPTH : constant Display_Option;
ALLEGRO_SINGLE_BUFFER : constant Display_Option;
ALLEGRO_SWAP_METHOD : constant Display_Option;
ALLEGRO_COMPATIBLE_DISPLAY : constant Display_Option;
ALLEGRO_UPDATE_DISPLAY_REGION : constant Display_Option;
ALLEGRO_VSYNC : constant Display_Option;
ALLEGRO_MAX_BITMAP_SIZE : constant Display_Option;
ALLEGRO_SUPPORT_NPOT_BITMAP : constant Display_Option;
ALLEGRO_CAN_DRAW_INTO_BITMAP : constant Display_Option;
ALLEGRO_SUPPORT_SEPARATE_ALPHA : constant Display_Option;
ALLEGRO_DONTCARE : constant Option_Importance;
ALLEGRO_REQUIRE : constant Option_Importance;
ALLEGRO_SUGGEST : constant Option_Importance;
ALLEGRO_DISPLAY_ORIENTATION_0_DEGREES : constant Allegro_Display_Orientation;
ALLEGRO_DISPLAY_ORIENTATION_90_DEGREES : constant Allegro_Display_Orientation;
ALLEGRO_DISPLAY_ORIENTATION_180_DEGREES : constant Allegro_Display_Orientation;
ALLEGRO_DISPLAY_ORIENTATION_270_DEGREES : constant Allegro_Display_Orientation;
ALLEGRO_DISPLAY_ORIENTATION_FACE_UP : constant Allegro_Display_Orientation;
ALLEGRO_DISPLAY_ORIENTATION_FACE_DOWN : constant Allegro_Display_Orientation;
function Al_Get_New_Display_Flags return Display_Flags;
procedure Al_Get_New_Display_Option
( | option | : Display_Option; |
value | : out Integer; | |
importance | : out Option_Importance ); |
procedure Al_Set_New_Display_Flags
( | flags | : Display_Flags ); |
procedure Al_Set_New_Display_Option
( | option | : Display_Option; |
value | : Integer; | |
importance | : Option_Importance ); |
function Al_Create_Display
( | w, h | : Integer ) return A_Allegro_Display; |
procedure Al_Destroy_Display
( | display | : in out A_Allegro_Display ); |
function Al_Get_Backbuffer
( | display | : A_Allegro_Display ) return A_Allegro_Bitmap; |
function Al_Get_Display_Width
( | display | : A_Allegro_Display ) return Integer; |
function Al_Get_Display_Height
( | display | : A_Allegro_Display ) return Integer; |
function Al_Get_Display_Flags
( | display | : A_Allegro_Display ) return Display_Flags; |
function Al_Get_Display_Format
( | display | : A_Allegro_Display ) return Allegro_Pixel_Format; |
function Al_Get_Display_Option
( | display | : A_Allegro_Display; |
option | : Display_Option ) return Integer; |
function Al_Get_Display_Refresh_Rate
( | display | : A_Allegro_Display ) return Integer; |
procedure Al_Get_Window_Position
( | display | : A_Allegro_Display; |
x, y | : access Integer ); |
procedure Al_Set_Display_Icon
( | display | : A_Allegro_Display; |
icon | : A_Allegro_Bitmap ); |
function Al_Set_Display_Flag
( | display | : A_Allegro_Display; |
flag | : Display_Flags; | |
onoff | : Boolean ) return Boolean; |
function Al_Toggle_Display_Flag
( | display | : A_Allegro_Display; |
flag | : Display_Flags; | |
onoff | : Boolean ) return Boolean renames Al_Set_Display_Flag; |
procedure Al_Set_Display_Icons
( | display | : A_Allegro_Display; |
icons | : Allegro_Bitmap_Array ); |
procedure Al_Set_Window_Position
( | display | : A_Allegro_Display; |
x, y | : Integer ); |
procedure Al_Set_Window_Title
( | display | : A_Allegro_Display; |
title | : String ); |
function Al_Get_Current_Display return A_Allegro_Display;
function Al_Get_Target_Bitmap return A_Allegro_Bitmap;
procedure Al_Set_Target_Bitmap
( | bitmap | : A_Allegro_Bitmap ); |
procedure Al_Set_Target_Backbuffer
( | display | : A_Allegro_Display ); |
function Al_Is_Compatible_Bitmap
( | bitmap | : A_Allegro_Bitmap ) return Boolean; |
function Al_Acknowledge_Resize
( | display | : A_Allegro_Display ) return Boolean; |
procedure Al_Acknowledge_Resize
( | display | : A_Allegro_Display ); |
function Al_Resize_Display
( | display | : A_Allegro_Display; |
width, height | : Integer ) return Boolean; |
function Al_Get_Display_Event_Source
( | display | : A_Allegro_Display ) return A_Allegro_Event_Source; |