mirror of
https://github.com/DerKoun/bsnes-hd.git
synced 2025-04-02 10:52:49 -04:00
17 lines
353 B
C++
17 lines
353 B
C++
#if defined(Hiro_Desktop)
|
|
|
|
namespace hiro {
|
|
|
|
auto pDesktop::size() -> Size {
|
|
QRect rect = QApplication::desktop()->screenGeometry();
|
|
return {rect.width(), rect.height()};
|
|
}
|
|
|
|
auto pDesktop::workspace() -> Geometry {
|
|
QRect rect = QApplication::desktop()->availableGeometry();
|
|
return {rect.x(), rect.y(), rect.width(), rect.height()};
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|