From 3e230dd23b750f19a2fb95cf08250c74432ed164 Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Wed, 7 Jul 2010 20:57:52 +0200 Subject: ui: move all ui components in ui/ Move sdl, vnc, curses and cocoa UI into ui/ to cleanup the root directory. Also remove some unnecessary explicit targets from Makefile. aliguori: fix build when srcdir != objdir Signed-off-by: Corentin Chary Signed-off-by: Anthony Liguori --- ui/sdl_zoom.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ui/sdl_zoom.h (limited to 'ui/sdl_zoom.h') diff --git a/ui/sdl_zoom.h b/ui/sdl_zoom.h new file mode 100644 index 0000000000..74955bc944 --- /dev/null +++ b/ui/sdl_zoom.h @@ -0,0 +1,25 @@ +/* + * SDL_zoom - surface scaling + * + * Copyright (c) 2009 Citrix Systems, Inc. + * + * Derived from: SDL_rotozoom, LGPL (c) A. Schiffler from the SDL_gfx library. + * Modifications by Stefano Stabellini. + * + * This work is licensed under the terms of the GNU GPL version 2. + * See the COPYING file in the top-level directory. + * + */ + +#ifndef SDL_zoom_h +#define SDL_zoom_h + +#include + +#define SMOOTHING_OFF 0 +#define SMOOTHING_ON 1 + +int sdl_zoom_blit(SDL_Surface *src_sfc, SDL_Surface *dst_sfc, + int smooth, SDL_Rect *src_rect); + +#endif /* SDL_zoom_h */ -- cgit v1.2.1