add sdl window interface