/[freetype]/ft2demos/graph/x11/grx11.c
ViewVC logotype

Diff of /ft2demos/graph/x11/grx11.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by werner, Wed Sep 8 09:51:43 2004 UTC revision 1.18 by wl, Fri May 27 05:59:22 2005 UTC
# Line 5  Line 5 
5   *  This is the driver for displaying inside a window under X11,   *  This is the driver for displaying inside a window under X11,
6   *  used by the graphics utility of the FreeType test suite.   *  used by the graphics utility of the FreeType test suite.
7   *   *
8   *  Copyright 1999-2000, 2001, 2002 by Antoine Leca, David Turner   *  Copyright 1999-2000, 2001, 2002, 2005 by Antoine Leca, David Turner
9   *  David Turner, Robert Wilhelm, and Werner Lemberg.   *  David Turner, Robert Wilhelm, and Werner Lemberg.
10   *   *
11   *  This file is part of the FreeType project, and may only be used   *  This file is part of the FreeType project, and may only be used
# Line 1348  typedef  unsigned long   uint32; Line 1348  typedef  unsigned long   uint32;
1348        XSetWindowAttributes  xswa;        XSetWindowAttributes  xswa;
1349        long                  xswa_mask = CWBackPixel | CWEventMask | CWCursor;        long                  xswa_mask = CWBackPixel | CWEventMask | CWCursor;
1350    
1351          xswa.border_pixel = BlackPixel( display, screen);
1352    
1353        if (surface->visual == DefaultVisual( display, screen ) )        if (surface->visual == DefaultVisual( display, screen ) )
1354        {        {
1355        xswa.background_pixel = WhitePixel( display, screen );          xswa.background_pixel = WhitePixel( display, screen );
1356          surface->colormap     = DefaultColormap( display, screen );          surface->colormap     = DefaultColormap( display, screen );
1357        }        }
1358        else        else

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26