first steps for sdl2 ( still many compile errors )

This commit is contained in:
titiger
2015-09-29 01:30:28 +02:00
parent c84e7f5443
commit 23ea9f6201
11 changed files with 386 additions and 684 deletions

View File

@@ -13,7 +13,7 @@
#include <string>
struct SDL_Surface;
struct SDL_Window;
class ctx;
using namespace std;
@@ -32,7 +32,7 @@ protected:
string filename;
string filenameFallback;
SDL_Surface *surface;
SDL_Window *window;
int x;
int y;
int width;
@@ -60,7 +60,7 @@ public:
VideoPlayer(VideoLoadingCallbackInterface *loadingCB,
string filename,
string filenameFallback,
SDL_Surface *surface, int x, int y,
SDL_Window *window, int x, int y,
int width, int height, int colorBits,
bool loop, string pluginsPath,bool verboseEnabled=false);
virtual ~VideoPlayer();