@@ -120,16 +120,6 @@ void *GtkVideo::GetWidget() | |||||
return data->widget; | return data->widget; | ||||
} | } | ||||
int GtkVideo::GetWidth() const | |||||
{ | |||||
return data->widget->allocation.width; | |||||
} | |||||
int GtkVideo::GetHeight() const | |||||
{ | |||||
return data->widget->allocation.height; | |||||
} | |||||
void GtkVideo::PreRender() | void GtkVideo::PreRender() | ||||
{ | { | ||||
/// XXX: is this right? | /// XXX: is this right? | ||||
@@ -19,8 +19,6 @@ public: | |||||
GtkVideo(char const *title, int width, int height); | GtkVideo(char const *title, int width, int height); | ||||
// Inherited | // Inherited | ||||
int GetWidth() const; | |||||
int GetHeight() const; | |||||
void PreRender(); | void PreRender(); | ||||
void PostRender(float milliseconds); | void PostRender(float milliseconds); | ||||
@@ -60,16 +60,6 @@ SdlVideo::SdlVideo(char const *title, int width, int height) | |||||
data->frames = 0; | data->frames = 0; | ||||
} | } | ||||
int SdlVideo::GetWidth() const | |||||
{ | |||||
return data->video->w; | |||||
} | |||||
int SdlVideo::GetHeight() const | |||||
{ | |||||
return data->video->h; | |||||
} | |||||
void SdlVideo::PreRender() | void SdlVideo::PreRender() | ||||
{ | { | ||||
Video::Clear(); | Video::Clear(); | ||||
@@ -19,8 +19,6 @@ public: | |||||
SdlVideo(char const *title, int width, int height); | SdlVideo(char const *title, int width, int height); | ||||
~SdlVideo(); | ~SdlVideo(); | ||||
int GetWidth() const; | |||||
int GetHeight() const; | |||||
void PreRender(); | void PreRender(); | ||||
void PostRender(float milliseconds); | void PostRender(float milliseconds); | ||||
void FullScreen(); | void FullScreen(); | ||||