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

Very interested in using this for build a shader editor #33

Closed
625673575 opened this issue Aug 10, 2019 · 2 comments
Closed

Very interested in using this for build a shader editor #33

625673575 opened this issue Aug 10, 2019 · 2 comments

Comments

@625673575
Copy link

Hi ,Im recently working on a shader visual tool.Find your project is very helpful,The liscense is MIT ,so I try to merge this to my exist project ,I noticed the issue with "_FringeScale",but it seems that the ImGui doesn't have some function like ImGui::Spring ImGui::BeginHorizontal.

@ce2kettu
Copy link

This project uses a slightly modified version of Dear ImGui. What you could do is move these non-standard methods to a new file, but under the ImGui namespace and thus keeping forwards compatibility. Although, you could just replace them with native ImGui methods (BeginGroup, TreeNode).

@thedmd
Copy link
Owner

thedmd commented Nov 6, 2019

@625673575, @ce2kettu This project works with vanilla copy of ImGui.

Modifications you mention are required only for blueprints example. Layouts helps to build fancy looking nodes without much hassle.

If you use your own copy of ImGui you will need to draw nodes without layouts with help of BeginGroup as @ce2kettu suggested.

@thedmd thedmd closed this as completed Apr 15, 2020
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

3 participants