if (background_tint != TINT_LEAVE_SAME)
{
- ASImage* tmp = tile_asimage (target->asv, background, 0, 0,
+ ASImage *tmp = tile_asimage (target->asv, background, 0, 0,
target_width, target_height, background_tint,
ASA_XImage, 100, ASIMAGE_QUALITY_DEFAULT);
if (tmp)
# endif /* ENABLE_TRANSPARENCY */
# ifndef HAVE_AFTERIMAGE
-static void ShadeXImage(rxvt_term *term, XImage* srcImage, int shade, int rm, int gm, int bm);
+static void ShadeXImage(rxvt_term *term, XImage *srcImage, int shade, int rm, int gm, int bm);
# endif
bool
if (!(background_flags & transpPmapBlured) && (flags & blurNeeded) && background != NULL)
{
- ASImage* tmp = blur_asimage_gauss (target->asv, background, h_blurRadius, v_blurRadius, 0xFFFFFFFF,
+ ASImage *tmp = blur_asimage_gauss (target->asv, background, h_blurRadius, v_blurRadius, 0xFFFFFFFF,
(original_asim == NULL || tint == TINT_LEAVE_SAME)?ASA_XImage:ASA_ASImage,
100, ASIMAGE_QUALITY_DEFAULT);
if (tmp)
typedef uint32_t RUINT32T;
static void
-ShadeXImage(rxvt_term *term, XImage* srcImage, int shade, int rm, int gm, int bm)
+ShadeXImage(rxvt_term *term, XImage *srcImage, int shade, int rm, int gm, int bm)
{
int sh_r, sh_g, sh_b;
RUINT32T mask_r, mask_g, mask_b;
{
int w = im->width;
int h = im->height;
- long* buffer = (long *)malloc ((2 + w * h) * sizeof (long));
+ long *buffer = (long *)malloc ((2 + w * h) * sizeof (long));
ASImage *result = scale_asimage (asv, im,
w, h, ASA_ARGB32,
100, ASIMAGE_QUALITY_DEFAULT);
destroy_asimage (&result);
XChangeProperty (dpy, top, xa[XA_NET_WM_ICON], XA_CARDINAL, 32,
- PropModeReplace, (const unsigned char*) buffer, 2 + w * h);
+ PropModeReplace, (const unsigned char *) buffer, 2 + w * h);
free (buffer);
}
else