This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| ''' | |
| Description: | |
| This script generates the different BasisSkin tags for a MyGUI skin | |
| definintion file. Possible widget layouts are: | |
| - Stretch | |
| - 3 Tiles, vertical | |
| - 3 Tiles, horizontal | |
| - 9 Tiles (center piece and 8 around it) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <SFML/Graphics.hpp> | |
| #include <SFML/System.hpp> | |
| #include <iostream> | |
| int main() { | |
| sf::RenderWindow app(sf::VideoMode(800,600,32), "lol", sf::Style::Close, sf::ContextSettings(24,8,4)); | |
| std::cout << "Antialiasing level: " << app.GetSettings().AntialiasingLevel << std::endl; | |
| while(app.IsOpened()) { |
NewerOlder