text stringlengths 0 234 |
|---|
Put_Line (File, " Transform : Output_Transform)"); |
Put_Line (File, " with Pre => Object.Has_Proxy;"); |
Put_Line (File, ""); |
Put_Line (File, " procedure Set_Buffer_Scale (Object : Surface;"); |
Put_Line (File, " Scale : Positive)"); |
Put_Line (File, " with Pre => Object.Has_Proxy;"); |
Put_Line (File, ""); |
Put_Line (File, " procedure Damage_Buffer (Object : Surface;"); |
Put_Line (File, " X, Y : Integer;"); |
Put_Line (File, " Width : Natural;"); |
Put_Line (File, " Height : Natural)"); |
Put_Line (File, " with Pre => Object.Has_Proxy;"); |
elsif Name = "Pointer" then |
Put_Line (File, ""); |
Put_Line (File, " procedure Set_Cursor (Object : Pointer;"); |
Put_Line (File, " Serial : Unsigned_32;"); |
Put_Line (File, " Surface : Client.Surface'Class;"); |
Put_Line (File, " Hotspot_X : Integer;"); |
Put_Line (File, " Hotspot_Y : Integer)"); |
Put_Line (File, " with Pre => Object.Has_Proxy;"); |
elsif Name = "Region" then |
Put_Line (File, ""); |
Put_Line (File, " procedure Add (Object : Region;"); |
Put_Line (File, " X, Y : Integer;"); |
Put_Line (File, " Width : Natural;"); |
Put_Line (File, " Height : Natural)"); |
Put_Line (File, " with Pre => Object.Has_Proxy;"); |
Put_Line (File, ""); |
Put_Line (File, " procedure Subtract (Object : Region;"); |
Put_Line (File, " X, Y : Integer;"); |
Put_Line (File, " Width : Natural;"); |
Put_Line (File, " Height : Natural)"); |
Put_Line (File, " with Pre => Object.Has_Proxy;"); |
elsif Name = "Subcompositor" then |
Put_Line (File, ""); |
Put_Line (File, " procedure Get_Subsurface (Object : Subcompositor;"); |
Put_Line (File, " Surface : Client.Surface'Class;"); |
Put_Line (File, " Parent : Client.Surface'Class;"); |
Put_Line (File, " Subsurface : in out Client.Subsurface'Class)"); |
Put_Line (File, " with Pre => Object.Has_Proxy and Surface.Has_Proxy and Parent.Has_Proxy;"); |
elsif Name = "Subsurface" then |
Put_Line (File, ""); |
Put_Line (File, " procedure Set_Position (Object : Subsurface; X, Y : Integer)"); |
Put_Line (File, " with Pre => Object.Has_Proxy;"); |
Put_Line (File, ""); |
Put_Line (File, " procedure Place_Above (Object : Subsurface;"); |
Put_Line (File, " Sibling : Surface'Class)"); |
Put_Line (File, " with Pre => Object.Has_Proxy and Sibling.Has_Proxy;"); |
Put_Line (File, ""); |
Put_Line (File, " procedure Place_Below (Object : Subsurface;"); |
Put_Line (File, " Sibling : Surface'Class)"); |
Put_Line (File, " with Pre => Object.Has_Proxy and Sibling.Has_Proxy;"); |
Put_Line (File, ""); |
Put_Line (File, " procedure Set_Sync (Object : Subsurface)"); |
Put_Line (File, " with Pre => Object.Has_Proxy;"); |
Put_Line (File, ""); |
Put_Line (File, " procedure Set_Desync (Object : Subsurface)"); |
Put_Line (File, " with Pre => Object.Has_Proxy;"); |
end if; |
end Handle_Interface_Subprograms_Client; |
procedure Handle_Interface_Events_Client |
(Interface_Tag : aliased Wayland_XML.Interface_Tag) |
is |
Name : constant String |
:= Xml_Parser_Utils.Adaify_Name (Wayland_XML.Name (Interface_Tag)); |
begin |
if not Exists_Events (Interface_Tag) then |
return; |
end if; |
Generate_Prefix_Spec_Events; |
if Name = "Display" then |
Put_Line (File, " with procedure Error"); |
Put_Line (File, " (Display : in out Client.Display'Class;"); |
Put_Line (File, " Code : Unsigned_32;"); |
Put_Line (File, " Message : String) is null;"); |
Put_Line (File, ""); |
Put_Line (File, " with procedure Delete_Id"); |
Put_Line (File, " (Display : in out Client.Display'Class;"); |
Put_Line (File, " Id : Unsigned_32) is null;"); |
elsif Name = "Registry" then |
Put_Line (File, " with procedure Global_Object_Added"); |
Put_Line (File, " (Registry : in out Client.Registry'Class;"); |
Put_Line (File, " Id : Unsigned_32;"); |
Put_Line (File, " Name : String;"); |
Put_Line (File, " Version : Unsigned_32);"); |
Put_Line (File, ""); |
Put_Line (File, " with procedure Global_Object_Removed"); |
Put_Line (File, " (Registry : in out Client.Registry'Class;"); |
Put_Line (File, " Id : Unsigned_32) is null;"); |
elsif Name = "Callback" then |
Put_Line (File, " with procedure Done"); |
Put_Line (File, " (Callback : in out Client.Callback'Class;"); |
Put_Line (File, " Callback_Data : Unsigned_32);"); |
elsif Name = "Shm" then |
Put_Line (File, " with procedure Format"); |
Put_Line (File, " (Shm : in out Client.Shm'Class;"); |
Put_Line (File, " Format : Shm_Format);"); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.