Source

pyGAP / game / src / platform / window.cpp

Full commit
#include "platform/window.h"
#include "platform/video_mode.h"

#include "common/log.h"


namespace platform {
#if defined(DEBUG)
common::Log* Window::log_ = NULL;
#endif


const char* Window::window_name_ = "Ca marche !(TM)";


Window::Window():
    width_(200),
    height_(100),
    //cur_video_mode_(0),
    //num_video_modes_(0),
    //video_modes_(0),
    deleted_(false)
{
#if defined(DEBUG)
    if (!log_)
        log_ = common::Log::get(__FUNCTION__);
#endif
}


Window::~Window()
{
    //delete [] video_modes_;
}


bool Window::is_deleted()
{
    return deleted_;
}


} // namespace platform