Hosted by
|
package body Words is
function Create
return Words_Access
is
Result : Words_Access := new Words;
begin
return Result;
end Create;
procedure Set_Lang
(This : access Words;
Lang : in String) is
begin
To_String_Access(Lang, This.Lang);
end Set_Lang;
function Get_Lang
(This : access Words)
return String is
begin
return To_String(This.Lang);
end Get_Lang;
procedure Set_Relative_X
(This : access Words;
Relative_X : in Integer) is
begin
This.Relative_X := Relative_X;
end Set_Relative_X;
function Get_Relative_X
(This : access Words)
return Integer is
begin
return This.Relative_X;
end Get_Relative_X;
procedure Set_Relative_Y
(This : access Words;
Relative_Y : in Integer) is
begin
This.Relative_Y := Relative_Y;
end Set_Relative_Y;
function Get_Relative_Y
(This : access Words)
return Integer is
begin
return This.Relative_Y;
end Get_Relative_Y;
procedure Set_Text
(This : access Words;
Text : in String) is
begin
To_String_Access(Text, This.Text);
end Set_Text;
function Get_Text
(This : access Words)
return String is
begin
return To_String(This.Text);
end Get_Text;
end Words;
|