mirror of
https://github.com/whoahq/whoa.git
synced 2026-12-01 18:23:38 +03:00
feat(object): add CGUnit::GetNativeDisplayID
This commit is contained in:
2 files changed
+5
No files matched your search
@@ -29,6 +29,10 @@ int32_t CGUnit::GetDisplayID() const {
|
|||||||
return this->Unit()->displayID;
|
return this->Unit()->displayID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int32_t CGUnit::GetNativeDisplayID() const {
|
||||||
|
return this->Unit()->nativeDisplayID;
|
||||||
|
}
|
||||||
|
|
||||||
CGUnitData* CGUnit::Unit() const {
|
CGUnitData* CGUnit::Unit() const {
|
||||||
return this->m_unit;
|
return this->m_unit;
|
||||||
}
|
}
|
||||||
@@ -84,6 +84,7 @@ class CGUnit {
|
|||||||
|
|
||||||
// Public member functions
|
// Public member functions
|
||||||
int32_t GetDisplayID() const;
|
int32_t GetDisplayID() const;
|
||||||
|
int32_t GetNativeDisplayID() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Protected member variables
|
// Protected member variables
|
||||||
|
|||||||
Reference in new issue
Block a user