aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/window.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/window.adb b/example/window.adb
index 2c0abdf..cf42814 100644
--- a/example/window.adb
+++ b/example/window.adb
@@ -40,7 +40,7 @@ begin
Begin_Drawing;
Clear_Background (Ray_White);
-- You can specify all arguments, or use defaults after one point.
- Draw_Text ("Heyo from Ada." & ASCII.NUL, 4, 4, 32, Black);
+ Draw_Text ("Heyo from Ada." & ASCII.NUL, 4, 4);
-- You can explicitly state all arguments and their values.
Draw_Text (
Text => To_C_String ("Press Escape key to exit program."),
@@ -51,7 +51,7 @@ begin
);
-- Or at last, you can specify which arguments won't be defaults.
Draw_Text (
- Text => To_C_String ("You can ignore some arguments."),
+ Text => To_C_String ("Deus Vult."),
X => 4,
Y => 68
);