/[antiright]/antiright/src/arshell/color.c
ViewVC logotype

Diff of /antiright/src/arshell/color.c

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

revision 1.5 by jefbed, Sat Nov 6 22:52:12 2004 UTC revision 1.6 by jefbed, Wed Dec 22 02:25:45 2004 UTC
# Line 40  arcolor_allocate_color(XColor *color) Line 40  arcolor_allocate_color(XColor *color)
40    /* These options are set often enough, so set them in this generic    /* These options are set often enough, so set them in this generic
41       function.  */       function.  */
42    color->flags=DoRed|DoGreen|DoBlue;    color->flags=DoRed|DoGreen|DoBlue;
43        colormap=DefaultColormap(antiright.display, antiright.screen);
44    colormap=DefaultColormap(XtDisplay(arcolor_preview_widget),    XAllocColor(antiright.display,colormap,color);
                            DefaultScreen  
                            (XtDisplay(arcolor_preview_widget)));  
     
     
   XAllocColor(XtDisplay(arcolor_preview_widget),  
               colormap,  
               color);  
45  }  }
46    
47  void  void

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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