GithubHelp home page GithubHelp logo

Comments (5)

dertseha avatar dertseha commented on May 18, 2024

Hello @futjikato , thank you for your message!
They are not intentionally hidden, just not yet required so far.
These are simple functions, you should be able to add them if you like - see for similar functions on how it is done.
For instance, TreeAdvanceToLabelPos() would be similar to TreePop(), so follow its wrapper implementation and essentially copy/paste :)
TreeNodeToLabelSpacing() isn't much different, only add a return value of float32 (and keep in mind, getter names don't have the prefix Get in go.
Take the documentation from imgui.h for the functions and you are good to go :)

from imgui-go.

futjikato avatar futjikato commented on May 18, 2024

Thanks! Will try to make a PR later today

from imgui-go.

futjikato avatar futjikato commented on May 18, 2024

As of Juli 2019 TreeAdvanceToLabelPos is deprecated so I will just add TreeNodeToLabelSpacing as that seems to be the replacement.
See: https://github.com/ocornut/imgui/blob/master/imgui.h#L1542

from imgui-go.

futjikato avatar futjikato commented on May 18, 2024

See PR #46

from imgui-go.

dertseha avatar dertseha commented on May 18, 2024

Thank you for your contribution! I'll do a release with that soon, I first want to handle the other issue as well.

from imgui-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.