-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
VB-style NumericUpDown Emulation #8486
Comments
This?
|
Hi, added project, sorry for the mess, still just trying to understand how to do things. |
Any more ideas? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version/Branch of Dear ImGui:
Version 1.XX, Branch: XXX (master/docking/etc.)
Back-ends:
dear imgui, v1.91.9 WIP
Compiler, OS:
windows 11 visual studio 22
Full config/build information:
Newest example code just with very little modifications, like single window. That's about all.
Details:
Hello. I am trying to rewrite my .NET c# application with graphs due to performance and inconsistency issues running my high update rate code. So far I am very happy with ImGui, i can get at least 20% performance increase ( limited by USB communication) with near zero processor load ( instead of pinned thread to the max on .NET C#)
Problem I am having i need to emulate numeric up down with limits and changes should come from few places:
Problem I am having is that I can't get all features to work, only can get some working before others start mysteriously failing. Bu the looks of it, it seems that I can't set input control to value, and it's just overwrites changes I made.
Here is my best working code so far:
`
static int32_t value = 0;
static int32_t tempValue = 0;
void ShowFiveWindowLayout()
{
const int32_t step = 1;
const int32_t minValue = 0, maxValue = 100;
}
`
So in this code, +- signs near control work, writing text manually and pressing enter also work, cursor going out of control also work. what does not work is arrows and mouse wheel. ( they are triggered but it just get stuck into +-1 range. Any idea how to fix this ? using chatGPT does not help, one works, other fails...
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: