mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
Updated the main page of the API documentation
This commit is contained in:
parent
3bba2fab98
commit
b7184640d8
@ -22,10 +22,10 @@
|
|||||||
/// sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window");
|
/// sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window");
|
||||||
///
|
///
|
||||||
/// // Load a sprite to display
|
/// // Load a sprite to display
|
||||||
/// sf::Image image;
|
/// sf::Texture texture;
|
||||||
/// if (!image.LoadFromFile("cute_image.jpg"))
|
/// if (!texture.LoadFromFile("cute_image.jpg"))
|
||||||
/// return EXIT_FAILURE;
|
/// return EXIT_FAILURE;
|
||||||
/// sf::Sprite sprite(image);
|
/// sf::Sprite sprite(texture);
|
||||||
///
|
///
|
||||||
/// // Create a graphical text to display
|
/// // Create a graphical text to display
|
||||||
/// sf::Font font;
|
/// sf::Font font;
|
||||||
|
Loading…
Reference in New Issue
Block a user