diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-08-19 03:12:28 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-08-19 03:12:28 +0000 |
commit | 1fd361a1ea06e44286c213ca1f814f49306fdc43 (patch) | |
tree | 64c8c96cf54d8718847339a403e5e67b922e8c3f /converter/other/fiasco/display.h | |
download | netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.tar.gz netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.tar.xz netpbm-mirror-1fd361a1ea06e44286c213ca1f814f49306fdc43.zip |
Create Subversion repository
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/fiasco/display.h')
-rw-r--r-- | converter/other/fiasco/display.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/converter/other/fiasco/display.h b/converter/other/fiasco/display.h new file mode 100644 index 00000000..5f30b117 --- /dev/null +++ b/converter/other/fiasco/display.h @@ -0,0 +1,49 @@ +/* + * display.h + * + * Written by: Ullrich Hafner + * + * This file is part of FIASCO («F»ractal «I»mage «A»nd «S»equence «CO»dec) + * Copyright (C) 1994-2000 Ullrich Hafner <hafner@bigfoot.de> + */ + +/* + * $Date: 2000/06/14 20:51:17 $ + * $Author: hafner $ + * $Revision: 5.1 $ + * $State: Exp $ + */ + +#ifndef _DISPLAY_H +#define _DISPLAY_H + +#ifndef X_DISPLAY_MISSING + +#include <X11/Xlib.h> + +#include "types.h" +#include "image.h" + +typedef struct x11_info +{ + Display *display; + int screen; /* default screen number */ + Window window; + XImage *ximage; + GC gc; + byte_t *pixels; +} x11_info_t; + +void +display_image (unsigned x0, unsigned y0, x11_info_t *xinfo); +void +close_window (x11_info_t *xinfo); +x11_info_t * +open_window (const char *titlename, const char *iconname, + unsigned width, unsigned height); +void +alloc_ximage (x11_info_t *xinfo, unsigned width, unsigned height); + +#endif /* X_DISPLAY_MISSING */ + +#endif /* not _DISPLAY_H */ |