Giter Club home page Giter Club logo

Comments (6)

ebriney avatar ebriney commented on May 11, 2024

Perhaps also add a stride would avoid some copy.

from imgui.

ebriney avatar ebriney commented on May 11, 2024

Some kind of axes or grid would be nice too.

from imgui.

ocornut avatar ocornut commented on May 11, 2024

Emmanuel, congrats on your new born :)

  • There is a stride already in the function, if you update to a recent version
  • For the others, I haven't thought of a way to implement or present them. What I suggest you do is, define IMGUI_INCLUDE_IMGUI_USER_CPP and create a custom widget in imgui_user.cpp (it is included from the bottom of imgui.cpp so you have access to all private stuff).

Then you can implement a custom Plot (and maybe post screenshots and code here). I think when we have a better understanding of how custom plots can be interfaced we can potentially turn them into public functions for the main ImGui API.

from imgui.

ocornut avatar ocornut commented on May 11, 2024

What I imagine it could become is that we may end up with a more complex Plot() entry point to allow multiple channels and we can keep the simple versions as helper.

from imgui.

ebriney avatar ebriney commented on May 11, 2024

Thanks guys, I'll try a custom code, i didn't know about the macro.
I did an analog thing on my local version including "mycustomComponentForImgui.inl" at the end of imgui.cpp.

from imgui.

ocornut avatar ocornut commented on May 11, 2024

I will rename the file to .inl it makes more sense for IDEs.
EDIT It is renamed now.

from imgui.

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.