repo.or.cz
/
zeta.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Zeta GUI library overview
[zeta.git]
/
src
/
zeta_sdl.cpp
blob
8cd25e387c70e55f6c19f6ab327b7e2c92f3aa89
1
#include
"zeta_begin.h"
2
3
#include
"zeta_sdl.h"
4
5
zeta_interface_sdl
::
zeta_interface_sdl
() {
6
if
(!
SDL_WasInit
(
SDL_INIT_VIDEO
))
SDL_Init
(
SDL_VIDEO
);
7
if
(!
SDL_WasInit
(
SDL_INIT_TIMER
))
SDL_Init
(
SDL_TIMER
);
8
if
(!
TTF_WasInit
())
TTF_Init
();
9
}
10
11
#include
"zeta_end.h"