filename | src/drivers/video_x11.c |
changeset | 94:8d80d9c7cc7d |
next | 103:9b9cfc5855e0 |
author | nkeynes |
date | Sun Feb 05 04:05:27 2006 +0000 (17 years ago) |
permissions | -rw-r--r-- |
last change | Video code reshuffle to start getting real video happening. Implement colourspace conversions Various tweaks |
file | annotate | diff | log | raw |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +00001.2 +++ b/src/drivers/video_x11.c Sun Feb 05 04:05:27 2006 +00001.3 @@ -0,0 +1,31 @@1.4 +/**1.5 + * $Id: video_x11.c,v 1.1 2006-02-05 04:05:27 nkeynes Exp $1.6 + *1.7 + * Parent for all X11 display drivers.1.8 + *1.9 + * Copyright (c) 2005 Nathan Keynes.1.10 + *1.11 + * This program is free software; you can redistribute it and/or modify1.12 + * it under the terms of the GNU General Public License as published by1.13 + * the Free Software Foundation; either version 2 of the License, or1.14 + * (at your option) any later version.1.15 + *1.16 + * This program is distributed in the hope that it will be useful,1.17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of1.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the1.19 + * GNU General Public License for more details.1.20 + */1.21 +1.22 +#include "drivers/video_x11.h"1.23 +1.24 +Display *video_x11_display = NULL;1.25 +Screen *video_x11_screen = NULL;1.26 +Window video_x11_window = 0;1.27 +1.28 +void video_x11_set_display( Display *display, Screen *screen, Window window )1.29 +{1.30 + video_x11_display = display;1.31 + video_x11_screen = screen;1.32 + video_x11_window = window;1.33 +}1.34 +
.