Skip to content

Add return type for constructor functions#6

Open
scemino wants to merge 1 commit intonimgl:masterfrom
scemino:master
Open

Add return type for constructor functions#6
scemino wants to merge 1 commit intonimgl:masterfrom
scemino:master

Conversation

@scemino
Copy link
Copy Markdown

@scemino scemino commented Feb 13, 2022

Today it's impossible to use all constructor functions, I modified the generator to fix this.
Actually I needed to use ImGuiTextFilter to filter a list and I found no way to do this with the actual nimgl version.
I hope you'll find it useful.

@scemino
Copy link
Copy Markdown
Author

scemino commented Mar 2, 2022

I found a workaround, it is possible to use ImGuiTextFilter like this:
filter.addr.draw("Filter (\"incl,-excl\") (\"error\")", 180), I hope that it will help other people which have the same problem.

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

Successfully merging this pull request may close these issues.

1 participant