Doxygen Source Code Documentation
Main Page Alphabetical List Data Structures File List Data Fields Globals Search
xim.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #ifndef _MCW_XIM_HEADER_
00008 #define _MCW_XIM_HEADER_
00009
00010 #include <stdio.h>
00011 #include <stdlib.h>
00012 #include <string.h>
00013
00014 #include <X11/X.h>
00015 #include <X11/Intrinsic.h>
00016
00017 #include "mrilib.h"
00018 #include "display.h"
00019
00020 extern void MCW_kill_XImage( XImage * ) ;
00021 extern XImage * mri_to_XImage( MCW_DC * , MRI_IMAGE * ) ;
00022 extern XImage * resize_XImage( MCW_DC * , XImage * , int , int ) ;
00023 extern MRI_IMAGE * XImage_to_mri( MCW_DC * , XImage * , int ) ;
00024
00025 extern XImage * pixar_to_XImage( MCW_DC * , int,int , Pixel * ) ;
00026 extern XImage * rgb_to_XImage( MCW_DC * , MRI_IMAGE * ) ;
00027
00028 #define X2M_USE_CMAP (1<<0)
00029 #define X2M_FORCE_RGB (1<<1)
00030
00031 extern void ISQ_snapfile( Widget w ) ;
00032 extern MRI_IMAGE * SNAP_grab_image( Widget , MCW_DC * ) ;
00033
00034
00035 #endif