0 Members and 1 Guest are viewing this topic.
int main(int argc, char** argv){ // Create the main window int iWidth = 800; int iHeight = 600; int iDepth = 32; char* sTitle = "SkipBo"; std::cout << "[Graphics]: Creating Window (" << iWidth << "x" << iHeight << "x" << iDepth << " - \"" << sTitle << "\")" << std::endl; sf::Window App(sf::VideoMode(iWidth, iHeight, iDepth), sTitle); std::cout << "[Graphics]: Opening this Window" << std::endl; App.Create(sf::VideoMode(iWidth, iHeight, iDepth), sTitle); // Start main loop bool Running = true; while (Running) { App.Display(); } return EXIT_SUCCESS;}
string sTitle = "SkipBo";
Window (VideoMode Mode, const std::string &Title, unsigned long WindowStyle=Style::Resize|Style::Close, const WindowSettings &Params=WindowSettings())