#include "include/window.h" void Window::CreateWindow(string title, int width, int height, int depth) { screen = SDL_SetVideoMode (width, height, depth, SDL_HWSURFACE); SDL_WM_SetCaption(title.c_str(), NULL); } void Window::DestroyWindow(void) { SDL_FreeSurface(screen); }