ImWindow icon indicating copy to clipboard operation
ImWindow copied to clipboard

add support to dx9 backend

Open Detector-I opened this issue 4 years ago • 4 comments

Hi, can you please add support to DX9 backend to the ImWindow? also one small question, what version of window ImWindow support? I mean it will run on a win 7?

Detector-I avatar Oct 11 '21 16:10 Detector-I

and other thing, what is the differences between all these build types

  • bgfx
  • sokol I know about opengl, dx11 and glfw but I don't know what is these... also can you tell me what you prefer as backend between all these? and what have the most compatibility for older version of windows?

Detector-I avatar Oct 11 '21 17:10 Detector-I

Hi, sorry I didn't have time to add DX9 backend, but you could do that by yourself with the ImGui DX9 backend. I didn't try to run it on Windows 7 but it should work, I used old school Win32 functions for managing the windows.

bgfx and sokol are two famous abstraction layers libraries to GPU API (DirectX/OpenGL/...) and they are in ImWindow just to show it is possible to using them with ImWindow.

Maybe you just want to use directly ImGui, which now support multi windows and DX9. ImWindow is a layer over ImGui for managing windows like in the Unity Editor, a window is a class instance.

thennequin avatar Oct 23 '21 16:10 thennequin

thank you for your answer yes I will try to add the DX9 support, the reason that Im after this is because more of old system support it, and its better for my case at least I know I can use the ImGui itself, but the good thing about your project is its perfectly beautiful, I mean its have all the things that I want, like custom title bar (man I hate windows default one) its have a good docking support and... so I will be try to add DX9 support to it also it will be good if you can add aero snap and windows shadow into it too thank you for your work.

Detector-I avatar Oct 24 '21 21:10 Detector-I

Thanks for your support. To add custom titlebar support, I add to recreate some window behaviour (see EasyWindow), so it will be difficult to add area snap. For the shadow, we can easily add the flag CS_DROPSHADOW in EasyWindowWin32.cpp but it's a very thin shadow. Before : image After : image

thennequin avatar Nov 08 '21 22:11 thennequin