Browse Source

python: add an API-breaking TODO for Application wrappers.

No need to use the Configuration class here, we got named arguments
instead.
next
Vladimír Vondruš 3 years ago
parent
commit
f6d4385a44
  1. 2
      src/python/magnum/platform/application.h

2
src/python/magnum/platform/application.h

@ -41,6 +41,8 @@ template<class T, class Trampoline, class Holder> void application(py::class_<T,
.value("RESIZABLE", T::Configuration::WindowFlag::Resizable);
corrade::enumOperators(configurationWindowFlags);
/** @todo drop this in favor of named constructor arguments, that's what
the Configuration tries to emulate after all */
configuration
.def(py::init())
.def_property("title",

Loading…
Cancel
Save