mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 20:38:08 +01:00
using unsigned for height and width cause a lot of confusion. I grab
X's header and see that XImage use int for its width and height so I change RImage to follow that.
This commit is contained in:
@@ -190,7 +190,7 @@ enum RImageFormat {
|
|||||||
*/
|
*/
|
||||||
typedef struct RImage {
|
typedef struct RImage {
|
||||||
unsigned char *data; /* image data RGBA or RGB */
|
unsigned char *data; /* image data RGBA or RGB */
|
||||||
unsigned width, height; /* size of the image */
|
int width, height; /* size of the image */
|
||||||
enum RImageFormat format;
|
enum RImageFormat format;
|
||||||
RColor background; /* background color */
|
RColor background; /* background color */
|
||||||
} RImage;
|
} RImage;
|
||||||
|
|||||||
Reference in New Issue
Block a user