mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
[Small Change] SDL Engine Declaration Changed.
This commit is contained in:
parent
1e8b2472ab
commit
e135eb35ac
19
sdl_engine.h
19
sdl_engine.h
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user