Giter Site home page Giter Site logo

Comments (7)

Dominaezzz avatar Dominaezzz commented on September 26, 2024 1

Ah it returns Vec2, which I don't handle yet, so it is indeed missing. I had begun work on this in the im_vector branch.

In the meantime you can use the cinterop apis to workaround this.

from kotlin-imgui.

Dominaezzz avatar Dominaezzz commented on September 26, 2024

Did you not find ImGui.calcTextSize()?

from kotlin-imgui.

Kesanov avatar Kesanov commented on September 26, 2024

Nope. Quick search returns nothing.

from kotlin-imgui.

Dominaezzz avatar Dominaezzz commented on September 26, 2024

It's a generated file, so it's not in the repo. You'll have to rely on auto compete, but it does indeed exist.

from kotlin-imgui.

Kesanov avatar Kesanov commented on September 26, 2024

Autocomplete doesn't return anything either. I use import com.imgui.*.

from kotlin-imgui.

Dominaezzz avatar Dominaezzz commented on September 26, 2024

Odd, I'm fairly certain it should be there. I'll confirm when I get time.
Are you able to Ctrl+Click on any ImGui functions? What are the functions near ImGui.calcTextSize(), (the functions are sorted)

from kotlin-imgui.

Kesanov avatar Kesanov commented on September 26, 2024
beginTabBar
beginTabItem
beginTooltip
bullet
bulletText
button
calcItemWidth
calcListClipping
captureKeyboardFromApp
captureMouseFromApp
checkbox
checkboxFlags

from kotlin-imgui.

Related Issues (17)

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.