1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
//=============================================================================
#include "CChat.h"
#include "CApp.h"
//=============================================================================
CChat::CChat() {
}
//=============================================================================
int CChat::OnLoad(int x,int y, int h, int w,SDL_Renderer* Surf_Display)
{
skin=IMG_Load("./assets/Windowskins/WindskinA.png");
SDL_BlitSurface( skin, NULL, output_window, NULL );
t = SDL_CreateTextureFromSurface(Surf_Display,output_window);
CSurface::OnDraw(Surf_Display, t, x, y,0,0,150,50);
}
|