1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-03 12:24:17 +01:00

Added the last missing 'const' attributes to function parameters

This commit is contained in:
Christophe CURIS
2013-05-01 20:26:35 +02:00
committed by Carlos R. Mafra
parent 0bf6297a32
commit 9e4253f670
5 changed files with 11 additions and 11 deletions

View File

@@ -304,7 +304,7 @@ char *RGetImageFileFormat(const char *file);
* Xlib contexts
*/
RContext *RCreateContext(Display *dpy, int screen_number,
RContextAttributes *attribs);
const RContextAttributes *attribs);
void RDestroyContext(RContext *context);
@@ -341,7 +341,7 @@ RImage *RCloneImage(RImage *image);
RImage *RGetSubImage(RImage *image, int x, int y, unsigned width,
unsigned height);
void RCombineImageWithColor(RImage *image, RColor *color);
void RCombineImageWithColor(RImage *image, const RColor *color);
void RCombineImages(RImage *image, RImage *src);
@@ -371,7 +371,7 @@ RImage *RRotateImage(RImage *image, float angle);
RImage *RMakeTiledImage(RImage *tile, unsigned width, unsigned height);
RImage* RMakeCenteredImage(RImage *image, unsigned width, unsigned height,
RColor *color);
const RColor *color);
/*
* Drawing
@@ -415,14 +415,14 @@ void RHSVtoRGB(const RHSVColor *hsv, RColor *rgb);
*/
void RClearImage(RImage *image, const RColor *color);
void RLightImage(RImage *image, RColor *color);
void RLightImage(RImage *image, const RColor *color);
void RFillImage(RImage *image, const RColor *color);
void RBevelImage(RImage *image, int bevel_type);
RImage *RRenderGradient(unsigned width, unsigned height, RColor *from,
RColor *to, int style);
RImage *RRenderGradient(unsigned width, unsigned height, const RColor *from,
const RColor *to, int style);
RImage *RRenderMultiGradient(unsigned width, unsigned height, RColor **colors,