README and window,,,
This commit is contained in:
parent
2908bb46c6
commit
9b449a07b7
@ -12,6 +12,7 @@ Important note for users:
|
|||||||
- Sorry...
|
- Sorry...
|
||||||
- There are examples, you can compile and run them, this is all still being tested...
|
- 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.
|
- 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:
|
Compile:
|
||||||
```bash
|
```bash
|
||||||
|
@ -40,7 +40,7 @@ begin
|
|||||||
Begin_Drawing;
|
Begin_Drawing;
|
||||||
Clear_Background (Ray_White);
|
Clear_Background (Ray_White);
|
||||||
-- You can specify all arguments, or use defaults after one point.
|
-- 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.
|
-- You can explicitly state all arguments and their values.
|
||||||
Draw_Text (
|
Draw_Text (
|
||||||
Text => To_C_String ("Press Escape key to exit program."),
|
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.
|
-- Or at last, you can specify which arguments won't be defaults.
|
||||||
Draw_Text (
|
Draw_Text (
|
||||||
Text => To_C_String ("You can ignore some arguments."),
|
Text => To_C_String ("Deus Vult."),
|
||||||
X => 4,
|
X => 4,
|
||||||
Y => 68
|
Y => 68
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user