]> git.xolatile.top Git - xolatile-raylib-ada.git/commitdiff
README and window,,,
authorxolatile <xolatile@proton.me>
Tue, 23 Apr 2024 16:37:29 +0000 (12:37 -0400)
committerxolatile <xolatile@proton.me>
Tue, 23 Apr 2024 16:37:29 +0000 (12:37 -0400)
README.md
example/window.adb

index 668368434510d1cd36b4fd375e903b8ba876647f..5dd23c77abf8583b5bdca7a52fe3d99926a32adf 100644 (file)
--- a/README.md
+++ b/README.md
@@ -12,6 +12,7 @@ Important note for users:
 - Sorry...
 - There are examples, you can compile and run them, this is all still being tested...
 - First of all, run 'sudo sh install.sh', then 'sh compile.sh' and see the results with 'ls' command. Thanks.
+- All files in './example/resource/' folder are under CC0 license, downloaded from opengameart.org.
 
 Compile:
 ```bash
index 2c0abdf2437cafe73ba2b53d9a323b2c59c87691..cf42814d836cfead12d74eaeed2f3d2920dd9db2 100644 (file)
@@ -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
       );