~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to plug-ins/gimpressionist/repaint.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
  return sum;
77
77
}
78
78
 
79
 
/* TODO : Use r = rgb[0]; g = rgb[1] ; b = rgb[2]; instead of 
 
79
/* TODO : Use r = rgb[0]; g = rgb[1] ; b = rgb[2]; instead of
80
80
 * the direct references here.
81
81
 * */
82
82
static int
222
222
  int    shadowdepth = pcvals.general_shadow_depth;
223
223
  int    shadowblur = pcvals.general_shadow_blur;
224
224
 
 
225
  atmp.col = 0;
 
226
  atmp.width = 0;
 
227
 
225
228
  tmp = *p;
226
229
  if (img_has_alpha)
227
230
    atmp = *a;
1045
1048
          if (doy)
1046
1049
            {
1047
1050
              if (dox < 0)
1048
 
                apply_brush (brush, shadow, &tmp, &atmp, tx+orig_width,ty+doy*orig_height,r,g,b);
 
1051
                apply_brush (brush, shadow, &tmp, &atmp,
 
1052
                             tx+orig_width, ty + doy * orig_height, r, g, b);
1049
1053
              if (dox > 0)
1050
 
                apply_brush (brush, shadow, &tmp, &atmp, tx-orig_width,ty+doy*orig_height,r,g,b);
 
1054
                apply_brush (brush, shadow, &tmp, &atmp,
 
1055
                             tx-orig_width, ty + doy * orig_height, r, g, b);
1051
1056
            }
1052
1057
        }
1053
1058
    }
1151
1156
  ppm_kill (&paper_ppm);
1152
1157
  ppm_kill (&dirmap);
1153
1158
  ppm_kill (&sizmap);
 
1159
 
1154
1160
  if (runningvals.run)
1155
1161
    {
1156
1162
      gimp_progress_update (0.8);
1157
1163
    }
1158
1164
  else
1159
1165
    {
1160
 
      preview_set_button_label (_("Update"));
 
1166
      preview_set_button_label (_("_Update"));
1161
1167
    }
 
1168
 
1162
1169
  running = 0;
1163
1170
}