Skip to content
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

add support to dx9 backend #39

Open
Detector-I opened this issue Oct 11, 2021 · 4 comments
Open

add support to dx9 backend #39

Detector-I opened this issue Oct 11, 2021 · 4 comments

Comments

@Detector-I
Copy link

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
Copy link
Author

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?

@thennequin
Copy link
Owner

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.

@Detector-I
Copy link
Author

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.

@thennequin
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants