mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-18 21:51:06 +03:00
feat(object): add CGUnit::GetNativeDisplayID
This commit is contained in:
parent
0f7f0207ee
commit
d253417233
@ -29,6 +29,10 @@ int32_t CGUnit::GetDisplayID() const {
|
||||
return this->Unit()->displayID;
|
||||
}
|
||||
|
||||
int32_t CGUnit::GetNativeDisplayID() const {
|
||||
return this->Unit()->nativeDisplayID;
|
||||
}
|
||||
|
||||
CGUnitData* CGUnit::Unit() const {
|
||||
return this->m_unit;
|
||||
}
|
||||
|
||||
@ -84,6 +84,7 @@ class CGUnit {
|
||||
|
||||
// Public member functions
|
||||
int32_t GetDisplayID() const;
|
||||
int32_t GetNativeDisplayID() const;
|
||||
|
||||
protected:
|
||||
// Protected member variables
|
||||
|
||||
Loading…
Reference in New Issue
Block a user