sergobot / Rocky

Yet another abandoned game engine
0 stars 0 forks source link

Make window able to handle layouts #12

Open sergobot opened 7 years ago

sergobot commented 7 years ago

Window calls Layout.Widgets(), then goes through that slice and calls each Widget.Draw() method directly. Or, may be, Window will just call Layout.Draw() and it will do all the work. I still don't know the right way, so, actual implementation may vary.