view old/simple_render/test/LoadTexture/viewer.h @ 836:74fd8d2a7b9d draft

example fix 50%
author tkaito
date Tue, 25 May 2010 19:13:28 +0900
parents 3bc98f6d31ff
children
line wrap: on
line source

#include <SDL.h>

#ifndef INCLUDED_VIEWER
#define INCLUDED_VIEWER

#include "TaskManager.h"

class Viewer {
public:
	
	int width;
	int height;
	int bpp;
	SDL_Surface *screen;
	Uint32 *pixels;

	Viewer(int b, int w, int h);
	void sdl_init();
	void run_init();

};

#endif