mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 02:26:38 -04:00
ASFML is an Ada semi-thick binding to SFML. The library uses Ada types, and portable defined types, which eliminates the inclusion of Ada interface libraries, however most of the functions are directly imported. Website: https://mgrojo.github.io/ASFML/ Differential Revision: https://reviews.freebsd.org/D42151
11 lines
364 B
Ada
11 lines
364 B
Ada
--- examples/example/main.adb.orig 2023-10-21 00:37:05 UTC
|
|
+++ examples/example/main.adb
|
|
@@ -41,7 +41,7 @@ begin
|
|
setTexture(Sprite, Texture, sfTrue);
|
|
|
|
-- Create a graphical text to display
|
|
- Font := createFromFile("arial.ttf");
|
|
+ Font := createFromFile("%%PREFIX_FONTDIR%%webfonts/arial.ttf");
|
|
|
|
Text := create;
|
|
setString(Text, "Hello SFML");
|