color_shift.c 236 B

123456789101112131415
  1. #include <grass/gis.h>
  2. int G_shift_colors(int shift, struct Colors *colors)
  3. {
  4. colors->shift += (DCELL) shift;
  5. return 0;
  6. }
  7. int G_shift_d_colors(DCELL shift, struct Colors *colors)
  8. {
  9. colors->shift += shift;
  10. return 0;
  11. }