/[xforms]/xforms/image/image_proc.c
ViewVC logotype

Diff of /xforms/image/image_proc.c

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

revision 1.3 by leeming, Thu Apr 24 09:35:34 2003 UTC revision 1.4 by leeming, Tue Sep 9 00:28:25 2003 UTC
# Line 24  Line 24 
24   * $Id$   * $Id$
25   *.   *.
26   *  This file is part of the XForms library package.   *  This file is part of the XForms library package.
27   *  Copyright (c) 1993, 1998-2002  By T.C. Zhao   *  Copyright (c) 1993, 1998-2002  By T.C. Zhao
28   *  All rights reserved.   *  All rights reserved.
29   *.   *.
30   *   *
# Line 40  Line 40 
40    
41    
42  /********************************************************************  /********************************************************************
43   *  general pixel transformation   *  general pixel transformation
44   ********************************************************************/   ********************************************************************/
45  int  int
46  flimage_transform_pixels(FL_IMAGE * im, int *red, int *green, int *blue)  flimage_transform_pixels(FL_IMAGE * im, int *red, int *green, int *blue)
47  {  {
48      int i, j;      int i, j;
# Line 71  flimage_transform_pixels(FL_IMAGE * im, Line 71  flimage_transform_pixels(FL_IMAGE * im,
71             im->completed = i;             im->completed = i;
72             im->visual_cue(im,"Transforming");             im->visual_cue(im,"Transforming");
73          }          }
74              
75          for (j = 0; j < sub->w; j++)          for (j = 0; j < sub->w; j++)
76          {          {
77              r[j] = red[r[j]];              r[j] = red[r[j]];
# Line 96  flimage_transform_pixels(FL_IMAGE * im, Line 96  flimage_transform_pixels(FL_IMAGE * im,
96    
97    
98  /********************************************************************  /********************************************************************
99   * tint.   * tint.
100   ******************************************************************{*/   ******************************************************************{*/
101  int  int
102  flimage_tint(FL_IMAGE * im, unsigned int packed, double opacity)  flimage_tint(FL_IMAGE * im, unsigned int packed, double opacity)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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