honki_tonks_zivilisationen_0.5.5305_cfbe2104/src/Grafik/Auswahl/Zusatztext/ZusatztextDiplomatieGrafik.ads

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
with Ada.Strings.Wide_Wide_Unbounded; use Ada.Strings.Wide_Wide_Unbounded;

with Sf.System.Vector2;

package ZusatztextDiplomatieGrafik is
   pragma Elaborate_Body;

   function ZusatztextDiplomatie
     (ViewflächeExtern : in Sf.System.Vector2.sfVector2f;
      RealeViewbreiteExtern : in Float)
      return Sf.System.Vector2.sfVector2f
     with
       Pre => (
                 ViewflächeExtern.x >= 0.00
               and
                 ViewflächeExtern.y >= 0.00
               and
                 RealeViewbreiteExtern >= 0.00
              ),
         
       Post => (
                  ZusatztextDiplomatie'Result.x >= 0.00
                and
                  ZusatztextDiplomatie'Result.y >= 0.00
               );
   
private
   
   Zustandnummer : Positive;
   
   Textbreite : Float;
   
   Text : Unbounded_Wide_Wide_String;
   
   Rückgabewert : Sf.System.Vector2.sfVector2f;
   Textposition : Sf.System.Vector2.sfVector2f;
   
   
   
   function TextSetzen
     (TextnummerExtern : in Positive)
      return Wide_Wide_String;

end ZusatztextDiplomatieGrafik;