mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-07 07:09:53 +03:00
feat(ui): implement CSimpleFontString::Sub482AC0
This commit is contained in:
1 file changed
+9
-1
@@ -816,8 +816,16 @@ void CSimpleFontString::SetText(const char* text, int32_t a3) {
|
||||
this->ClearString();
|
||||
}
|
||||
|
||||
// Probably belongs on CLayoutFrame
|
||||
int32_t CSimpleFontString::Sub482AC0() {
|
||||
// TODO
|
||||
for (int32_t i = 0; i < FRAMEPOINT_NUMPOINTS; i++) {
|
||||
auto point = this->m_points[i];
|
||||
|
||||
if (point && !(point->m_flags & 0x8)) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user