Files
chibi-pc09/spriteconvert/program.cpp
luke zeller 84dcb2bd50 a hell of a lot changed.
ported from gtk to sdl
added entire font
added keyboard control
added cursor

TODO: backspace works on every char of every line, make aware of newline
add colour to drawChar
2020-04-28 15:06:11 -04:00

18 lines
312 B
C++

#include <SDL2/SDL.h>
#include <iostream>
#include <string>
using namespace std;
int main(int argc, char* argv[]) {
//initialize SDL2
if (SDL_Init() < 0) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_Init failed: %s", SDL_GetError());
SDL_Quit();
return 3;
};
}