#include #include #include #include "spkdtkplugin_impl.h" using Dtk::Widget::DPlatformWindowHandle; void SpkDtkPluginImpl::Initialize() { connect(DGuiApplicationHelper::instance()->systemTheme(), &DPlatformTheme::activeColorChanged, this, &SpkDtkPluginImpl::AccentColorChanged); } void SpkDtkPluginImpl::addWindow(QWidget *w, QObject *parent) { DPlatformWindowHandle *h = new DPlatformWindowHandle(w, parent); Q_UNUSED(h); } QColor SpkDtkPluginImpl::GetAccentColor() { return DGuiApplicationHelper::instance()->systemTheme()->activeColor(); }