bsnes/snespurify/phoenix/qt/widget/viewport.cpp

10 lines
238 B
C++
Executable File

uintptr_t pViewport::handle() {
return (uintptr_t)qtWidget->winId();
}
void pViewport::constructor() {
qtWidget = new QWidget;
qtWidget->setAttribute(Qt::WA_PaintOnScreen, true);
qtWidget->setStyleSheet("background: #000000");
}