si,
// ! u+21
// & u+26
// u+5c0 ׀
// % u+25
// Ʃ u+1a9
#include<iostream>
#include"milib.h"
#include<SDL2/SDL.h>
#include<SDL2/SDL_image.h>
using namespace std;
int main(){
bool quit=false;
SDL_Init(SDL_INIT_EVERYTHING);
SDL_Window *window = SDL_CreateWindow("pst",SDL_WINDOWPOS_UNDEFINED,SDL_WINDOWPOS_UNDEFINED,0, 0,SDL_WINDOW_FULLSCREEN_DESKTOP);
SDL_Surface*windowSurface=SDL_GetWindowSurface(window);
SDL_Surface*fondo=IMG_Load("fondo.png");
SDL_Event tecla;
SDL_BlitSurface(fondo,NULL,windowSurface,NULL);
while(!quit){
SDL_BlitSurface(fondo,NULL,windowSurface,NULL);
SDL_UpdateWindowSurface(window);
if(SDL_PollEvent(&tecla)) {
if (tecla.type == SDL_QUIT) {
quit=true;
}
}
}
return 0;
}
y con lo otro, no porque es pantalla completa así que no me es posible.