[Small Change] SDL Engine Declaration Changed.

This commit is contained in:
Kirigaya Kazuto 2017-01-07 09:58:51 +08:00
parent 1e8b2472ab
commit e135eb35ac

View File

@ -45,9 +45,7 @@ public:
Window(int winw,int winh); Window(int winw,int winh);
~Window(); ~Window();
Window(Window&&); _SDL_ENGINE_IMPL_COPY_DECL(Window);
Window(const Window&);
Window& operator = (const Window&);
Renderer getRenderer(); Renderer getRenderer();
void resetRenderer(); void resetRenderer();
@ -56,8 +54,7 @@ public:
void setSize(Rect r); void setSize(Rect r);
private: private:
struct impl; _SDL_ENGINE_IMPL
impl* pimpl;
}; };
class Surface class Surface
@ -68,8 +65,7 @@ public:
protected: protected:
Surface(); Surface();
private: private:
struct impl; _SDL_ENGINE_IMPL
impl* pimpl;
friend class Renderer; friend class Renderer;
friend class Font; friend class Font;
}; };
@ -92,8 +88,7 @@ public:
protected: protected:
Renderer(); Renderer();
private: private:
struct impl; _SDL_ENGINE_IMPL
impl* pimpl;
friend class Window; friend class Window;
}; };
@ -107,8 +102,7 @@ public:
protected: protected:
Texture(); Texture();
private: private:
struct impl; _SDL_ENGINE_IMPL
impl* pimpl;
friend class Renderer; friend class Renderer;
}; };
@ -142,8 +136,7 @@ public:
Texture renderUTF8Shaded(Renderer rnd,const char* Word,RGBA fg,RGBA bg); Texture renderUTF8Shaded(Renderer rnd,const char* Word,RGBA fg,RGBA bg);
Texture renderUTF8Solid(Renderer rnd,const char* Word,RGBA fg); Texture renderUTF8Solid(Renderer rnd,const char* Word,RGBA fg);
private: private:
struct impl; _SDL_ENGINE_IMPL
impl* pimpl;
}; };
}/// End of namespace Engine }/// End of namespace Engine