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

Bindings for ImGuiColorTextEdit 🙂 #79

Merged
merged 6 commits into from
Sep 12, 2021
Merged

Conversation

SocketByte
Copy link
Contributor

@SocketByte SocketByte commented Aug 30, 2021

This began as a personal addition since I needed this for my hobby game engine, but I decided that it is (just maybe) "good enough" to be merged upstream, and I saw someone asking for it so there you are.

Since I'm rather inexperienced in JNI and C++ this code may not be up to the highest standard... but it works, on all three platforms!
I've tried to be as close as possible to SpaiR's codestyle, but of course suggestions are always very welcome.

Most of the things are implemented, some functions needed to be "abstracted" a little bit since ImGuiColorTextEdit uses a lot of C++ standard library features.

Hope it's useful!

And an image, because why not.
java_uhm6Vzay38

@SpaiR
Copy link
Owner

SpaiR commented Aug 30, 2021

Looks very promising! I'll defenetly review the PR, but probably closer to the weekend. For now you can see that CI fails on the checkstyle. Would you likely to fix it? (Checkstyle can be run locally with: ./gradlew :imgui-binding:checkstyleMain.)

@SpaiR SpaiR added 3rd party feat New feature or request labels Aug 30, 2021
@SpaiR
Copy link
Owner

SpaiR commented Aug 30, 2021

#53

@SpaiR SpaiR merged commit 4e56056 into SpaiR:master Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants