tpDisplayManage类
ExternUtils
2025-07-05
基础信息
头文件: | include <tpDisplayManage.h> |
---|---|
Cmake: | None |
发布版本: | V0.1.0 |
继承类: | |
派生类: |
Public 成员函数
tpDisplayManage() | ||
---|---|---|
~tpDisplayManage() | ||
const tpList< tpShared< tpDisplay > > & tpDisplayManage::getDeviceList | getDeviceList() const | 获取显示器列表 |
tpShared< tpDisplay > tpDisplayManage::getDevice | getDevice(const tpString &name) | 使用显示器名称来获取显示器 |
tpShared< tpDisplay > tpDisplayManage::getDevice | getDevice(tpInt32 num) | 使用编号来获取单个物理屏幕(显示器) |
getPhysicsHeight() | 获取逻辑屏幕高度(注意:逻辑屏幕不是物理屏幕) | |
getPhysicsWidth() | 获取逻辑屏幕宽度(注意:逻辑屏幕不是物理屏幕) | |
getResolutionHeight() | 获取逻辑屏幕分辨率高度(注意:逻辑屏幕不是物理屏幕) | |
getResolutionWidth() | 获取逻辑屏幕分辨率宽度(注意:逻辑屏幕不是物理屏幕) | |
getPiXWMPhysicsHeight() | 获取PiXWM物理高度 | |
getPiXWMPhysicsWidth() | 获获取PiXWM物理宽度 | |
correctMousePosition() | 重置鼠标指针位置,用于在修改分辨率使用,但是目前此函数存在问题 |
成员函数说明
tpDisplayManage::tpDisplayManage()
暂无注释...
tpDisplayManage::~tpDisplayManage()
暂无注释...
const tpList< tpShared< tpDisplay > > & tpDisplayManage::getDeviceList() const
点击查看...
获取显示器列表
返回值:
linebreak
tpShared< tpDisplay > tpDisplayManage::getDevice(const tpString &name)
点击查看...
使用显示器名称来获取显示器
返回值:
linebreak
tpShared< tpDisplay > tpDisplayManage::getDevice(tpInt32 num)
点击查看...
使用编号来获取单个物理屏幕(显示器)
返回值:
linebreak
tpInt32 tpDisplayManage::getPhysicsHeight()
点击查看...
获取逻辑屏幕高度(注意:逻辑屏幕不是物理屏幕)
返回值:
linebreak
tpInt32 tpDisplayManage::getPhysicsWidth()
点击查看...
获取逻辑屏幕宽度(注意:逻辑屏幕不是物理屏幕)
返回值:
linebreak
tpInt32 tpDisplayManage::getResolutionHeight()
点击查看...
获取逻辑屏幕分辨率高度(注意:逻辑屏幕不是物理屏幕)
返回值:
linebreak
tpInt32 tpDisplayManage::getResolutionWidth()
点击查看...
获取逻辑屏幕分辨率宽度(注意:逻辑屏幕不是物理屏幕)
返回值:
linebreak
tpInt32 tpDisplayManage::getPiXWMPhysicsHeight()
点击查看...
获取PiXWM物理高度
返回值:
linebreak
tpInt32 tpDisplayManage::getPiXWMPhysicsWidth()
点击查看...
获获取PiXWM物理宽度
返回值:
linebreak
tpInt32 tpDisplayManage::correctMousePosition()
点击查看...
重置鼠标指针位置,用于在修改分辨率使用,但是目前此函数存在问题
返回值:
linebreak