mirror of
https://github.com/raysan5/raygui.git
synced 2026-02-02 20:29:19 -05:00
Update raygui Rectangle to match raylib Rectangle (#88)
Rectangle in raygui should use a float.
This commit is contained in:
@ -216,10 +216,10 @@
|
|||||||
|
|
||||||
// Rectangle type
|
// Rectangle type
|
||||||
typedef struct Rectangle {
|
typedef struct Rectangle {
|
||||||
int x;
|
float x;
|
||||||
int y;
|
float y;
|
||||||
int width;
|
float width;
|
||||||
int height;
|
float height;
|
||||||
} Rectangle;
|
} Rectangle;
|
||||||
|
|
||||||
// TODO: Texture2D type is very coupled to raylib, mostly required by GuiImageButton()
|
// TODO: Texture2D type is very coupled to raylib, mostly required by GuiImageButton()
|
||||||
|
|||||||
Reference in New Issue
Block a user