Source

pyGAP / game / inc / platform / window.h

Full commit
#ifndef _PLATFORM_WINDOW_
#define _PLATFORM_WINDOW_


namespace common {
class Log;
}


namespace platform {


class Window
{
public:
    Window();
    virtual ~Window();

    virtual int init(int width, int height, bool fullscreen) { return 0; }

    int resize(int width, int height, bool fullscreen=false);
    bool is_deleted();

private:
    Window(const Window&);
    Window& operator=(const Window&);

protected:
    int width_;
    int height_;

    static const char* window_name_;

    bool deleted_;

#if defined(DEBUG)
    static common::Log*    log_;
#endif
};


} // namespace platform


#endif // _PLATFORM_WINDOW_