From 9a8edc5ab3967e9f115750371306d79653f4823a Mon Sep 17 00:00:00 2001 From: xHire Date: Wed, 30 Jul 2008 13:43:47 +0000 Subject: - changed window title git-svn-id: http://opensvn.csie.org/tuxanci_ng@183 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/client/interface.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/client/interface.c') diff --git a/src/client/interface.c b/src/client/interface.c index 3ae6121..2c45110 100755 --- a/src/client/interface.c +++ b/src/client/interface.c @@ -7,14 +7,14 @@ #include "interface.h" #include "screen.h" -//povrch okna +// window surface static SDL_Surface *screen; //static SDL_Surface *my_surface; -//casovac +// timer static SDL_TimerID timer; -//priznaky okna +// window flags static Uint32 g_win_flags = SDL_HWSURFACE|SDL_DOUBLEBUF; static bool_t isInterfaceInit = FALSE; @@ -41,7 +41,7 @@ int initSDL() { printf("init SDL..\n"); - //inicializujem SDL + // initialization of SDL if( SDL_Init(SDL_SUBSYSTEMS) == -1 ) { fprintf(stderr, "%s\n", SDL_GetError()); @@ -49,7 +49,7 @@ int initSDL() return -1; } - //inicializujem okno + // initialization of SDL //screen = SDL_SetVideoMode(WINDOW_SIZE_X, WINDOW_SIZE_Y, 0, g_win_flags); screen = SDL_SetVideoMode(WINDOW_SIZE_X, WINDOW_SIZE_Y, 0, g_win_flags); @@ -217,7 +217,7 @@ int eventAction() } break; - // Zmena velikosti okna + // change of window size case SDL_VIDEORESIZE: screen = SDL_SetVideoMode(event.resize.w,event.resize.h, WIN_BPP, g_win_flags); @@ -228,7 +228,7 @@ int eventAction() } break; - // Pozadavek na ukonceni + // termination request case SDL_QUIT: return -1; break; -- cgit v1.2.3