I'm struggling to come up with an efficient way to make my editor interact with my engine. I'm working with c++.
This is a common situation I guess: You're writing an editor for your engine and you want to display information about "stuff" and want to be able to modify it through the editor gui. For example you click on an object and want to display its properties and edit them using appropriate gui controls.
Ideally I'd prefer if the editor doesn't "know" anything about the objects. For example if I added a SetColor(Color c) method to an object, I don't want to modify the editor to make it display a corresponding control, it should just do it
To clarify: I know how to connect a gui control with a method. I just want to automate the whole process.
I hope anyone gets what I'm after






