4 Commits

Author SHA1 Message Date
Joonas Javanainen
eca0ad9ec0
Hide all builder "new" functions
These are very unsafe when used outside the Ui::* functions.
2017-07-12 23:39:09 +03:00
Joonas Javanainen
c4cc165c5d
More Into<ImVec2> sizes 2017-07-12 23:35:22 +03:00
Benjamin Adamson
23de1746f4 Feedback implemented 2017-07-08 02:15:59 -07:00
Benjamin Adamson
2f1cc2e9a8 Initial idea for supporting child frame's for windows.
Imgui allows the user to create child frame's, and render into them.
This isn't exposed currently, this is my first idea at how rust can
support child frame's.

Presently it's not the easiest to use, to have a window with a child
frame supported, internally the imgui library must have called
beginWindow() for the parent window, before beginChild() is ever called
for the child frame. Doing this without causing unneeded
allocations/complexity, and making the API ergonomic is something I hope
to work on next / get some feedback on.
2017-07-07 02:30:34 -07:00