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

Integration help #22

Open
Bonicx opened this issue Nov 19, 2017 · 1 comment
Open

Integration help #22

Bonicx opened this issue Nov 19, 2017 · 1 comment

Comments

@Bonicx
Copy link

Bonicx commented Nov 19, 2017

Hi, I would like to use your docking system but I have no idea how should I go about to integrate the docking into my editor.

Can I get some advice on how should I proceed?

@thennequin
Copy link
Owner

You can look on the different backends support (DirectX 11, OpenGL, GLFW, BGFX), if your editor already support the creation of multi window with shared context, it's not really hard.

Or for a really basic support with only one window (no drag preview and no floating window) you can just :

  • have a functionnal ImGui 1.48 support in your editor
  • include the ImWindow folder in your project
  • include ImwWindowManager header
  • instantiate ImwWindowManager
  • call the Update function of your ImwWindowManager instance (like in the main.cpp file of backends) in your update phase
  • and that's all, ImwWindowManager will use the current context of ImGui.

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

No branches or pull requests

2 participants