mirror of https://github.com/bsnes-emu/bsnes.git
14 lines
305 B
C++
14 lines
305 B
C++
namespace phoenix {
|
|
|
|
Size pDesktop::size() {
|
|
QRect rect = QApplication::desktop()->screenGeometry();
|
|
return {rect.width(), rect.height()};
|
|
}
|
|
|
|
Geometry pDesktop::workspace() {
|
|
QRect rect = QApplication::desktop()->availableGeometry();
|
|
return {rect.x(), rect.y(), rect.width(), rect.height()};
|
|
}
|
|
|
|
}
|