Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

int GuiGrid(...) - return value never modified #359

Closed
n67094 opened this issue Dec 26, 2023 · 1 comment
Closed

int GuiGrid(...) - return value never modified #359

n67094 opened this issue Dec 26, 2023 · 1 comment

Comments

@n67094
Copy link

n67094 commented Dec 26, 2023

Hi,

Here the result var have no purpose right ? What was the intention ?

int GuiGrid(Rectangle bounds, const char *text, float spacing, int subdivs, Vector2 *mouseCell)

@raysan5
Copy link
Owner

raysan5 commented Jan 14, 2024

@n67094 Since raygui 4.0 all controls funtions return an integer value, reserved for some kind of internal state return when needed, several controls use them but not all. This part still requires some work to determine the possible return values common to all controls (i.e mouse hover control, mouse down, control focused...) or specific control internal state values... It's a work-in-progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants