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

Direct drawing #33

Closed
mrzapp opened this issue Apr 4, 2014 · 1 comment
Closed

Direct drawing #33

mrzapp opened this issue Apr 4, 2014 · 1 comment

Comments

@mrzapp
Copy link
Contributor

mrzapp commented Apr 4, 2014

This is a bit of a stretch, but it would be very cool: Make OpenGUI just as capable of in-line GUI programming as it is in GameObject-based form.

That is, we'd create methods like OG:Button ( String, Rect, ... ) : bool and call them from OGPage:DrawPage (), which would essentially be OpenGUI's version of OnGUI (). This needs a bit of restructuring, and there are some issues with material passes that need to be addressed, but overall, this would allow for more code-centric implementations while still maintaining the convenience of previewing your GUI outside play mode. It would also mean less widget management, which would ultimately result in a lighter CPU load.

@MuNgLo
Copy link
Collaborator

MuNgLo commented Apr 4, 2014

I'm not knowledgable enough about the ins and outs of GUI element drawing in either OnGUI or OpenGUI. But it seems to me it would make it easier to script flexible UI's.

@mrzapp mrzapp closed this as completed Jul 20, 2014
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