imgui icon indicating copy to clipboard operation
imgui copied to clipboard

Move parent platform window

Open Nuxar1 opened this issue 3 years ago • 1 comments

The idea of this new flag is to create an imgui window the size of the parent Windows window and then to redirect movement to it. This allows for very easy creation of simple apps with a UI. This only works on windows.

The result: Desktop_2021 07 07_-_17 09 17 01_Trim

Now making the windows window transparent you can get something nice looking like this: Desktop_2021 07 07_-_17 35 40 04_Trim

Nuxar1 avatar Jul 07 '21 15:07 Nuxar1

Hello,

I understand why you may want this, but this makes zero effort at acknowledging the multiplatform-ness of dear imgui, so that's not something we can merge.

I first suggest you have a look at Multi-viewports in the docking branch. Even though this doesn't do exactly the same thing nor this way, it tend to covers similar needs.

I think we will/should provide this feature perhaps even without multi-viewports and should aim to come up with a suitable design.

ocornut avatar Jul 07 '21 15:07 ocornut