2020-10-23 12:43:47 +02:00
|
|
|
//
|
|
|
|
// SDLWrapper.cpp
|
|
|
|
// gui
|
|
|
|
//
|
|
|
|
// Created by Bob Polis at 2020-10-14
|
|
|
|
// Copyright (c) 2020 SwiftCoder. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#include <SDL2/SDL.h>
|
|
|
|
#include "SDLWrapper.hpp"
|
|
|
|
|
2020-10-23 13:55:57 +02:00
|
|
|
using namespace sc::gui;
|
|
|
|
|
2020-10-23 12:43:47 +02:00
|
|
|
SDLWrapper::SDLWrapper() {
|
|
|
|
SDL_Init(SDL_INIT_VIDEO);
|
|
|
|
}
|
|
|
|
|
|
|
|
SDLWrapper::~SDLWrapper() {
|
|
|
|
SDL_Quit();
|
|
|
|
}
|