Comments (6)
Perhaps also add a stride would avoid some copy.
from imgui.
Some kind of axes or grid would be nice too.
from imgui.
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.
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.
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.
I will rename the file to .inl it makes more sense for IDEs.
EDIT It is renamed now.
from imgui.
Related Issues (20)
- How to handle key events properly. HOT 7
- "Hold SHIFT to enable Docking window" tooltip inherits `NextWindowData` HOT 1
- SDL3 backend text input does not work HOT 2
- How to create a very big table? HOT 1
- Standalone ImDrawList/ImDrawCmd/Low level renderer API HOT 2
- `TextWrapped` will cause `too-many-vertices` error for long single-line strings HOT 2
- How do I load custom fonts in memory? HOT 2
- PDIRECT3D11 HOT 1
- Is it possible to create non-square buttons? HOT 4
- Image canvas implementation HOT 15
- Unable to use Menu HOT 3
- Gallery: Post your screenshots / code here (PART 19) HOT 4
- Drag and Drop from Menubar HOT 5
- What's the proper way to render custom text or custom items in the "key"/"label" of a TreeNode? HOT 8
- Begin() to append doesn't set LastItemData for title-bar/tab (was `BeginItemTooltip` may react to wrong widgets?) HOT 2
- Glfw + Vulkan: backend don't properly handle when vkQueuePresentKHR & vkAcquireNextImageKHR produce VK_ERROR_OUT_OF_DATE_KHR HOT 5
- SetWindowFocus and Open/BeginPopup on right click breaks IsItemDeactivated HOT 1
- How to make hover highlighting on (many) overlapping InputTexts? HOT 14
- WebGPU sampler set to WGPUAddressMode_Repeat causes image rendering issues HOT 2
- SDL3 SDL_KeyCode no longer an enum HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imgui.