You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently milch operates as a library that provides one class which does everything.
instead it should really be providing Base classes that could be overridden
i.e:
#include<milch/milch.hpp>classmyApp : publicmilch::Application {
voidInput(Event* event) {
// handle events here
}
voidUpdate() {
// draw things here
}
voidInit() {
// initalize things here// in the future it could even intialize widgetsButtonmyButton("text", shapes::point(20, 30));
this.add_widget(myButton);
}
}
intmain() {
myApp app;
app.run();
}
The text was updated successfully, but these errors were encountered:
Currently milch operates as a library that provides one class which does everything.
instead it should really be providing Base classes that could be overridden
i.e:
The text was updated successfully, but these errors were encountered: