@shaanveer please take yet another while to reconsider. Or continue to pretend to do so. I keep making the mistake of checking on you to see if you've progressed, and while I do realise that I could just not do that, I also want you to show some proper work. For you to achieve something.
But you're stuck in a loop, and unless you dig into ImGui yourself (and C++ for that matter) and really absorb through little projects, you're not going to get anywhere soon. Your threads are toxic and people have your interests at heart.
I understand that it can be difficult to take, and the below responses probably won't help much, besides showing the hypocrisy you've delivered so far.
Shaanveer said:
What why. I just need to know how to render multiple buttons with any shapes and a display box. I know the rest how to remove top. And rest just need to know this.
If you have to put it like that over and over again then No; You don't “just” need to know it. You need to know a lot more than that, and you need to get started instead of repeating the same vague questions about buttons here over and over again.
Shaanveer said:
@8Observer8 Why would I need this when I have imgui. Why are you adding additional things that have nothing to do with the problem. I just need a display box and multiple buttons with any shape(2 things).
Why have you been adding additional things that have nothing to do with the problem? You're making it difficult for yourself. @8observer8 also provided you with a fairly simple js example that you could have learned from, and godot and game make that I've mentioned repeatedly makes button placements easier. Why are you hell-bent on making it so difficult for yourself while expecting us to tackle every tiny, google-able, RTFM-ly, stack-overflow-hack-provided, RFC-detailed issue you come across?
Shaanveer said:
@undefined Just send some code on how to render multiple buttons on different positions with any shapes and a display box.
No script kiddie - tinker with stuff and learn instead! Don't expect anyone to deliver everything for you on a silver plattter. @8observer8 has been very, very generous with sample code, and very patient.
Shaanveer said:
Well microsoft was made with opengl and c++ and maybe imgui I'm not sure
Of course you're not sure. Because you have absolutely no idea, and a falsity about something being “the right way” is causing you to make bad decisions. 1) Microsoft what exactly? 2) OpenGL? Sure, but don't you think MS tends to favour DirectX? 3) C++? What about the big investments on C# and TypeScript from Microsoft? 4) Dear ImGui? Again I must ask what for - the Dear ImGui sponsors are listed here. I acknowledge using C++ and ImGui, and I like them a lot, I just don't think you should be using them yet. Not with what you've written here so far.
Shaanveer said:
@undefined Then can you tell me the framework gui library that allows this. I don't want to change opengl but if I have to for better results I will. But I am fine to change gui library. Is it commen or any one no one knows. Try telling me a common on.
Use a game engine or get cracking on making anything, heck!