#include #include using namespace NXKit; std::shared_ptr UITraitCollection::_current = new_shared(); std::shared_ptr UITraitCollection::copy() { auto newCollection = new_shared(); newCollection->_userInterfaceStyle = _userInterfaceStyle; newCollection->_displayScale = _displayScale; return newCollection; }