diff --git a/examples/pong/Pong.cpp b/examples/pong/Pong.cpp index bef98c092..b088e9922 100644 --- a/examples/pong/Pong.cpp +++ b/examples/pong/Pong.cpp @@ -27,7 +27,8 @@ int main() float ballRadius = 10.f; // Create the window of the application - sf::RenderWindow window(sf::VideoMode(gameWidth, gameHeight, 32), "SFML Pong"); + sf::RenderWindow window(sf::VideoMode(gameWidth, gameHeight, 32), "SFML Pong", + sf::Style::Titlebar | sf::Style::Close); window.setVerticalSyncEnabled(true); // Load the sounds used in the game diff --git a/examples/shader/Shader.cpp b/examples/shader/Shader.cpp index 5ec4cdb6c..ab147d91c 100644 --- a/examples/shader/Shader.cpp +++ b/examples/shader/Shader.cpp @@ -267,7 +267,8 @@ private: int main() { // Create the main window - sf::RenderWindow window(sf::VideoMode(800, 600), "SFML Shader"); + sf::RenderWindow window(sf::VideoMode(800, 600), "SFML Shader", + sf::Style::Titlebar | sf::Style::Close); window.setVerticalSyncEnabled(true); // Load the application font and pass it to the Effect class diff --git a/examples/sockets/Sockets.cpp b/examples/sockets/Sockets.cpp index 8201afb2c..6bdd44bc1 100644 --- a/examples/sockets/Sockets.cpp +++ b/examples/sockets/Sockets.cpp @@ -25,12 +25,12 @@ int main() // TCP, UDP or connected UDP ? char protocol; - std::cout << "Do you want to use TCP (t) or UDP (u) ? "; + std::cout << "Do you want to use TCP (t) or UDP (u)? "; std::cin >> protocol; // Client or server ? char who; - std::cout << "Do you want to be a server (s) or a client (c) ? "; + std::cout << "Do you want to be a server (s) or a client (c)? "; std::cin >> who; if (protocol == 't') diff --git a/examples/sound_capture/SoundCapture.cpp b/examples/sound_capture/SoundCapture.cpp index b5814aa96..02f2db2ac 100644 --- a/examples/sound_capture/SoundCapture.cpp +++ b/examples/sound_capture/SoundCapture.cpp @@ -24,7 +24,7 @@ int main() // Choose the sample rate unsigned int sampleRate; - std::cout << "Please choose the sample rate for sound capture (44100 is CD quality) : "; + std::cout << "Please choose the sample rate for sound capture (44100 is CD quality): "; std::cin >> sampleRate; std::cin.ignore(10000, '\n'); diff --git a/examples/voip/VoIP.cpp b/examples/voip/VoIP.cpp index d3e053066..06c37b743 100644 --- a/examples/voip/VoIP.cpp +++ b/examples/voip/VoIP.cpp @@ -28,7 +28,7 @@ int main() // Client or server ? char who; - std::cout << "Do you want to be a server ('s') or a client ('c') ? "; + std::cout << "Do you want to be a server ('s') or a client ('c')? "; std::cin >> who; if (who == 's')