mirror of https://github.com/bsnes-emu/bsnes.git
10 lines
238 B
C++
10 lines
238 B
C++
|
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");
|
||
|
}
|