diff options
| author | Richard Smith <[email protected]> | 2021-08-26 16:31:01 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-26 17:31:01 +0200 |
| commit | cac856119c23898579fc237703a8ff3bda207dc6 (patch) | |
| tree | 4173a3e9162d6e4bddbfe59b6aed7bea117eaff8 /src/raylib.h | |
| parent | 1286bc076f2f121b5375554c2ff26d2c1c72e0eb (diff) | |
| download | raylib-cac856119c23898579fc237703a8ff3bda207dc6.tar.gz raylib-cac856119c23898579fc237703a8ff3bda207dc6.zip | |
Change GetColor to take unsigned int (#1954)
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 7613dd94..fb0be178 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1297,7 +1297,7 @@ RLAPI Vector3 ColorToHSV(Color color); // G RLAPI Color ColorFromHSV(float hue, float saturation, float value); // Get a Color from HSV values, hue [0..360], saturation/value [0..1] RLAPI Color ColorAlpha(Color color, float alpha); // Get color with alpha applied, alpha goes from 0.0f to 1.0f RLAPI Color ColorAlphaBlend(Color dst, Color src, Color tint); // Get src alpha-blended into dst color with tint -RLAPI Color GetColor(int hexValue); // Get Color structure from hexadecimal value +RLAPI Color GetColor(unsigned int hexValue); // Get Color structure from hexadecimal value RLAPI Color GetPixelColor(void *srcPtr, int format); // Get Color from a source pixel pointer of certain format RLAPI void SetPixelColor(void *dstPtr, Color color, int format); // Set color formatted into destination pixel pointer RLAPI int GetPixelDataSize(int width, int height, int format); // Get pixel data size in bytes for certain format |
