lexsdl 0.3.0

A wrapper for SDL2 to abstract away annoying parts
#include"LEXSDL.h"
#include"TopPatPng.h"

int main(void){
	LEXSDL_Init(0);
	LEXSDL_InitIMG(0);
	
	LEXSDL_CreateWindow("Testing",0);
	LEXSDL_CreateRenderer(0);
	SDL_RenderSetLogicalSize(LEXSDL_GetRenderer(), 300,300);
	int id1 = LEXSDL_LoadTexture("/home/alexevier/pictures/104431718_1021231538275270_5611867254508491526_n_1021231534941937.png");
	LEXSDL_NewFrame();
	LEXSDL_DrawTextureFill(id1);
	LEXSDL_ShowFrame();
	sleep(2);
	int id2 = LEXSDL_LoadTexture("/home/alexevier/pictures/679f3a584063793cec281e66a4c1123c.jpg");
	int id3 = LEXSDL_LoadTextureBytes(TopPatPng,TopPatPngLen);
	LEXSDL_NewFrame();
	LEXSDL_DrawTextureFill(id2);
	LEXSDL_ShowFrame();
	sleep(2);
	LEXSDL_NewFrame();
	LEXSDL_DrawTextureFill(id1);
	LEXSDL_ShowFrame();
	sleep(2);
	LEXSDL_NewFrame();
	LEXSDL_DrawTextureFill(id3);
	LEXSDL_DrawTextureAt(id1, 50,50,50,50);
	LEXSDL_DrawTextureRotAt(id1, 50,200,50,50,180.);
	LEXSDL_DrawTextureRotAt(id1, 50,100,50,50,120.);
	LEXSDL_ShowFrame();
	sleep(2);
}